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