diff options
-rw-r--r-- | include/statfs_magic.h | 1 | ||||
-rw-r--r-- | libmount/src/utils.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/statfs_magic.h b/include/statfs_magic.h index 7397a4e5d..7adce8af1 100644 --- a/include/statfs_magic.h +++ b/include/statfs_magic.h @@ -30,6 +30,7 @@ #define STATFS_BTRFS_MAGIC 0x9123683E #define STATFS_CEPH_MAGIC 0x00c36400 #define STATFS_CGROUP_MAGIC 0x27e0eb +#define STATFS_CGROUP2_MAGIC 0x63677270 #define STATFS_CIFS_MAGIC 0xff534d42 #define STATFS_CODA_MAGIC 0x73757245 #define STATFS_CONFIGFS_MAGIC 0x62656570 diff --git a/libmount/src/utils.c b/libmount/src/utils.c index 2bfca28d4..6c9217ee9 100644 --- a/libmount/src/utils.c +++ b/libmount/src/utils.c @@ -257,6 +257,7 @@ int mnt_fstype_is_pseudofs(const char *type) "bdev", "binfmt_misc", "cgroup", + "cgroup2", "configfs", "cpuset", "debugfs", |