1mke2fs -q -t ext4 -F -o Linux -b 1024 test.img 1G
2tune2fs -f -O ^uninit_bg test.img
3
4fsck -yf -N test_filesys test.img
5Pass 1: Checking inodes, blocks, and sizes
6Pass 2: Checking directory structure
7Pass 3: Checking directory connectivity
8Pass 4: Checking reference counts
9Pass 5: Checking group summary information
10test_filesys: 11/65536 files (0.0% non-contiguous), 35910/1048576 blocks
11
12mke2fs -q -t ext4 -O bigalloc -F -o Linux -b 1024 -C 8192 test.img 10G
13tune2fs -f -O ^uninit_bg test.img
14
15fsck -yf -N test_filesys test.img
16Pass 1: Checking inodes, blocks, and sizes
17Pass 2: Checking directory structure
18Pass 3: Checking directory connectivity
19Pass 4: Checking reference counts
20Pass 5: Checking group summary information
21test_filesys: 11/655360 files (0.0% non-contiguous), 232632/10485760 blocks
22