mirror of https://github.com/vitalif/e2fsprogs
Add test for the case where s_inode_size is zero
Older e2fsck's would crash; e2fsck should now automatically retry using the backup superblock if it is present. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>bitmap-optimize
parent
cc8fb0e69d
commit
29cf185826
|
@ -0,0 +1,10 @@
|
|||
../e2fsck/e2fsck: Superblock invalid, trying backup blocks...
|
||||
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: ***** FILE SYSTEM WAS MODIFIED *****
|
||||
test_filesys: 11/2512 files (9.1% non-contiguous), 415/10000 blocks
|
||||
Exit status is 1
|
|
@ -0,0 +1,7 @@
|
|||
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: 11/2512 files (9.1% non-contiguous), 415/10000 blocks
|
||||
Exit status is 0
|
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
superblock with a zero inode size
|
Loading…
Reference in New Issue