From: Lennart Poettering Date: Mon, 15 Nov 2021 10:24:14 +0000 (+0100) Subject: filesystems: add three more file system types X-Git-Tag: v250-rc1~247^2~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=66d39325d7f9a3ee3717e6afcd74ef34bc769008;p=thirdparty%2Fsystemd.git 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. --- diff --git a/src/basic/filesystems-gperf.gperf b/src/basic/filesystems-gperf.gperf index f31c9de192e..fe302b7ebfd 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 1f50e565a22..7b586971ae1 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