genimage/test/mke2fs.0.dump
Michael Olbrich c5d728de96 test: mke2fs: fully disable quota in the test
The test disabled quota for better reproducibility. But it seems some quota
stuff remains. And at leasts with mke2fs 1.46.2 on x86_64 the resulting
image seems to be inconsistent. At least e2fsck complains about a quota
issue:

[QUOTA WARNING] Usage inconsistent for ID 0:actual (29696, 42) != expected (13312, 2)
mke2fs: Update quota info for quota type 0.
[QUOTA WARNING] Usage inconsistent for ID 0:actual (29696, 42) != expected (13312, 2)
mke2fs: Update quota info for quota type 1.

For some reason this does not happen on 32 bit architectures. So the
resulting image is different and the check fails.

Avoid this whole mess by adding '-E quotatype=' to the mke2fs arguments.
This way quota is fully disabled, e2fsck is happy and the resulting
filesystem is the same on all architectures.

Fixes: #200

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
2022-12-08 16:53:54 +01:00

83 lines
3.2 KiB
Plaintext

Filesystem volume name: mke2fs
Last mounted on: <not available>
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
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 (<none>)
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