2001-05-05 20:21:48 +04:00
|
|
|
debugfs load/dump test
|
2001-06-01 19:14:38 +04:00
|
|
|
mke2fs -Fq -b 1024 ./test.img 512
|
2001-05-05 20:21:48 +04:00
|
|
|
Exit status is 0
|
|
|
|
debugfs -R ''write test.data test_data'' -w ./test.img
|
|
|
|
Allocated inode: 12
|
|
|
|
Exit status is 0
|
|
|
|
e2fsck -yf -N test_filesys
|
|
|
|
Pass 1: Checking inodes, blocks, and sizes
|
|
|
|
Pass 2: Checking directory structure
|
|
|
|
Pass 3: Checking directory connectivity
|
|
|
|
Pass 4: Checking reference counts
|
|
|
|
Pass 5: Checking group summary information
|
|
|
|
test_filesys: 12/64 files (0.0% non-contiguous), 156/512 blocks
|
|
|
|
Exit status is 0
|
|
|
|
debugfs -R ''dump test_data test.verify'' ./test.img
|
|
|
|
Exit status is 0
|
|
|
|
cmp test.data test.verify
|
|
|
|
Exit status is 0
|