mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
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:
1 parent
25725f9d41
commit
f5644c986c
2 files changed
+7
No files matched your search
@@ -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]
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user