diff options
author | Jim Meyering <meyering@redhat.com> | 2012-09-05 22:33:44 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-09-06 08:31:26 +0200 |
commit | 97b786a33d54ea6621e2cb9c48d56b7190a1eaf7 (patch) | |
tree | a76bd56633f64790df9900711050a5b51a232916 | |
parent | ccbd3f3b290cb1bbed6a91361389bb936446621c (diff) | |
download | coreutils-97b786a33d54ea6621e2cb9c48d56b7190a1eaf7.tar.xz |
tail,stat: add support for VZFS
* src/stat.c (human_fstype): Add a case: vzfs, 0x565A4653 (local).
Reported by Jens Rosenboom in http://bugs.gnu.org/12356
* NEWS (Improvement): Mention it.
-rw-r--r-- | NEWS | 8 | ||||
-rw-r--r-- | src/stat.c | 2 |
2 files changed, 6 insertions, 4 deletions
@@ -25,10 +25,10 @@ GNU coreutils NEWS -*- outline -*- ** Improvements - stat and tail work better with ZFS. stat -f --format=%T now reports the - file system type, "zfs", and tail -f now uses inotify for files on ZFS - file systems, rather than the default (for unknown file system types) - of polling. + stat and tail work better with ZFS and VZFS. stat -f --format=%T now + reports the file system type, and tail -f now uses inotify for files + on those file systems, rather than the default (for unknown file system + types) of issuing a warning and reverting to polling. * Noteworthy changes in release 8.19 (2012-08-20) [stable] diff --git a/src/stat.c b/src/stat.c index f75b7aff7..a9fb95165 100644 --- a/src/stat.c +++ b/src/stat.c @@ -415,6 +415,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) return "v9fs"; case S_MAGIC_VXFS: /* 0xA501FCF5 local */ return "vxfs"; + case S_MAGIC_VZFS: /* 0x565A4653 local */ + return "vzfs"; case S_MAGIC_XENFS: /* 0xABBA1974 local */ return "xenfs"; case S_MAGIC_XENIX: /* 0x012FF7B4 local */ |