• Home
Name Date Size #Lines LOC

..--

d_dumpe2fs_group_only/03-May-2024-10487

d_fallocate/03-May-2024-178151

d_fallocate_bigalloc/03-May-2024-179152

d_fallocate_blkmap/03-May-2024-147122

d_inline_dump/03-May-2024-142128

d_loaddump/03-May-2024-8869

d_punch/03-May-2024-309265

d_punch_bigalloc/03-May-2024-309263

d_special_files/03-May-2024-183158

d_xattr_edits/03-May-2024-189159

d_xattr_sorting/03-May-2024-12298

defaults/03-May-2024-5241

e_brel_bma/03-May-2024-42

e_icount_normal/03-May-2024-21

e_icount_opt/03-May-2024-21

e_irel_ima/03-May-2024-42

f_16384_block/03-May-2024-1815

f_8192_block/03-May-2024-1815

f_bad_bbitmap/03-May-2024-2620

f_bad_bmap_csum/03-May-2024-2722

f_bad_disconnected_inode/03-May-2024-5438

f_bad_gdt_csum/03-May-2024-2117

f_bad_ibitmap/03-May-2024-2620

f_bad_inode_csum/03-May-2024-13777

f_bad_local_jnl/03-May-2024-2519

f_badbblocks/03-May-2024-3930

f_badcluster/03-May-2024-230198

f_baddir/03-May-2024-6544

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_bb_in_bb/03-May-2024-2821

f_bbfile/03-May-2024-5945

f_bbinode/03-May-2024-6244

f_big_sparse/03-May-2024-2217

f_bitmaps/03-May-2024-2821

f_boundscheck/03-May-2024-8759

f_clear_xattr/03-May-2024-4934

f_cloneblock_alloc_error/03-May-2024-4736

f_collapse_extent_tree/03-May-2024-149126

f_compress_extent_tree_level/03-May-2024-163140

f_convert_bmap/03-May-2024-158135

f_convert_bmap_and_extent/03-May-2024-173150

f_corrupt_dirent_tail/03-May-2024-2721

f_crashdisk/03-May-2024-1914

f_create_symlinks/03-May-2024-135119

f_deleted_inode_bad_csum/03-May-2024-2217

f_desc_size_128/03-May-2024-1815

f_desc_size_bad/03-May-2024-3830

f_detect_junk/03-May-2024-9473

f_detect_xfs/03-May-2024-9071

f_dir_bad_csum/03-May-2024-6748

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-181144

f_dup_ba/03-May-2024-8063

f_dup_de/03-May-2024-9669

f_dup_de2/03-May-2024-2721

f_dup_resize/03-May-2024-7656

f_dupdot/03-May-2024-3324

f_dupfsblks/03-May-2024-7657

f_dupsuper/03-May-2024-3829

f_ea_bad_csum/03-May-2024-4028

f_ea_checks/03-May-2024-6844

f_ea_value_crash/03-May-2024-2619

f_emptydir/03-May-2024-3122

f_encrypted_lpf/03-May-2024-3829

f_end-bitmap/03-May-2024-2720

f_eofblocks/03-May-2024-2418

f_expand/03-May-2024-108

f_expandroot_create_lnf/03-May-2024-2318

f_ext_journal/03-May-2024-2821

f_ext_zero_len/03-May-2024-2419

f_extent_bad_node/03-May-2024-3727

f_extent_htree/03-May-2024-11177

f_extent_int_bad_csum/03-May-2024-2218

f_extent_int_bad_extent/03-May-2024-3526

f_extent_int_bad_magic/03-May-2024-3727

f_extent_interior_start_lblk/03-May-2024-2318

f_extent_leaf_bad_csum/03-May-2024-2218

f_extent_leaf_bad_extent/03-May-2024-3526

f_extent_leaf_bad_magic/03-May-2024-3727

f_extent_oobounds/03-May-2024-7963

f_extent_too_deep/03-May-2024-156133

f_extents/03-May-2024-7652

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_first_meta_bg_too_big/03-May-2024-3123

f_full_bg/03-May-2024-1815

f_h_badnode/03-May-2024-3529

f_h_badroot/03-May-2024-5742

f_h_normal/03-May-2024-2420

f_h_reindex/03-May-2024-975967

f_h_unsigned/03-May-2024-2420

f_holedir/03-May-2024-4430

f_holedir2/03-May-2024-3424

f_holedir3/03-May-2024-2518

f_holedir4/03-May-2024-8349

f_htree_bad_csum/03-May-2024-3929

f_htree_leaf_csum/03-May-2024-2318

f_hugedir_blocks/03-May-2024-2117

f_hurd/03-May-2024-2318

f_idata_and_extents/03-May-2024-4633

f_illbbitmap/03-May-2024-3930

f_illibitmap/03-May-2024-3628

f_illitable/03-May-2024-6045

f_illitable_flexbg/03-May-2024-3528

f_imagic/03-May-2024-5839

f_imagic_fs/03-May-2024-5237

f_ind_inode_collision/03-May-2024-158140

f_inlinedata_dirblocks/03-May-2024-3627

f_inlinedata_repair/03-May-2024-6945

f_inlinedir_detector/03-May-2024-3123

f_inode_ea_collision/03-May-2024-2619

f_invalid_bad_inode/03-May-2024-2217

f_invalid_extent_symlink/03-May-2024-2318

f_itable_collision/03-May-2024-150111

f_jnl_32bit/03-May-2024-600591

f_jnl_64bit/03-May-2024-790781

f_jnl_errno/03-May-2024-7465

f_jnl_etb_alloc_fail/03-May-2024-5538

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-3124

f_miss_journal/03-May-2024-3928

f_misstable/03-May-2024-6043

f_mke2fs2b/03-May-2024-3625

f_mmp/03-May-2024-7866

f_mmp_garbage/03-May-2024-4939

f_no/03-May-2024-7768

f_no_cache_corrupt_inode/03-May-2024-2217

f_noroot/03-May-2024-5033

f_nospc_create_lnf/03-May-2024-5941

f_okgroup/03-May-2024-2016

f_opt_extent/03-May-2024-123101

f_opt_extent_ext3/03-May-2024-11391

f_orphan/03-May-2024-2521

f_orphan_dotdot_ft/03-May-2024-6745

f_orphan_extents_inode/03-May-2024-2117

f_orphan_indirect_inode/03-May-2024-1713

f_overfsblks/03-May-2024-3023

f_pre_1970_date_encoding/03-May-2024-155131

f_preen/03-May-2024-5135

f_quota/03-May-2024-6655

f_readonly_fsck/03-May-2024-6146

f_rebuild_csum_rootdir/03-May-2024-322199

f_recnect_bad/03-May-2024-4935

f_reconnect/03-May-2024-3525

f_rehash_dir/03-May-2024-2519

f_resize_inode/03-May-2024-304244

f_salvage_dir/03-May-2024-3023

f_sb_extra_isize/03-May-2024-2418

f_selinux/03-May-2024-1815

f_short_encrypted_dirent/03-May-2024-2821

f_special_ea/03-May-2024-1712

f_summary_counts/03-May-2024-3526

f_super_bad_csum/03-May-2024-5841

f_toobig_extent_dir/03-May-2024-2318

f_trunc_dirent_header/03-May-2024-2620

f_uninit_cat/03-May-2024-5643

f_uninit_dir/03-May-2024-3828

f_uninit_ext_past_eof/03-May-2024-1815

f_uninit_ext_past_eof2/03-May-2024-1815

f_uninit_last_uninit/03-May-2024-4836

f_unsorted_EAs/03-May-2024-2217

f_unused_itable/03-May-2024-3930

f_valid_ea_in_inode/03-May-2024-1310

f_write_ea_no_extra_isize/03-May-2024-2318

f_write_ea_toobig_extra_isize/03-May-2024-2620

f_write_ea_toosmall_extra_isize/03-May-2024-2620

f_yes/03-May-2024-7466

f_yesall/03-May-2024-9166

f_yesthenall/03-May-2024-8166

f_yesthenno/03-May-2024-7969

f_zero_group/03-May-2024-3426

f_zero_inode_size/03-May-2024-2218

f_zero_super/03-May-2024-3426

f_zero_xattr/03-May-2024-1310

f_zeroed_ext_header/03-May-2024-3324

i_bad_csum/03-May-2024-4130

i_qcow/03-May-2024-7660

j_corrupt_commit_csum/03-May-2024-7460

j_corrupt_commit_tid/03-May-2024-7359

j_corrupt_descr_csum/03-May-2024-7460

j_corrupt_descr_tid/03-May-2024-7359

j_corrupt_ext_jnl_sb_block/03-May-2024-4533

j_corrupt_ext_jnl_sb_csum/03-May-2024-7156

j_corrupt_journal_block/03-May-2024-7762

j_corrupt_revoke_block/03-May-2024-7359

j_corrupt_revoke_csum/03-May-2024-7359

j_corrupt_revoke_rcount/03-May-2024-2017

j_corrupt_sb_csum/03-May-2024-7761

j_corrupt_sb_magic/03-May-2024-9874

j_ext_dumpe2fs/03-May-2024-9885

j_ext_long_revoke_trans/03-May-2024-172152

j_ext_long_trans/03-May-2024-182150

j_long_revoke_trans/03-May-2024-147130

j_long_revoke_trans_mcsum_32bit/03-May-2024-188169

j_long_revoke_trans_mcsum_64bit/03-May-2024-203184

j_long_trans/03-May-2024-170136

j_long_trans_mcsum_32bit/03-May-2024-213176

j_long_trans_mcsum_64bit/03-May-2024-212175

j_recover_csum2_32bit/03-May-2024-5941

j_recover_csum2_64bit/03-May-2024-5941

j_short_revoke_trans/03-May-2024-10082

j_short_revoke_trans_mcsum_64bit/03-May-2024-10686

j_short_trans/03-May-2024-10382

j_short_trans_64bit/03-May-2024-10986

j_short_trans_mcsum_64bit/03-May-2024-10986

j_short_trans_old_csum/03-May-2024-10986

j_short_trans_open_recover/03-May-2024-11694

j_short_trans_recover/03-May-2024-11492

j_short_trans_recover_mcsum_64bit/03-May-2024-12096

j_short_uncommitted_trans/03-May-2024-9173

j_short_uncommitted_trans_mcsum_64bit/03-May-2024-9777

m_64bit_flexbg/03-May-2024-6256

m_bigjournal/03-May-2024-587583

m_dasd_bs/03-May-2024-7367

m_desc_size_128/03-May-2024-847841

m_devdir/03-May-2024-3425

m_error_behavior/03-May-2024-136114

m_extent_journal/03-May-2024-122116

m_hugefile/03-May-2024-11192

m_hugefile_slack/03-May-2024-7559

m_large_file/03-May-2024-6559

m_mcsum_extjournal/03-May-2024-3828

m_meta_bg/03-May-2024-844838

m_minrootdir/03-May-2024-305282

m_mkfs_overhead/03-May-2024-3424

m_mmp/03-May-2024-8880

m_mmp_bad_csum/03-May-2024-4335

m_mmp_bad_magic/03-May-2024-5343

m_no_opt/03-May-2024-111105

m_offset/03-May-2024-3531

m_quota/03-May-2024-173167

m_raid_opt/03-May-2024-847841

m_root_owner/03-May-2024-6054

m_rootdir/03-May-2024-196180

m_std/03-May-2024-113107

m_uninit/03-May-2024-164158

progs/03-May-2024-2,2301,868

r_1024_small_bg/03-May-2024-3224

r_32to64bit/03-May-2024-172147

r_32to64bit_expand_full/03-May-2024-226198

r_32to64bit_meta/03-May-2024-158135

r_32to64bit_move_itable/03-May-2024-185160

r_64bit_big_expand/03-May-2024-3729

r_64to32bit/03-May-2024-178152

r_64to32bit_meta/03-May-2024-160136

r_bigalloc_big_expand/03-May-2024-3830

r_expand_full/03-May-2024-458432

r_ext4_big_expand/03-May-2024-3729

r_ext4_small_bg/03-May-2024-3224

r_fixup_lastbg/03-May-2024-7867

r_fixup_lastbg_big/03-May-2024-8473

r_inline_xattr/03-May-2024-7154

r_meta_bg_shrink/03-May-2024-3527

r_min_itable/03-May-2024-6447

r_move_itable/03-May-2024-2,7322,686

r_resize_inode/03-May-2024-1,7451,707

scripts/03-May-2024-224171

t_change_uuid/03-May-2024-4334

t_change_uuid_mcsum/03-May-2024-4334

t_change_uuid_mcsum_mounted/03-May-2024-4334

t_change_uuid_mcsum_seed_mounted/03-May-2024-7562

t_change_uuid_mounted/03-May-2024-4334

t_dangerous/03-May-2024-235190

t_disable_changed_csum_seed/03-May-2024-6654

t_disable_changed_csum_seed_mounted/03-May-2024-6856

t_disable_csum_seed/03-May-2024-5948

t_disable_mcsum/03-May-2024-11697

t_disable_mcsum_noinitbg/03-May-2024-139120

t_disable_mcsum_yesinitbg/03-May-2024-11697

t_disable_meta_csum_and_seed/03-May-2024-6049

t_enable_csum_seed/03-May-2024-5242

t_enable_mcsum/03-May-2024-152127

t_enable_mcsum_ext3/03-May-2024-148125

t_enable_mcsum_initbg/03-May-2024-172145

t_ext_jnl_fail/03-May-2024-4030

t_ext_jnl_rm/03-May-2024-2722

t_format_csum_seed/03-May-2024-4637

t_iexpand_full/03-May-2024-127102

t_iexpand_mcsum/03-May-2024-143113

t_mmp_1on/03-May-2024-4336

t_mmp_2off/03-May-2024-4336

t_quota_1on/03-May-2024-4538

t_quota_2off/03-May-2024-3831

t_replay_and_set/03-May-2024-10079

t_uninit_bg_rm/03-May-2024-7960

u_compound_bad_rollback/03-May-2024-6350

u_compound_rollback/03-May-2024-6350

u_corrupt_blk_csum/03-May-2024-3931

u_corrupt_blk_csum_force/03-May-2024-3931

u_corrupt_hdr_csum/03-May-2024-3830

u_corrupt_key_csum/03-May-2024-3830

u_debugfs_opt/03-May-2024-3326

u_dryrun/03-May-2024-3326

u_e2fsck_opt/03-May-2024-3326

u_errorout/03-May-2024-5042

u_force/03-May-2024-4131

u_force_dryrun/03-May-2024-3931

u_incomplete/03-May-2024-3931

u_mke2fs/03-May-2024-3528

u_mke2fs_opt/03-May-2024-3326

u_mke2fs_opt_oddsize/03-May-2024-3225

u_mke2fs_opt_offset/03-May-2024-10588

u_not_undo/03-May-2024-2922

u_offset/03-May-2024-139117

u_onefile_bad/03-May-2024-116103

u_resize2fs_opt/03-May-2024-3326

u_revert_64bitmcsum_onefile/03-May-2024-113101

u_revert_all_onefile/03-May-2024-10190

u_revert_upgrade_to_64bitmcsum/03-May-2024-137123

u_tune2fs/03-May-2024-3528

u_tune2fs_opt/03-May-2024-3326

u_undo_undo/03-May-2024-5542

u_wrong_fs/03-May-2024-3729

Makefile.inD03-May-20242.5 KiB9569

READMED03-May-20243 KiB6960

filter.sedD03-May-2024900 3029

mke2fs.conf.inD03-May-2024925 5048

run_e2fsckD03-May-20242.4 KiB11395

run_mke2fsD03-May-2024782 2824

test_configD03-May-20241.4 KiB4442

test_one.inD03-May-20241.4 KiB7154

test_postD03-May-2024343 1810

test_script.inD03-May-2024932 5342

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