2
mke2fs -Fq -b 1024 ./test.img 512
4
debugfs -R ''write test.data test_data'' -w ./test.img
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 (0.0% non-contiguous), 156/512 blocks
15
debugfs -R ''dump test_data test.verify'' ./test.img
17
cmp test.data test.verify