summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2016-11-26 16:10:53 +0000
committerPádraig Brady <P@draigBrady.com>2016-11-27 00:28:16 +0000
commit286a401bc5d98e36c23824270d3410cd6fa8bc13 (patch)
tree9f5b7f8b752674217b63ab5af03f4e61a681a50d
parent4535563318c9c82a9f41f73f97b948952c13c6d7 (diff)
downloadcoreutils-286a401bc5d98e36c23824270d3410cd6fa8bc13.tar.xz
stat,tail: sync with latest Linux file systems
Update with the results from: kgit='https://git.kernel.org/cgit/linux/kernel/git' wget -q $kgit/torvalds/linux.git/plain/include/uapi/linux/magic.h \ -O src/fs-latest-magic.h make src/fs-magic-compare * src/stat.c (human_fstype): Add entries for: BALLOON_KVM, CGROUP2, DAXFS, ZSMALLOC.
-rw-r--r--src/stat.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/stat.c b/src/stat.c
index a43eca4d2..fd385495b 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -264,6 +264,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
return "aufs";
case S_MAGIC_AUTOFS: /* 0x0187 local */
return "autofs";
+ case S_MAGIC_BALLOON_KVM: /* 0x13661366 local */
+ return "balloon-kvm-fs";
case S_MAGIC_BEFS: /* 0x42465331 local */
return "befs";
case S_MAGIC_BDEVFS: /* 0x62646576 local */
@@ -282,6 +284,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
return "ceph";
case S_MAGIC_CGROUP: /* 0x0027E0EB local */
return "cgroupfs";
+ case S_MAGIC_CGROUP2: /* 0x63677270 local */
+ return "cgroup2fs";
case S_MAGIC_CIFS: /* 0xFF534D42 remote */
return "cifs";
case S_MAGIC_CODA: /* 0x73757245 remote */
@@ -294,6 +298,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
return "cramfs";
case S_MAGIC_CRAMFS_WEND: /* 0x453DCD28 local */
return "cramfs-wend";
+ case S_MAGIC_DAXFS: /* 0x64646178 local */
+ return "daxfs";
case S_MAGIC_DEBUGFS: /* 0x64626720 local */
return "debugfs";
case S_MAGIC_DEVFS: /* 0x1373 local */
@@ -486,6 +492,9 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
return "xia";
case S_MAGIC_ZFS: /* 0x2FC12FC1 local */
return "zfs";
+ case S_MAGIC_ZSMALLOC: /* 0x58295829 local */
+ return "zsmallocfs";
+
# elif __GNU__
case FSTYPE_UFS: