1 resize2fs test 2 resize2fs -M test.img 3 Resizing the filesystem on test.img to 1124 (1k) blocks. 4 The filesystem on test.img is now 1124 blocks long. 5 6 Exit status is 0 7 8 fsck -yf -N test_filesys test.img 9 Pass 1: Checking inodes, blocks, and sizes 10 Pass 2: Checking directory structure 11 Pass 3: Checking directory connectivity 12 Pass 4: Checking reference counts 13 Pass 5: Checking group summary information 14 test_filesys: 13/512 files (0.0% non-contiguous), 1120/1124 blocks 15 Exit status is 0 16