]> 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)
committerKarel Zak <kzak@redhat.com>
Wed, 10 Feb 2021 09:12:58 +0000 (10:12 +0100)
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 92829ebb01f267fb70e92dc835ccf407d289f178..40f479fd1787c0fc99c9eabf3b1ee86deffbe8df 100644 (file)
@@ -333,7 +333,9 @@ int mnt_fstype_is_pseudofs(const char *type)
                "spufs",
                "sysfs",
                "tmpfs",
-               "tracefs"
+               "tracefs",
+               "vboxsf",
+               "virtiofs"
        };
 
        assert(type);