From ee5f81ec6dcb77eaa3ce4009032611c71438e594 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 5 Jan 2023 17:34:32 -0800 Subject: [PATCH] portability.c: add newer (but common) file system types for `stat -f`. --- lib/portability.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/portability.c b/lib/portability.c index 4bec0bb4..a9f28154 100644 --- a/lib/portability.c +++ b/lib/portability.c @@ -563,7 +563,8 @@ char *fs_type_name(struct statfs *statfs) {0x3434, "nilfs"}, {0x6969, "nfs"}, {0x9fa0, "proc"}, {0x534F434B, "sockfs"}, {0x62656572, "sysfs"}, {0x517B, "smb"}, {0x4d44, "msdos"}, {0x4006, "fat"}, {0x43415d53, "smackfs"}, - {0x73717368, "squashfs"} + {0x73717368, "squashfs"}, {0xF2F52010, "f2fs"}, {0xE0F5E1E2, "erofs"}, + {0x2011BAB0, "exfat"}, }; int i; -- 2.39.2