diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-11-15 11:24:14 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-11-15 22:43:03 +0100 |
commit | 66d39325d7f9a3ee3717e6afcd74ef34bc769008 (patch) | |
tree | 1d4dc8c6a13b34bcdd6b2c0254188732ed51acc2 | |
parent | 5538ecbac8eff8941d8099d3df3c2aaf9a99e92c (diff) | |
download | systemd-66d39325d7f9a3ee3717e6afcd74ef34bc769008.tar.gz |
filesystems: add three more file system types
devtmpfs and cpuset are not actual filesystems of their own. cpuset used
to be but is now an alias for cgroupsfs. devtmpfs is the same as tmpfs
as its just a "named superblock", i.e. a specific instance of tmpfs, but
not a file system of its own.
-rw-r--r-- | src/basic/filesystems-gperf.gperf | 3 | ||||
-rw-r--r-- | src/basic/missing_magic.h | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/basic/filesystems-gperf.gperf b/src/basic/filesystems-gperf.gperf index f31c9de192..fe302b7ebf 100644 --- a/src/basic/filesystems-gperf.gperf +++ b/src/basic/filesystems-gperf.gperf @@ -34,6 +34,7 @@ binfmt_misc, {BINFMTFS_MAGIC} bpf, {BPF_FS_MAGIC} btrfs, {BTRFS_SUPER_MAGIC} btrfs_test_fs, {BTRFS_TEST_MAGIC} +cpuset, {CGROUP_SUPER_MAGIC} ceph, {CEPH_SUPER_MAGIC} cgroup2, {CGROUP2_SUPER_MAGIC} cgroup, {CGROUP_SUPER_MAGIC} @@ -45,6 +46,7 @@ dax, {DAXFS_MAGIC} debugfs, {DEBUGFS_MAGIC} devmem, {DEVMEM_MAGIC} devpts, {DEVPTS_SUPER_MAGIC} +devtmpfs, {TMPFS_MAGIC} dmabuf, {DMA_BUF_MAGIC} ecryptfs, {ECRYPTFS_SUPER_MAGIC} efivarfs, {EFIVARFS_MAGIC} @@ -88,6 +90,7 @@ qnx6, {QNX6_SUPER_MAGIC} ramfs, {RAMFS_MAGIC} resctrl, {RDTGROUP_SUPER_MAGIC} reiserfs, {REISERFS_SUPER_MAGIC} +rpc_pipefs, {RPC_PIPEFS_SUPER_MAGIC} secretmem, {SECRETMEM_MAGIC} securityfs, {SECURITYFS_MAGIC} selinuxfs, {SELINUX_MAGIC} diff --git a/src/basic/missing_magic.h b/src/basic/missing_magic.h index 1f50e565a2..7b586971ae 100644 --- a/src/basic/missing_magic.h +++ b/src/basic/missing_magic.h @@ -172,3 +172,8 @@ #ifndef EXFAT_SUPER_MAGIC #define EXFAT_SUPER_MAGIC 0x2011BAB0UL #endif + +/* Not exposed yet, internally actually called RPCAUTH_GSSMAGIC. Defined in net/sunrpc/rpc_pipe.c */ +#ifndef RPC_PIPEFS_SUPER_MAGIC +#define RPC_PIPEFS_SUPER_MAGIC 0x67596969 +#endif |