stat,tail: add support for the VBOXSF file system

* src/stat.c (human_fstype): Add case for the 'vboxsf' file system type
which is used for VirtualBox Shared Folders mounted in VirtualBox guest
VMs.
* NEWS: Mention the Improvement.
Fixes https://bugs.gnu.org/41935
This commit is contained in:
Bernhard Voelker committed 2020-06-20 16:07:19 +02:00
1 parent 25725f9d41
commit f5644c986c
2 files changed
+7

No files matched your search

+5
View File
@@ -26,6 +26,11 @@ GNU coreutils NEWS -*- outline -*-
ls --classify now supports the "always", "auto", or "never" flags,
to support only outputting classifier characters if connected to a tty.
** Improvements
stat and tail now know about the "vboxsf" file system type.
stat -f -c%T now reports the file system type, and tail -f uses polling.
* Noteworthy changes in release 8.32 (2020-03-05) [stable]
+2
View File
@@ -527,6 +527,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
return "usbdevfs";
case S_MAGIC_V9FS: /* 0x01021997 local */
return "v9fs";
case S_MAGIC_VBOXSF: /* 0x786F4256 remote */
return "vboxsf";
case S_MAGIC_VMHGFS: /* 0xBACBACBC remote */
return "vmhgfs";
case S_MAGIC_VXFS: /* 0xA501FCF5 remote */