summaryrefslogtreecommitdiff
path: root/src/stat.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-09-19 21:52:05 +0200
committerJim Meyering <meyering@redhat.com>2012-09-23 09:17:46 +0200
commit2dad87f6415ec68564e934ace33496db1abc68c7 (patch)
tree59210e75f5592f21407d8206345d9e34ef41ce5e /src/stat.c
parent958bef88f9a0471544d2ff4826e7e6d0483e9b1b (diff)
downloadcoreutils-2dad87f6415ec68564e934ace33496db1abc68c7.tar.xz
tail,stat: improve support for vmhgfs
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.
Diffstat (limited to 'src/stat.c')
-rw-r--r--src/stat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stat.c b/src/stat.c
index a9fb95165..51f4b9067 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -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 */