]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blob - tests/f_detect_junk/expect
Merge remote-tracking branch 'origin/maint' into next
[thirdparty/e2fsprogs.git] / tests / f_detect_junk / expect
1 *** e2fsck
2 ext2fs_open2: Bad magic number in super-block
3 ../e2fsck/e2fsck: Superblock invalid, trying backup blocks...
4 ../e2fsck/e2fsck: Bad magic number in super-block while trying to open test.img
5
6 The superblock could not be read or does not describe a valid ext2/ext3/ext4
7 filesystem. If the device is valid and it really contains an ext2/ext3/ext4
8 filesystem (and not swap or ufs or something else), then the superblock
9 is corrupt, and you might try running e2fsck with an alternate superblock:
10 e2fsck -b 8193 <device>
11 or
12 e2fsck -b 32768 <device>
13
14 test.img contains `PNG image data, 148 x 31, 8-bit/color RGBA, non-interlaced' data
15 *** debugfs
16 test.img: Bad magic number in super-block while opening filesystem
17 test.img contains `PNG image data, 148 x 31, 8-bit/color RGBA, non-interlaced' data
18 *** tune2fs
19 ../misc/tune2fs: Bad magic number in super-block while trying to open test.img
20 test.img contains `PNG image data, 148 x 31, 8-bit/color RGBA, non-interlaced' data
21 *** mke2fs
22 Creating filesystem with 16384 1k blocks and 4096 inodes
23 Superblock backups stored on blocks:
24 8193
25