]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: add vboxsf, virtiofs to pseudo filesystems
authorShahid Laher <govellius@gmail.com>
Wed, 20 Jan 2021 18:04:33 +0000 (18:04 +0000)
committerShahid Laher <govellius@gmail.com>
Wed, 20 Jan 2021 18:04:33 +0000 (18:04 +0000)
Filesystems provided by a hypervisor for guest kernels:
* vboxsf: Linux 5.6
* virtiofs: Linux 5.4

Signed-off-by: Shahid Laher <govellius@gmail.com>
libmount/src/utils.c

index 40b45f11d8a92060f2706dd2fc64daaf75e3cd9b..aed2afb81fb18a6428f15651f73954bdc701c4bc 100644 (file)
@@ -332,7 +332,9 @@ int mnt_fstype_is_pseudofs(const char *type)
                "spufs",
                "sysfs",
                "tmpfs",
-               "tracefs"
+               "tracefs",
+               "vboxsf",
+               "virtiofs"
        };
 
        assert(type);