fix(insights): add more linux fs types

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan 2024-12-27 12:08:52 -05:00
parent 51eed74a0e
commit 1eedee9086

View file

@ -44,15 +44,21 @@ var fsTypeMap = map[int64]string{
0x5346414f: "afs", 0x5346414f: "afs",
0x61756673: "aufs", 0x61756673: "aufs",
0x9123683E: "btrfs", 0x9123683E: "btrfs",
0xc36400: "ceph",
0xff534d42: "cifs",
0x28cd3d45: "cramfs", 0x28cd3d45: "cramfs",
0x64626720: "debugfs", 0x64626720: "debugfs",
0xf15f: "ecryptfs",
0x2011bab0: "exfat",
0x0000EF53: "ext2/ext3/ext4", 0x0000EF53: "ext2/ext3/ext4",
0xf2f52010: "f2fs",
0x6a656a63: "fakeowner", // FS inside a container 0x6a656a63: "fakeowner", // FS inside a container
0x65735546: "fuse", 0x65735546: "fuse",
0x4244: "hfs", 0x4244: "hfs",
0x9660: "iso9660", 0x9660: "iso9660",
0x3153464a: "jfs", 0x3153464a: "jfs",
0x00006969: "nfs", 0x00006969: "nfs",
0x7366746e: "ntfs",
0x794c7630: "overlayfs", 0x794c7630: "overlayfs",
0x9fa0: "proc", 0x9fa0: "proc",
0x517b: "smb", 0x517b: "smb",
@ -61,6 +67,7 @@ var fsTypeMap = map[int64]string{
0x62656572: "sysfs", 0x62656572: "sysfs",
0x01021994: "tmpfs", 0x01021994: "tmpfs",
0x01021997: "v9fs", 0x01021997: "v9fs",
0x786f4256: "vboxsf",
0x4d44: "vfat", 0x4d44: "vfat",
0x58465342: "xfs", 0x58465342: "xfs",
0x2FC12FC1: "zfs", 0x2FC12FC1: "zfs",