summaryrefslogtreecommitdiff
path: root/src/stat.c
diff options
context:
space:
mode:
authorBernhard Voelker <mail@bernhard-voelker.de>2020-06-19 20:33:55 +0200
committerBernhard Voelker <mail@bernhard-voelker.de>2020-06-20 16:07:19 +0200
commitf5644c986ce39c6ca5fffbae30a2828b8ee56502 (patch)
treefb72ed27fe9a894ac9a0d33ccbaeb90752bdb919 /src/stat.c
parent25725f9d41735d176d73a757430739fb71c7d043 (diff)
downloadcoreutils-f5644c986ce39c6ca5fffbae30a2828b8ee56502.tar.gz
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
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 5012622c3..4e6c2aa86 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -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 */