diff options
author | Jim Meyering <meyering@redhat.com> | 2012-08-29 09:32:49 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-08-29 09:42:33 +0200 |
commit | c9888e0debce29c6a0f7134bbc6d0ffd3f196bc5 (patch) | |
tree | 6755863007f7ef8632e278258f08494d1958f89b /src | |
parent | 58afeebe08ce400756a3f7554a207d7393a44a90 (diff) | |
download | coreutils-c9888e0debce29c6a0f7134bbc6d0ffd3f196bc5.tar.xz |
tail,stat: improve support for ZFS
This change enables tail -f to use inotify and lets
stat -f --format=%T report the file system type name, "zfs".
* src/stat.c (human_fstype): Add a case: zfs, 0x2fc12fc1.
* NEWS (Improvements): Mention it.
* THANKS.in: Update.
Reported by Raimonds Miltins in http://bugs.gnu.org/12301.
Diffstat (limited to 'src')
-rw-r--r-- | src/stat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stat.c b/src/stat.c index e56f1ffbc..f75b7aff7 100644 --- a/src/stat.c +++ b/src/stat.c @@ -423,6 +423,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) return "xfs"; case S_MAGIC_XIAFS: /* 0x012FD16D local */ return "xia"; + case S_MAGIC_ZFS: /* 0x2FC12FC1 local */ + return "zfs"; # elif __GNU__ case FSTYPE_UFS: |