From 0aeead5c03e9e57223f3aba01de8b74e7842fda8 Mon Sep 17 00:00:00 2001 From: Eugene Syromyatnikov Date: Mon, 26 Aug 2019 10:53:14 +0200 Subject: [PATCH] xlat: normalise fsmagic formatting For historical reasons, it was this way as there was no support for explicitly defined xlat values, which is no longer the case. The following command was used: sed -ri \ -e 's/^\{ ([^]*),[[:space:]]*"([^"]*)"([[:space:]]*)\},$/\2\3\1/' \ -e 's/^([^\t]{14,15}\t)/\1\t/' \ xlat/fsmagic.in * xlat/fsmagic.in: Normalise the formatting. --- xlat/fsmagic.in | 210 ++++++++++++++++++++++++------------------------ 1 file changed, 105 insertions(+), 105 deletions(-) diff --git a/xlat/fsmagic.in b/xlat/fsmagic.in index 3ff154dc..f9c4cd21 100644 --- a/xlat/fsmagic.in +++ b/xlat/fsmagic.in @@ -1,106 +1,106 @@ #sorted sort -k2,2 -{ 0x0000002f, "QNX4_SUPER_MAGIC" }, -{ 0x00000033, "Z3FOLD_MAGIC" }, -{ 0x00000187, "AUTOFS_SUPER_MAGIC" }, -{ 0x00001373, "DEVFS_SUPER_MAGIC" }, -{ 0x0000137d, "EXT_SUPER_MAGIC" }, -{ 0x0000137f, "MINIX_SUPER_MAGIC" }, -{ 0x0000138f, "MINIX_SUPER_MAGIC2" }, -{ 0x00001cd1, "DEVPTS_SUPER_MAGIC" }, -{ 0x00002468, "MINIX2_SUPER_MAGIC" }, -{ 0x00002478, "MINIX2_SUPER_MAGIC2" }, -{ 0x00003434, "NILFS_SUPER_MAGIC" }, -{ 0x00004244, "HFS_SUPER_MAGIC" }, -{ 0x0000482b, "HFSPLUS_SUPER_MAGIC" }, -{ 0x00004d44, "MSDOS_SUPER_MAGIC" }, -{ 0x00004d5a, "MINIX3_SUPER_MAGIC" }, -{ 0x0000517b, "SMB_SUPER_MAGIC" }, -{ 0x0000564c, "NCP_SUPER_MAGIC" }, -{ 0x00005df5, "EXOFS_SUPER_MAGIC" }, -{ 0x00006969, "NFS_SUPER_MAGIC" }, -{ 0x00007275, "ROMFS_MAGIC" }, -{ 0x000072b6, "JFFS2_SUPER_MAGIC" }, -{ 0x00009660, "ISOFS_SUPER_MAGIC" }, -{ 0x00009fa0, "PROC_SUPER_MAGIC" }, -{ 0x00009fa1, "OPENPROM_SUPER_MAGIC" }, -{ 0x00009fa2, "USBDEVICE_SUPER_MAGIC" }, -{ 0x0000adf5, "ADFS_SUPER_MAGIC" }, -{ 0x0000adff, "AFFS_SUPER_MAGIC" }, -{ 0x0000ef51, "EXT2_OLD_SUPER_MAGIC" }, -{ 0x0000ef53, "EXT2_SUPER_MAGIC" }, -{ 0x0000f15f, "ECRYPTFS_SUPER_MAGIC" }, -{ 0x00011954, "UFS_MAGIC" }, -{ 0x0027e0eb, "CGROUP_SUPER_MAGIC" }, -{ 0x00414a53, "EFS_SUPER_MAGIC" }, -{ 0x00c0ffee, "HOSTFS_SUPER_MAGIC" }, -{ 0x00c36400, "CEPH_SUPER_MAGIC" }, -{ 0x01021994, "TMPFS_MAGIC" }, -{ 0x01021997, "V9FS_MAGIC" }, -{ 0x01161970, "GFS2_MAGIC" }, -{ 0x012fd16d, "XIAFS_SUPER_MAGIC" }, -{ 0x012ff7b4, "XENIX_SUPER_MAGIC" }, -{ 0x012ff7b5, "SYSV4_SUPER_MAGIC" }, -{ 0x012ff7b6, "SYSV2_SUPER_MAGIC" }, -{ 0x012ff7b7, "COH_SUPER_MAGIC" }, -{ 0x02011994, "SHMFS_SUPER_MAGIC" }, -{ 0x09041934, "ANON_INODE_FS_MAGIC" }, -{ 0x0bad1dea, "FUTEXFS_SUPER_MAGIC" }, -{ 0x11307854, "MTD_INODE_FS_MAGIC" }, -{ 0x13661366, "BALLOON_KVM_MAGIC" }, -{ 0x15013346, "UDF_SUPER_MAGIC" }, -{ 0x1badface, "BFS_MAGIC" }, -{ 0x24051905, "UBIFS_SUPER_MAGIC" }, -{ 0x28cd3d45, "CRAMFS_MAGIC" }, -{ 0x2fc12fc1, "ZFS_SUPER_MAGIC" }, -{ 0x3153464a, "JFS_SUPER_MAGIC" }, -{ 0x42465331, "BEFS_SUPER_MAGIC" }, -{ 0x42494e4d, "BINFMTFS_MAGIC" }, -{ 0x43415d53, "SMACK_MAGIC" }, -{ 0x444d4142, "DMA_BUF_MAGIC" }, -{ 0x453dcd28, "CRAMFS_MAGIC_WEND" }, -{ 0x47504653, "GPFS_SUPER_MAGIC" }, -{ 0x50495045, "PIPEFS_MAGIC" }, -{ 0x52654973, "REISERFS_SUPER_MAGIC" }, -{ 0x5346414f, "AFS_SUPER_MAGIC" }, -{ 0x5346544e, "NTFS_SB_MAGIC" }, -{ 0x534f434b, "SOCKFS_MAGIC" }, -{ 0x54190100, "UFS_CIGAM" }, -{ 0x565a4653, "VZFS_SUPER_MAGIC" }, -{ 0x57ac6e9d, "STACK_END_MAGIC" }, -{ 0x58295829, "ZSMALLOC_MAGIC" }, -{ 0x58465342, "XFS_SB_MAGIC" }, -{ 0x5a3c69f0, "AAFS_MAGIC" }, -{ 0x6165676c, "PSTOREFS_MAGIC" }, -{ 0x61756673, "AUFS_SUPER_MAGIC" }, -{ 0x62646576, "BDEVFS_MAGIC" }, -{ 0x62656570, "CONFIGFS_MAGIC" }, -{ 0x62656572, "SYSFS_MAGIC" }, -{ 0x63677270, "CGROUP2_SUPER_MAGIC" }, -{ 0x64626720, "DEBUGFS_MAGIC" }, -{ 0x64646178, "DAXFS_MAGIC" }, -{ 0x65735543, "FUSE_CTL_SUPER_MAGIC" }, -{ 0x65735546, "FUSE_SUPER_MAGIC" }, -{ 0x68191122, "QNX6_SUPER_MAGIC" }, -{ 0x6b414653, "AFS_FS_MAGIC" }, -{ 0x6c6f6f70, "BINDERFS_SUPER_MAGIC" }, -{ 0x6e736673, "NSFS_MAGIC" }, -{ 0x73636673, "SECURITYFS_MAGIC" }, -{ 0x73717368, "SQUASHFS_MAGIC" }, -{ 0x73727279, "BTRFS_TEST_MAGIC" }, -{ 0x73757245, "CODA_SUPER_MAGIC" }, -{ 0x7461636f, "OCFS2_SUPER_MAGIC" }, -{ 0x74726163, "TRACEFS_MAGIC" }, -{ 0x794c7630, "OVERLAYFS_SUPER_MAGIC" }, -{ 0x858458f6, "RAMFS_MAGIC" }, -{ 0x9123683e, "BTRFS_SUPER_MAGIC" }, -{ 0x958458f6, "HUGETLBFS_MAGIC" }, -{ 0xa501fcf5, "VXFS_SUPER_MAGIC" }, -{ 0xabba1974, "XENFS_SUPER_MAGIC" }, -{ 0xc97e8168, "LOGFS_MAGIC" }, -{ 0xcafe4a11, "BPF_FS_MAGIC" }, -{ 0xde5e81e4, "EFIVARFS_MAGIC" }, -{ 0xf2f52010, "F2FS_SUPER_MAGIC" }, -{ 0xf97cff8c, "SELINUX_MAGIC" }, -{ 0xf995e849, "HPFS_SUPER_MAGIC" }, -{ 0xfe534d42, "SMB2_MAGIC_NUMBER" }, -{ 0xff534d42, "CIFS_MAGIC_NUMBER" }, +QNX4_SUPER_MAGIC 0x0000002f +Z3FOLD_MAGIC 0x00000033 +AUTOFS_SUPER_MAGIC 0x00000187 +DEVFS_SUPER_MAGIC 0x00001373 +EXT_SUPER_MAGIC 0x0000137d +MINIX_SUPER_MAGIC 0x0000137f +MINIX_SUPER_MAGIC2 0x0000138f +DEVPTS_SUPER_MAGIC 0x00001cd1 +MINIX2_SUPER_MAGIC 0x00002468 +MINIX2_SUPER_MAGIC2 0x00002478 +NILFS_SUPER_MAGIC 0x00003434 +HFS_SUPER_MAGIC 0x00004244 +HFSPLUS_SUPER_MAGIC 0x0000482b +MSDOS_SUPER_MAGIC 0x00004d44 +MINIX3_SUPER_MAGIC 0x00004d5a +SMB_SUPER_MAGIC 0x0000517b +NCP_SUPER_MAGIC 0x0000564c +EXOFS_SUPER_MAGIC 0x00005df5 +NFS_SUPER_MAGIC 0x00006969 +ROMFS_MAGIC 0x00007275 +JFFS2_SUPER_MAGIC 0x000072b6 +ISOFS_SUPER_MAGIC 0x00009660 +PROC_SUPER_MAGIC 0x00009fa0 +OPENPROM_SUPER_MAGIC 0x00009fa1 +USBDEVICE_SUPER_MAGIC 0x00009fa2 +ADFS_SUPER_MAGIC 0x0000adf5 +AFFS_SUPER_MAGIC 0x0000adff +EXT2_OLD_SUPER_MAGIC 0x0000ef51 +EXT2_SUPER_MAGIC 0x0000ef53 +ECRYPTFS_SUPER_MAGIC 0x0000f15f +UFS_MAGIC 0x00011954 +CGROUP_SUPER_MAGIC 0x0027e0eb +EFS_SUPER_MAGIC 0x00414a53 +HOSTFS_SUPER_MAGIC 0x00c0ffee +CEPH_SUPER_MAGIC 0x00c36400 +TMPFS_MAGIC 0x01021994 +V9FS_MAGIC 0x01021997 +GFS2_MAGIC 0x01161970 +XIAFS_SUPER_MAGIC 0x012fd16d +XENIX_SUPER_MAGIC 0x012ff7b4 +SYSV4_SUPER_MAGIC 0x012ff7b5 +SYSV2_SUPER_MAGIC 0x012ff7b6 +COH_SUPER_MAGIC 0x012ff7b7 +SHMFS_SUPER_MAGIC 0x02011994 +ANON_INODE_FS_MAGIC 0x09041934 +FUTEXFS_SUPER_MAGIC 0x0bad1dea +MTD_INODE_FS_MAGIC 0x11307854 +BALLOON_KVM_MAGIC 0x13661366 +UDF_SUPER_MAGIC 0x15013346 +BFS_MAGIC 0x1badface +UBIFS_SUPER_MAGIC 0x24051905 +CRAMFS_MAGIC 0x28cd3d45 +ZFS_SUPER_MAGIC 0x2fc12fc1 +JFS_SUPER_MAGIC 0x3153464a +BEFS_SUPER_MAGIC 0x42465331 +BINFMTFS_MAGIC 0x42494e4d +SMACK_MAGIC 0x43415d53 +DMA_BUF_MAGIC 0x444d4142 +CRAMFS_MAGIC_WEND 0x453dcd28 +GPFS_SUPER_MAGIC 0x47504653 +PIPEFS_MAGIC 0x50495045 +REISERFS_SUPER_MAGIC 0x52654973 +AFS_SUPER_MAGIC 0x5346414f +NTFS_SB_MAGIC 0x5346544e +SOCKFS_MAGIC 0x534f434b +UFS_CIGAM 0x54190100 +VZFS_SUPER_MAGIC 0x565a4653 +STACK_END_MAGIC 0x57ac6e9d +ZSMALLOC_MAGIC 0x58295829 +XFS_SB_MAGIC 0x58465342 +AAFS_MAGIC 0x5a3c69f0 +PSTOREFS_MAGIC 0x6165676c +AUFS_SUPER_MAGIC 0x61756673 +BDEVFS_MAGIC 0x62646576 +CONFIGFS_MAGIC 0x62656570 +SYSFS_MAGIC 0x62656572 +CGROUP2_SUPER_MAGIC 0x63677270 +DEBUGFS_MAGIC 0x64626720 +DAXFS_MAGIC 0x64646178 +FUSE_CTL_SUPER_MAGIC 0x65735543 +FUSE_SUPER_MAGIC 0x65735546 +QNX6_SUPER_MAGIC 0x68191122 +AFS_FS_MAGIC 0x6b414653 +BINDERFS_SUPER_MAGIC 0x6c6f6f70 +NSFS_MAGIC 0x6e736673 +SECURITYFS_MAGIC 0x73636673 +SQUASHFS_MAGIC 0x73717368 +BTRFS_TEST_MAGIC 0x73727279 +CODA_SUPER_MAGIC 0x73757245 +OCFS2_SUPER_MAGIC 0x7461636f +TRACEFS_MAGIC 0x74726163 +OVERLAYFS_SUPER_MAGIC 0x794c7630 +RAMFS_MAGIC 0x858458f6 +BTRFS_SUPER_MAGIC 0x9123683e +HUGETLBFS_MAGIC 0x958458f6 +VXFS_SUPER_MAGIC 0xa501fcf5 +XENFS_SUPER_MAGIC 0xabba1974 +LOGFS_MAGIC 0xc97e8168 +BPF_FS_MAGIC 0xcafe4a11 +EFIVARFS_MAGIC 0xde5e81e4 +F2FS_SUPER_MAGIC 0xf2f52010 +SELINUX_MAGIC 0xf97cff8c +HPFS_SUPER_MAGIC 0xf995e849 +SMB2_MAGIC_NUMBER 0xfe534d42 +CIFS_MAGIC_NUMBER 0xff534d42 -- 2.40.0