1 debugfs load/dump test 2 mke2fs -Fq -b 1024 ./test.img 512 3 Exit status is 0 4 debugfs -R ''write test.data test_data'' -w ./test.img 5 Allocated inode: 12 6 Exit status is 0 7 e2fsck -yf -N test_filesys 8 Pass 1: Checking inodes, blocks, and sizes 9 Pass 2: Checking directory structure 10 Pass 3: Checking directory connectivity 11 Pass 4: Checking reference counts 12 Pass 5: Checking group summary information 13 test_filesys: 12/64 files (8.3% non-contiguous), 158/512 blocks 14 Exit status is 0 15 debugfs -R ''dump test_data test.verify'' ./test.img 16 Exit status is 0 17 cmp test.data test.verify 18 Exit status is 0 19