]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tail,stat: add support for VZFS
authorJim Meyering <meyering@redhat.com>
Wed, 5 Sep 2012 20:33:44 +0000 (22:33 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 6 Sep 2012 06:31:26 +0000 (08:31 +0200)
* 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.

NEWS
src/stat.c

diff --git a/NEWS b/NEWS
index a848ffed704bcb5372c942ad8edc7924b7ca8460..63fa042a33d28aeb760a29b7eb3cf0578a9d3743 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -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]
index f75b7aff7f6170d58f810a4176a9bcfd21c8ec5e..a9fb95165f4f2a331202a1027e6078d64d4d479f 100644 (file)
@@ -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 */