]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tail,stat: improve support for vmhgfs
authorJim Meyering <meyering@redhat.com>
Wed, 19 Sep 2012 19:52:05 +0000 (21:52 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 23 Sep 2012 07:17:46 +0000 (09:17 +0200)
Teach tail -f that it must use polling on vmhgfs file systems, and
let stat -f --format=%T report the file system type name, "vmhgfs".
* src/stat.c (human_fstype): Add a case: vmhgfs, 0xbacbacbc, remote.
* NEWS (Improvements): Mention it.
* THANKS.in: Update.
Reported by Daniel Tschinder in http://bugs.gnu.org/12461.

NEWS
THANKS.in
src/stat.c

diff --git a/NEWS b/NEWS
index 59a8510100faa85d404d96610a262a9ed863d493..9bd5d58aa371874c8c23cbfda0fed31fefecbc76 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -49,10 +49,11 @@ GNU coreutils NEWS                                    -*- outline -*-
   but only with non-negative whole numbers, an increment of 1, and no
   format-changing options.
 
-  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.
+  stat and tail know about ZFS, VZFS and VMHGFS.  stat -f --format=%T now
+  reports the file system type, and tail -f now uses inotify for files on
+  ZFS and VZFS file systems, rather than the default (for unknown file
+  system types) of issuing a warning and reverting to polling.  tail -f
+  still uses polling for files on VMHGFS file systems.
 
 ** Build-related
 
index b0061b3dda694924b109a30cbb55d86016b94258..0f06aa09aa7052a418093343bd1e7a37a0aa8ecf 100644 (file)
--- a/THANKS.in
+++ b/THANKS.in
@@ -139,6 +139,7 @@ Dan Pascu                           dan@services.iiruc.ro
 Daniel Bergstrom                    noa@melody.se
 Daniel P. BerrangĂ©                  berrange@redhat.com
 Daniel Stavrovski                   d@stavrovski.net
+Daniel Tschinder                    daniel.tschinder@project-a.com
 Dániel Varga                        danielv@axelero.hu
 Danny Levinson                      danny.levinson@overture.com
 Darrel Francis                      d.francis@cheerful.com
index a9fb95165f4f2a331202a1027e6078d64d4d479f..51f4b90679e42e233870e389bd30b97da5ad205f 100644 (file)
@@ -413,6 +413,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
       return "usbdevfs";
     case S_MAGIC_V9FS: /* 0x01021997 local */
       return "v9fs";
+    case S_MAGIC_VMHGFS: /* 0xBACBACBC remote */
+      return "vmhgfs";
     case S_MAGIC_VXFS: /* 0xA501FCF5 local */
       return "vxfs";
     case S_MAGIC_VZFS: /* 0x565A4653 local */