]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - libmount/src/utils.c
Add to the list of pseudo-filesystem types
[thirdparty/util-linux.git] / libmount / src / utils.c
index 606830797b5bb59d6842cc9da453790ab033e46b..6be7a72c0a6cd01600581ccb169da9e9de0b95d5 100644 (file)
@@ -281,8 +281,10 @@ int mnt_fstype_is_pseudofs(const char *type)
        /* This array must remain sorted when adding new fstypes */
        static const char *pseudofs[] = {
                "anon_inodefs",
+               "apparmorfs",
                "autofs",
                "bdev",
+               "binder",
                "binfmt_misc",
                "bpf",
                "cgroup",
@@ -294,6 +296,8 @@ int mnt_fstype_is_pseudofs(const char *type)
                "devpts",
                "devtmpfs",
                "dlmfs",
+               "dmabuf",
+               "drm",
                "efivarfs",
                "fuse", /* Fallback name of fuse used by many poorly written drivers. */
                "fuse.archivemount", /* Not a true pseudofs (has source), but source is not reported. */
@@ -308,6 +312,7 @@ int mnt_fstype_is_pseudofs(const char *type)
                "fuse.xwmfs",
                "fusectl",
                "hugetlbfs",
+               "ipathfs",
                "mqueue",
                "nfsd",
                "none",
@@ -317,14 +322,17 @@ int mnt_fstype_is_pseudofs(const char *type)
                "proc",
                "pstore",
                "ramfs",
+               "resctrl",
                "rootfs",
                "rpc_pipefs",
                "securityfs",
                "selinuxfs",
+               "smackfs",
                "sockfs",
                "spufs",
                "sysfs",
-               "tmpfs"
+               "tmpfs",
+               "tracefs"
        };
 
        assert(type);