From 0887e44090636f3e68a684ed62ac9f55d2fa2f19 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Thu, 27 Jun 2024 10:48:50 +0200 Subject: [PATCH] tests: ext: use different output files to compare to instead of trying to patch the output Signed-off-by: Michael Olbrich --- Makefile.am | 7 +++ test/ext.test | 38 ++++++++++++----- test/ext2test-percent.2.dump | 42 ++++++++++++++++++ test/ext2test.2.dump | 42 ++++++++++++++++++ test/ext3test.0.dump | 6 +-- test/ext3test.2.dump | 52 ++++++++++++++++++++++ test/ext4test.0.dump | 6 +-- test/ext4test.2.dump | 53 +++++++++++++++++++++++ test/mke2fs.0.dump | 6 +-- test/mke2fs.1.dump | 83 ++++++++++++++++++++++++++++++++++++ test/mke2fs.2.dump | 83 ++++++++++++++++++++++++++++++++++++ test/mke2fs.3.dump | 83 ++++++++++++++++++++++++++++++++++++ 12 files changed, 478 insertions(+), 23 deletions(-) create mode 100644 test/ext2test-percent.2.dump create mode 100644 test/ext2test.2.dump create mode 100644 test/ext3test.2.dump create mode 100644 test/ext4test.2.dump create mode 100644 test/mke2fs.1.dump create mode 100644 test/mke2fs.2.dump create mode 100644 test/mke2fs.3.dump diff --git a/Makefile.am b/Makefile.am index d4c4180..8f70190 100644 --- a/Makefile.am +++ b/Makefile.am @@ -60,15 +60,19 @@ EXTRA_DIST += \ test/ext2.config \ test/ext2test.0.dump \ test/ext2test.1.dump \ + test/ext2test.2.dump \ test/ext2percent.config \ test/ext2test-percent.0.dump \ test/ext2test-percent.1.dump \ + test/ext2test-percent.2.dump \ test/ext3.config \ test/ext3test.0.dump \ test/ext3test.1.dump \ + test/ext3test.2.dump \ test/ext4.config \ test/ext4test.0.dump \ test/ext4test.1.dump \ + test/ext4test.2.dump \ test/f2fs.config \ test/fip.config \ test/fit.its \ @@ -126,6 +130,9 @@ EXTRA_DIST += \ test/mke2fs.conf \ test/mke2fs.config \ test/mke2fs.0.dump \ + test/mke2fs.1.dump \ + test/mke2fs.2.dump \ + test/mke2fs.3.dump \ test/qemu.config \ test/qemu.qcow.gz \ test/rauc-openssl-ca/ca.cert.pem \ diff --git a/test/ext.test b/test/ext.test index 4da9104..876107d 100755 --- a/test/ext.test +++ b/test/ext.test @@ -23,6 +23,11 @@ compare_label() { fi } +version_leq() { + first="$(printf "${1}\n${2}" | sort -V | head -n1)" + test "${first}" == "${1}" +} + check_ext() { [ "$verbose" = "t" ] && set -x # UUID is randomly generated @@ -36,24 +41,35 @@ check_ext() { dumpe2fs "${1}" | grep -v "^\($uuid\|$seed\|$csum1\|$csum2\)" > "dump" && # some architectures (including arm64) use unsigned char sed -i 's/un\(signed_directory_hash\)/\1/' "dump" && - # fixup for ext3 journal size with old tune2fs - sed -i 's/^\(Journal size: \)1029k$/\11024k/' "dump" && - # output format changed with some version - sed -i 's/^\( Block bitmap at .*\),\( Inode bitmap.*\)$/\1\n \2/' "dump" && - # convert to latest dump2fs output - sed -i -e 's/^J\(ournal size:\) /Total j\1/' \ - -e 's/^Journal length: \( *\)\(.*\)$/Total journal blocks:\1\2\nMax transaction length: \2\nFast commit length: 0/' \ - -e '/^Overhead clusters:/d' \ - "dump" && if [ "${4}" = "genext2fs" ]; then if [ "$(genext2fs --version)" = "genext2fs 1.4.1" ]; then version=0 else - version=1 + dumpe2fs_version="$(dumpe2fs -V |& sed -n 's/^dumpe2fs \([^ ]*\) .*/\1/p')" + if version_leq "${dumpe2fs_version}" "1.46.2"; then + # Debian Bullseye + version=1 + else + version=2 + fi fi else - version=0 + mke2fs_version="$(mke2fs -V |& sed -n 's/^mke2fs \([^ ]*\) .*/\1/p')" + if version_leq "${mke2fs_version}" "1.45.5"; then + # Ubuntu 20.04 + version=0 + elif version_leq "${mke2fs_version}" "1.46.5"; then + # Ubuntu 22.04 + version=1 + elif version_leq "${mke2fs_version}" "1.47.0"; then + # Ubuntu 24.04 + version=2 + else + # at least 1.47.0 + version=3 + fi fi + export TEST_CMP="diff --ignore-space-change -u" && test_cmp "${testdir}/${2}.${version}.dump" "dump" && e2fsck -nf "${1}" && # old versions of debugfs cannot dump '/' diff --git a/test/ext2test-percent.2.dump b/test/ext2test-percent.2.dump new file mode 100644 index 0000000..f24ed64 --- /dev/null +++ b/test/ext2test-percent.2.dump @@ -0,0 +1,42 @@ +Filesystem volume name: ext2test +Last mounted on: +Filesystem magic number: 0xEF53 +Filesystem revision #: 1 (dynamic) +Filesystem features: (none) +Default mount options: (none) +Filesystem state: clean +Errors behavior: Unknown (continue) +Filesystem OS type: Linux +Inode count: 56 +Block count: 68 +Reserved block count: 3 +Free blocks: 22 +Free inodes: 5 +First block: 1 +Block size: 1024 +Fragment size: 1024 +Blocks per group: 72 +Fragments per group: 72 +Inodes per group: 56 +Inode blocks per group: 7 +Filesystem created: Sat Jan 1 00:00:00 2000 +Last mount time: n/a +Last write time: Sat Jan 1 00:00:00 2000 +Mount count: 0 +Maximum mount count: 20 +Last checked: Sat Jan 1 00:00:00 2000 +Check interval: 0 () +Reserved blocks uid: 0 (user root) +Reserved blocks gid: 0 (group root) +First inode: 11 +Inode size: 128 + + +Group 0: (Blocks 1-67) + Primary superblock at 1, Group descriptors at 2-2 + Block bitmap at 3 (+2) + Inode bitmap at 4 (+3) + Inode table at 5-11 (+4) + 22 free blocks, 5 free inodes, 18 directories + Free blocks: 46-67 + Free inodes: 52-56 diff --git a/test/ext2test.2.dump b/test/ext2test.2.dump new file mode 100644 index 0000000..2fd1a92 --- /dev/null +++ b/test/ext2test.2.dump @@ -0,0 +1,42 @@ +Filesystem volume name: ext2test +Last mounted on: +Filesystem magic number: 0xEF53 +Filesystem revision #: 1 (dynamic) +Filesystem features: (none) +Default mount options: (none) +Filesystem state: clean +Errors behavior: Unknown (continue) +Filesystem OS type: Linux +Inode count: 256 +Block count: 4096 +Reserved block count: 204 +Free blocks: 4025 +Free inodes: 205 +First block: 1 +Block size: 1024 +Fragment size: 1024 +Blocks per group: 4096 +Fragments per group: 4096 +Inodes per group: 256 +Inode blocks per group: 32 +Filesystem created: Sat Jan 1 00:00:00 2000 +Last mount time: n/a +Last write time: Sat Jan 1 00:00:00 2000 +Mount count: 0 +Maximum mount count: 20 +Last checked: Sat Jan 1 00:00:00 2000 +Check interval: 0 () +Reserved blocks uid: 0 (user root) +Reserved blocks gid: 0 (group root) +First inode: 11 +Inode size: 128 + + +Group 0: (Blocks 1-4095) + Primary superblock at 1, Group descriptors at 2-2 + Block bitmap at 3 (+2) + Inode bitmap at 4 (+3) + Inode table at 5-36 (+4) + 4025 free blocks, 205 free inodes, 18 directories + Free blocks: 71-4095 + Free inodes: 52-256 diff --git a/test/ext3test.0.dump b/test/ext3test.0.dump index 0c454d8..ec7ef07 100644 --- a/test/ext3test.0.dump +++ b/test/ext3test.0.dump @@ -33,10 +33,8 @@ Inode size: 128 Journal inode: 8 Journal backup: inode blocks Journal features: (none) -Total journal size: 1024k -Total journal blocks: 1024 -Max transaction length: 1024 -Fast commit length: 0 +Journal size: 1024k +Journal length: 1024 Journal sequence: 0x00000001 Journal start: 0 diff --git a/test/ext3test.2.dump b/test/ext3test.2.dump new file mode 100644 index 0000000..2f08053 --- /dev/null +++ b/test/ext3test.2.dump @@ -0,0 +1,52 @@ +Filesystem volume name: ext3test +Last mounted on: +Filesystem magic number: 0xEF53 +Filesystem revision #: 1 (dynamic) +Filesystem features: has_journal +Default mount options: (none) +Filesystem state: clean +Errors behavior: Unknown (continue) +Filesystem OS type: Linux +Inode count: 256 +Block count: 4096 +Reserved block count: 204 +Overhead clusters: 1024 +Free blocks: 2996 +Free inodes: 205 +First block: 1 +Block size: 1024 +Fragment size: 1024 +Blocks per group: 4096 +Fragments per group: 4096 +Inodes per group: 256 +Inode blocks per group: 32 +Filesystem created: Sat Jan 1 00:00:00 2000 +Last mount time: n/a +Last write time: Sat Jan 1 00:00:00 2000 +Mount count: 0 +Maximum mount count: 20 +Last checked: Sat Jan 1 00:00:00 2000 +Check interval: 0 () +Reserved blocks uid: 0 (user root) +Reserved blocks gid: 0 (group root) +First inode: 11 +Inode size: 128 +Journal inode: 8 +Journal backup: inode blocks +Journal features: (none) +Total journal size: 1024k +Total journal blocks: 1024 +Max transaction length: 1024 +Fast commit length: 0 +Journal sequence: 0x00000001 +Journal start: 0 + + +Group 0: (Blocks 1-4095) + Primary superblock at 1, Group descriptors at 2-2 + Block bitmap at 3 (+2) + Inode bitmap at 4 (+3) + Inode table at 5-36 (+4) + 2996 free blocks, 205 free inodes, 18 directories + Free blocks: 1100-4095 + Free inodes: 52-256 diff --git a/test/ext4test.0.dump b/test/ext4test.0.dump index 1aedf8e..76284dd 100644 --- a/test/ext4test.0.dump +++ b/test/ext4test.0.dump @@ -35,10 +35,8 @@ Journal inode: 8 Default directory hash: half_md4 Journal backup: inode blocks Journal features: (none) -Total journal size: 1024k -Total journal blocks: 1024 -Max transaction length: 1024 -Fast commit length: 0 +Journal size: 1024k +Journal length: 1024 Journal sequence: 0x00000001 Journal start: 0 diff --git a/test/ext4test.2.dump b/test/ext4test.2.dump new file mode 100644 index 0000000..606fe9a --- /dev/null +++ b/test/ext4test.2.dump @@ -0,0 +1,53 @@ +Filesystem volume name: ext4test +Last mounted on: +Filesystem magic number: 0xEF53 +Filesystem revision #: 1 (dynamic) +Filesystem features: has_journal dir_index extent uninit_bg +Filesystem flags: signed_directory_hash +Default mount options: (none) +Filesystem state: clean +Errors behavior: Unknown (continue) +Filesystem OS type: Linux +Inode count: 256 +Block count: 4096 +Reserved block count: 204 +Overhead clusters: 1024 +Free blocks: 3001 +Free inodes: 205 +First block: 1 +Block size: 1024 +Fragment size: 1024 +Blocks per group: 4096 +Fragments per group: 4096 +Inodes per group: 256 +Inode blocks per group: 32 +Filesystem created: Sat Jan 1 00:00:00 2000 +Last mount time: n/a +Last write time: Sat Jan 1 00:00:00 2000 +Mount count: 0 +Maximum mount count: 20 +Last checked: Sat Jan 1 00:00:00 2000 +Check interval: 0 () +Reserved blocks uid: 0 (user root) +Reserved blocks gid: 0 (group root) +First inode: 11 +Inode size: 128 +Journal inode: 8 +Default directory hash: half_md4 +Journal backup: inode blocks +Journal features: (none) +Total journal size: 1024k +Total journal blocks: 1024 +Max transaction length: 1024 +Fast commit length: 0 +Journal sequence: 0x00000001 +Journal start: 0 + + + Primary superblock at 1, Group descriptors at 2-2 + Block bitmap at 3 (+2) + Inode bitmap at 4 (+3) + Inode table at 5-36 (+4) + 3001 free blocks, 205 free inodes, 18 directories, 205 unused inodes + Free blocks: 1095-4095 + Free inodes: 52-256 diff --git a/test/mke2fs.0.dump b/test/mke2fs.0.dump index c91377f..5e86268 100644 --- a/test/mke2fs.0.dump +++ b/test/mke2fs.0.dump @@ -41,10 +41,8 @@ Default directory hash: half_md4 Journal backup: inode blocks Checksum type: crc32c Journal features: (none) -Total journal size: 4096k -Total journal blocks: 4096 -Max transaction length: 4096 -Fast commit length: 0 +Journal size: 4096k +Journal length: 4096 Journal sequence: 0x00000001 Journal start: 0 diff --git a/test/mke2fs.1.dump b/test/mke2fs.1.dump new file mode 100644 index 0000000..e605121 --- /dev/null +++ b/test/mke2fs.1.dump @@ -0,0 +1,83 @@ +Filesystem volume name: mke2fs +Last mounted on: +Filesystem magic number: 0xEF53 +Filesystem revision #: 1 (dynamic) +Filesystem features: has_journal ext_attr dir_index filetype extent 64bit flex_bg sparse_super dir_nlink extra_isize quota metadata_csum +Filesystem flags: signed_directory_hash +Default mount options: user_xattr acl +Filesystem state: clean +Errors behavior: Continue +Filesystem OS type: Linux +Inode count: 8192 +Block count: 32768 +Reserved block count: 1638 +Overhead clusters: 6159 +Free blocks: 26580 +Free inodes: 8141 +First block: 1 +Block size: 1024 +Fragment size: 1024 +Group descriptor size: 64 +Blocks per group: 8192 +Fragments per group: 8192 +Inodes per group: 2048 +Inode blocks per group: 512 +Flex block group size: 16 +Filesystem created: Sat Jan 1 00:00:00 2000 +Last mount time: n/a +Last write time: Sat Jan 1 00:00:00 2000 +Mount count: 0 +Maximum mount count: -1 +Last checked: Sat Jan 1 00:00:00 2000 +Check interval: 0 () +Lifetime writes: 107 kB +Reserved blocks uid: 0 (user root) +Reserved blocks gid: 0 (group root) +First inode: 11 +Inode size: 256 +Required extra isize: 32 +Desired extra isize: 32 +Journal inode: 8 +Default directory hash: half_md4 +Journal backup: inode blocks +Checksum type: crc32c +Journal features: (none) +Total journal size: 4096k +Total journal blocks: 4096 +Max transaction length: 4096 +Fast commit length: 0 +Journal sequence: 0x00000001 +Journal start: 0 + + +Group 0: (Blocks 1-8192) csum 0xd0bb [ITABLE_ZEROED] + Primary superblock at 1, Group descriptors at 2-2 + Block bitmap at 3 (+2), csum 0xde29f1cb + Inode bitmap at 7 (+6), csum 0xb1052088 + Inode table at 11-522 (+10) + 6105 free blocks, 1997 free inodes, 18 directories, 1997 unused inodes + Free blocks: 2088-8192 + Free inodes: 52-2048 +Group 1: (Blocks 8193-16384) csum 0x8fde [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED] + Backup superblock at 8193, Group descriptors at 8194-8194 + Block bitmap at 4 (bg #0 + 3), csum 0x00000000 + Inode bitmap at 8 (bg #0 + 7), csum 0x00000000 + Inode table at 523-1034 (bg #0 + 522) + 8190 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes + Free blocks: 8195-16384 + Free inodes: 2049-4096 +Group 2: (Blocks 16385-24576) csum 0x720f [INODE_UNINIT, ITABLE_ZEROED] + Block bitmap at 5 (bg #0 + 4), csum 0x040008b2 + Inode bitmap at 9 (bg #0 + 8), csum 0x00000000 + Inode table at 1035-1546 (bg #0 + 1034) + 4096 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes + Free blocks: 20481-24576 + Free inodes: 4097-6144 +Group 3: (Blocks 24577-32767) csum 0xd0be [INODE_UNINIT, ITABLE_ZEROED] + Backup superblock at 24577, Group descriptors at 24578-24578 + Block bitmap at 6 (bg #0 + 5), csum 0x4327ef1c + Inode bitmap at 10 (bg #0 + 9), csum 0x00000000 + Inode table at 1547-2058 (bg #0 + 1546) + 8189 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes + Free blocks: 24579-32767 + Free inodes: 6145-8192 diff --git a/test/mke2fs.2.dump b/test/mke2fs.2.dump new file mode 100644 index 0000000..e605121 --- /dev/null +++ b/test/mke2fs.2.dump @@ -0,0 +1,83 @@ +Filesystem volume name: mke2fs +Last mounted on: +Filesystem magic number: 0xEF53 +Filesystem revision #: 1 (dynamic) +Filesystem features: has_journal ext_attr dir_index filetype extent 64bit flex_bg sparse_super dir_nlink extra_isize quota metadata_csum +Filesystem flags: signed_directory_hash +Default mount options: user_xattr acl +Filesystem state: clean +Errors behavior: Continue +Filesystem OS type: Linux +Inode count: 8192 +Block count: 32768 +Reserved block count: 1638 +Overhead clusters: 6159 +Free blocks: 26580 +Free inodes: 8141 +First block: 1 +Block size: 1024 +Fragment size: 1024 +Group descriptor size: 64 +Blocks per group: 8192 +Fragments per group: 8192 +Inodes per group: 2048 +Inode blocks per group: 512 +Flex block group size: 16 +Filesystem created: Sat Jan 1 00:00:00 2000 +Last mount time: n/a +Last write time: Sat Jan 1 00:00:00 2000 +Mount count: 0 +Maximum mount count: -1 +Last checked: Sat Jan 1 00:00:00 2000 +Check interval: 0 () +Lifetime writes: 107 kB +Reserved blocks uid: 0 (user root) +Reserved blocks gid: 0 (group root) +First inode: 11 +Inode size: 256 +Required extra isize: 32 +Desired extra isize: 32 +Journal inode: 8 +Default directory hash: half_md4 +Journal backup: inode blocks +Checksum type: crc32c +Journal features: (none) +Total journal size: 4096k +Total journal blocks: 4096 +Max transaction length: 4096 +Fast commit length: 0 +Journal sequence: 0x00000001 +Journal start: 0 + + +Group 0: (Blocks 1-8192) csum 0xd0bb [ITABLE_ZEROED] + Primary superblock at 1, Group descriptors at 2-2 + Block bitmap at 3 (+2), csum 0xde29f1cb + Inode bitmap at 7 (+6), csum 0xb1052088 + Inode table at 11-522 (+10) + 6105 free blocks, 1997 free inodes, 18 directories, 1997 unused inodes + Free blocks: 2088-8192 + Free inodes: 52-2048 +Group 1: (Blocks 8193-16384) csum 0x8fde [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED] + Backup superblock at 8193, Group descriptors at 8194-8194 + Block bitmap at 4 (bg #0 + 3), csum 0x00000000 + Inode bitmap at 8 (bg #0 + 7), csum 0x00000000 + Inode table at 523-1034 (bg #0 + 522) + 8190 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes + Free blocks: 8195-16384 + Free inodes: 2049-4096 +Group 2: (Blocks 16385-24576) csum 0x720f [INODE_UNINIT, ITABLE_ZEROED] + Block bitmap at 5 (bg #0 + 4), csum 0x040008b2 + Inode bitmap at 9 (bg #0 + 8), csum 0x00000000 + Inode table at 1035-1546 (bg #0 + 1034) + 4096 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes + Free blocks: 20481-24576 + Free inodes: 4097-6144 +Group 3: (Blocks 24577-32767) csum 0xd0be [INODE_UNINIT, ITABLE_ZEROED] + Backup superblock at 24577, Group descriptors at 24578-24578 + Block bitmap at 6 (bg #0 + 5), csum 0x4327ef1c + Inode bitmap at 10 (bg #0 + 9), csum 0x00000000 + Inode table at 1547-2058 (bg #0 + 1546) + 8189 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes + Free blocks: 24579-32767 + Free inodes: 6145-8192 diff --git a/test/mke2fs.3.dump b/test/mke2fs.3.dump new file mode 100644 index 0000000..997c42e --- /dev/null +++ b/test/mke2fs.3.dump @@ -0,0 +1,83 @@ +Filesystem volume name: mke2fs +Last mounted on: +Filesystem magic number: 0xEF53 +Filesystem revision #: 1 (dynamic) +Filesystem features: has_journal ext_attr dir_index filetype extent 64bit flex_bg sparse_super dir_nlink extra_isize quota metadata_csum +Filesystem flags: signed_directory_hash +Default mount options: user_xattr acl +Filesystem state: clean +Errors behavior: Continue +Filesystem OS type: Linux +Inode count: 8192 +Block count: 32768 +Reserved block count: 1638 +Overhead clusters: 6159 +Free blocks: 26580 +Free inodes: 8141 +First block: 1 +Block size: 1024 +Fragment size: 1024 +Group descriptor size: 64 +Blocks per group: 8192 +Fragments per group: 8192 +Inodes per group: 2048 +Inode blocks per group: 512 +Flex block group size: 16 +Filesystem created: Sat Jan 1 00:00:00 2000 +Last mount time: n/a +Last write time: Sat Jan 1 00:00:00 2000 +Mount count: 0 +Maximum mount count: -1 +Last checked: Sat Jan 1 00:00:00 2000 +Check interval: 0 () +Lifetime writes: 110 kB +Reserved blocks uid: 0 (user root) +Reserved blocks gid: 0 (group root) +First inode: 11 +Inode size: 256 +Required extra isize: 32 +Desired extra isize: 32 +Journal inode: 8 +Default directory hash: half_md4 +Journal backup: inode blocks +Checksum type: crc32c +Journal features: (none) +Total journal size: 4096k +Total journal blocks: 4096 +Max transaction length: 4096 +Fast commit length: 0 +Journal sequence: 0x00000001 +Journal start: 0 + + +Group 0: (Blocks 1-8192) csum 0xd0bb [ITABLE_ZEROED] + Primary superblock at 1, Group descriptors at 2-2 + Block bitmap at 3 (+2), csum 0xde29f1cb + Inode bitmap at 7 (+6), csum 0xb1052088 + Inode table at 11-522 (+10) + 6105 free blocks, 1997 free inodes, 18 directories, 1997 unused inodes + Free blocks: 2088-8192 + Free inodes: 52-2048 +Group 1: (Blocks 8193-16384) csum 0x1510 [INODE_UNINIT, ITABLE_ZEROED] + Backup superblock at 8193, Group descriptors at 8194-8194 + Block bitmap at 4 (bg #0 + 3), csum 0xc1d1d464 + Inode bitmap at 8 (bg #0 + 7), csum 0x00000000 + Inode table at 523-1034 (bg #0 + 522) + 8190 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes + Free blocks: 8195-16384 + Free inodes: 2049-4096 +Group 2: (Blocks 16385-24576) csum 0x720f [INODE_UNINIT, ITABLE_ZEROED] + Block bitmap at 5 (bg #0 + 4), csum 0x040008b2 + Inode bitmap at 9 (bg #0 + 8), csum 0x00000000 + Inode table at 1035-1546 (bg #0 + 1034) + 4096 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes + Free blocks: 20481-24576 + Free inodes: 4097-6144 +Group 3: (Blocks 24577-32767) csum 0xd0be [INODE_UNINIT, ITABLE_ZEROED] + Backup superblock at 24577, Group descriptors at 24578-24578 + Block bitmap at 6 (bg #0 + 5), csum 0x4327ef1c + Inode bitmap at 10 (bg #0 + 9), csum 0x00000000 + Inode table at 1547-2058 (bg #0 + 1546) + 8189 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes + Free blocks: 24579-32767 + Free inodes: 6145-8192