• Home
Name Date Size #Lines LOC

..--

d_loaddump/03-May-2024-8365

defaults/03-May-2024-5040

e_brel_bma/03-May-2024-53

e_icount_normal/03-May-2024-21

e_icount_opt/03-May-2024-21

e_irel_ima/03-May-2024-53

f_16384_block/03-May-2024-1815

f_8192_block/03-May-2024-1815

f_bad_disconnected_inode/03-May-2024-6344

f_bad_local_jnl/03-May-2024-2519

f_badbblocks/03-May-2024-3930

f_baddir/03-May-2024-6242

f_baddir2/03-May-2024-2318

f_baddotdir/03-May-2024-7049

f_badinode/03-May-2024-5136

f_badjour_indblks/03-May-2024-4330

f_badjourblks/03-May-2024-4129

f_badorphan/03-May-2024-8874

f_badprimary/03-May-2024-3827

f_badroot/03-May-2024-4027

f_badsymlinks/03-May-2024-7250

f_badtable/03-May-2024-5639

f_bbfile/03-May-2024-5945

f_bbinode/03-May-2024-6244

f_big_sparse/03-May-2024-2720

f_bitmaps/03-May-2024-2821

f_clear_xattr/03-May-2024-4934

f_crashdisk/03-May-2024-1611

f_dir_bad_mode/03-May-2024-2318

f_dirlink/03-May-2024-2519

f_dup/03-May-2024-4937

f_dup2/03-May-2024-5643

f_dup3/03-May-2024-5642

f_dup4/03-May-2024-175140

f_dup_de/03-May-2024-9065

f_dup_de2/03-May-2024-2721

f_dup_resize/03-May-2024-7052

f_dupdot/03-May-2024-3324

f_dupfsblks/03-May-2024-7355

f_dupsuper/03-May-2024-3829

f_ea_checks/03-May-2024-6844

f_end-bitmap/03-May-2024-3022

f_expand/03-May-2024-108

f_ext_journal/03-May-2024-2620

f_extent_bad_node/03-May-2024-3425

f_extents/03-May-2024-6646

f_extents2/03-May-2024-8159

f_extra_journal/03-May-2024-3425

f_fast_symlink_extents/03-May-2024-2217

f_file_acl_high/03-May-2024-2318

f_filetype/03-May-2024-6047

f_full_bg/03-May-2024-1815

f_h_badnode/03-May-2024-3630

f_h_badroot/03-May-2024-5843

f_h_normal/03-May-2024-2521

f_h_reindex/03-May-2024-976968

f_h_unsigned/03-May-2024-2521

f_holedir/03-May-2024-4430

f_holedir2/03-May-2024-3625

f_hurd/03-May-2024-2318

f_illbbitmap/03-May-2024-3829

f_illibitmap/03-May-2024-3527

f_illitable/03-May-2024-5944

f_illitable_flexbg/03-May-2024-3831

f_imagic/03-May-2024-5839

f_imagic_fs/03-May-2024-4633

f_journal/03-May-2024-7367

f_lotsbad/03-May-2024-7253

f_lpf/03-May-2024-5940

f_lpf2/03-May-2024-5236

f_lpffile/03-May-2024-4330

f_messy_inode/03-May-2024-4937

f_miss_blk_bmap/03-May-2024-3023

f_miss_journal/03-May-2024-3928

f_misstable/03-May-2024-5942

f_mke2fs2b/03-May-2024-3625

f_noroot/03-May-2024-5033

f_okgroup/03-May-2024-2217

f_orphan/03-May-2024-2521

f_orphan_dotdot_ft/03-May-2024-6745

f_overfsblks/03-May-2024-2922

f_preen/03-May-2024-5034

f_recnect_bad/03-May-2024-4935

f_reconnect/03-May-2024-3525

f_rehash_dir/03-May-2024-2318

f_resize_inode/03-May-2024-310251

f_salvage_dir/03-May-2024-3023

f_selinux/03-May-2024-1815

f_special_ea/03-May-2024-1712

f_summary_counts/03-May-2024-4130

f_swapfs/03-May-2024-222199

f_uninit_last_uninit/03-May-2024-4232

f_unsorted_EAs/03-May-2024-2217

f_valid_ea_in_inode/03-May-2024-1310

f_zero_group/03-May-2024-3325

f_zero_inode_size/03-May-2024-2117

f_zero_super/03-May-2024-3325

m_dasd_bs/03-May-2024-8375

m_large_file/03-May-2024-7668

m_meta_bg/03-May-2024-852844

m_mkfs_overhead/03-May-2024-1712

m_no_opt/03-May-2024-119111

m_raid_opt/03-May-2024-856848

m_std/03-May-2024-122114

m_uninit/03-May-2024-173165

progs/03-May-2024-2,1491,809

r_inline_xattr/03-May-2024-7558

r_move_itable/03-May-2024-2,7402,687

r_resize_inode/03-May-2024-1,7501,708

u_mke2fs/03-May-2024-3730

u_tune2fs/03-May-2024-3730

Makefile.inD03-May-20242 KiB7456

READMED03-May-20243 KiB6960

filter_dumpe2fsD03-May-2024321 1514

run_e2fsckD03-May-20241.9 KiB10082

run_mke2fsD03-May-2024595 1615

test_configD03-May-20241,021 3330

test_script.inD03-May-20241.6 KiB8065

README

1These images contain various forms of corrupted filesystem which
2e2fsck will correct.  They are used as a regression test for e2fsck.
3
4The test_script program will automatically run e2fsck against the
5filesystem images.  It will run them two times, and display the exit
6status for each run.  The meaning of the exit status codes are as
7follows:
8
9	0		No filesystem errors were detected
10	1		Filesystem errors detected, but corrected
11	2		System should be rebooted
12	4		Filesystem errors left uncorrected
13	8		Operational error (generally means internal error,
14				or filesystem error that the e2fsck was not
15				prepared to deal with)
16	16		Usage or syntax error
17
18During the regression test, the first exit code should be 1, and the
19second exit code should be 0.  In other words, all (with one
20exception) of the test filesystems in this directory have some sort of
21filesystem corruption, which e2fsck should fix on the first pass.
22After the first pass, e2fsck should leave a fully consistent
23filesystem with no detectable errors found in the second pass.  The
24exception is the okgroup.img filesystem, which contains no errors, and
25so both exit codes should be 0.
26
27NOTE: It appears that at least some versions of the original e2fsck do
28not exit with an exit status code of 1 after correcting filesystem
29errors.  So if you modify the test_script to try running these
30filesystems against the original e2fsck, you will have to inspect the
31test_script.log file manually.
32
33--------------------------------------------------------------
34Here's a one-line descriptons of the various test images in this
35directory:
36
37baddir.img		Filesystem with a corrupted directory
38badbblocks.img		Filesystem with illegal blocks in the bad block inode.
39badinode.img		Filesystem with various different corrupted inode
40				entries.
41badlkcnt.img		Filesystem with deleted files with non-zero link count
42badroot.img		Filesystem with a file for a root directory
43badtable.img		Filesystem with blocks shared between the bitmaps and
44				inode table blocks and the bad block inode
45bbfile.img		Filesystem with files containing bad blocks
46bitmaps.img		Filesystem with corrupted inode and block bitmaps
47dirlink.img		Filesystem with a hard link to a directory
48dup.img			Filesystem with blocks claimed by two different files
49dup2.img		Filesystem with blocks claimed by three different files
50dupfsblks.img		Filesystem with blocks claimed by a file and
51				inode/block bitmaps and inode tables
52dupsuper.img		Filesystem with blocks claimed by a file and
53				the superblock / group descriptors
54end-bitmap.img		Filesystem with corruption at the end of the block
55				bitmap
56expand.img		Tests e2fsck's ability to expand lost+found if
57				necessary
58lpf.img			Filesystem with disconnected files and no /lost+found
59				directory
60mke2fs2b.img		Filesystem with corruption similar to that
61				created by mke2fs version 0.2b
62noroot.img		Filesystem with a deleted root directory
63okgroup.img		Filesystem that's exactly 8193 blocks long
64				(otherwise OK)
65overfsblks.img		Filesystem with overlapping inode and block bitmaps
66symlinks.img		Filesystem with bad symlink sizes
67
68
69