• Home
Name Date Size #Lines LOC

..--

d_bad_ostype/03-May-2024-2620

d_corrupt_journal_nr_users/03-May-2024-128119

d_dumpe2fs_group_only/03-May-2024-9985

d_fallocate/03-May-2024-169145

d_fallocate_bigalloc/03-May-2024-171146

d_fallocate_blkmap/03-May-2024-137116

d_inline_dump/03-May-2024-142128

d_loaddump/03-May-2024-8971

d_punch/03-May-2024-300259

d_punch_bigalloc/03-May-2024-300257

d_special_files/03-May-2024-176152

d_xattr_edits/03-May-2024-183151

d_xattr_sorting/03-May-2024-12599

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

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

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_badsymlinks2/03-May-2024-253176

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_bigalloc_badinode/03-May-2024-4735

f_bigalloc_orphan_list/03-May-2024-5039

f_bigalloc_symlink_with_xattr/03-May-2024-1310

f_bitmaps/03-May-2024-3022

f_boundscheck/03-May-2024-8658

f_clear_xattr/03-May-2024-4934

f_cloneblock_alloc_error/03-May-2024-4736

f_collapse_extent_tree/03-May-2024-146124

f_compress_extent_tree_level/03-May-2024-162139

f_convert_bmap/03-May-2024-156133

f_convert_bmap_and_extent/03-May-2024-171148

f_convert_bmap_sparse/03-May-2024-156133

f_corrupt_dirent_tail/03-May-2024-2721

f_crashdisk/03-May-2024-2318

f_create_symlinks/03-May-2024-139126

f_del_dup_quota/03-May-2024-8565

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

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

f_dup2/03-May-2024-5844

f_dup3/03-May-2024-5843

f_dup4/03-May-2024-180144

f_dup_ba/03-May-2024-8063

f_dup_de/03-May-2024-9569

f_dup_de2/03-May-2024-2721

f_dup_de_crypt/03-May-2024-2922

f_dup_resize/03-May-2024-7556

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_inode/03-May-2024-4028

f_ea_inode_self_ref/03-May-2024-2821

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

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

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

f_extent_too_deep/03-May-2024-151129

f_extents/03-May-2024-7856

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

f_illibitmap/03-May-2024-3829

f_illitable/03-May-2024-6045

f_illitable_flexbg/03-May-2024-3729

f_imagic/03-May-2024-5839

f_imagic_fs/03-May-2024-5137

f_ind_inode_collision/03-May-2024-157139

f_inlinedata_dirblocks/03-May-2024-3627

f_inlinedata_flags/03-May-2024-3727

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

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_large_dir/03-May-2024-10089

f_lotsbad/03-May-2024-7253

f_lpf/03-May-2024-6141

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_mke2fs_baddisk/03-May-2024-2521

f_mmp/03-May-2024-8573

f_mmp_garbage/03-May-2024-4939

f_no/03-May-2024-7869

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_orphquot/03-May-2024-3830

f_overfsblks/03-May-2024-3224

f_pre_1970_date_encoding/03-May-2024-155131

f_preen/03-May-2024-5135

f_quota/03-May-2024-6655

f_quota_extent_opt/03-May-2024-2620

f_quota_invalid_inum/03-May-2024-2619

f_readonly_fsck/03-May-2024-5844

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

f_resize_inode_meta_bg/03-May-2024-8258

f_salvage_dir/03-May-2024-3023

f_sb_extra_isize/03-May-2024-2418

f_selinux/03-May-2024-1815

f_shared_blocks_ok/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-5840

f_toobig_extent_dir/03-May-2024-2318

f_trunc_dirent_header/03-May-2024-2620

f_uninit_cat/03-May-2024-5542

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

f_unshare_blocks_no_space/03-May-2024-150141

f_unshare_blocks_ok/03-May-2024-4032

f_unsorted_EAs/03-May-2024-2217

f_unused_itable/03-May-2024-3930

f_valid_ea_in_inode/03-May-2024-1310

f_verity/03-May-2024-4228

f_write_ea_no_extra_isize/03-May-2024-4028

f_write_ea_toobig_extra_isize/03-May-2024-4330

f_write_ea_toosmall_extra_isize/03-May-2024-4330

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_bitmaps/03-May-2024-3629

i_qcow/03-May-2024-8164

i_zero_super/03-May-2024-3525

j_corrupt_commit_csum/03-May-2024-6655

j_corrupt_commit_tid/03-May-2024-6554

j_corrupt_descr_csum/03-May-2024-6655

j_corrupt_descr_tid/03-May-2024-6554

j_corrupt_ext_jnl_sb_block/03-May-2024-4131

j_corrupt_ext_jnl_sb_csum/03-May-2024-6753

j_corrupt_journal_block/03-May-2024-6957

j_corrupt_revoke_block/03-May-2024-6554

j_corrupt_revoke_csum/03-May-2024-6554

j_corrupt_revoke_rcount/03-May-2024-2017

j_corrupt_sb_csum/03-May-2024-6956

j_corrupt_sb_magic/03-May-2024-9069

j_ext_dumpe2fs/03-May-2024-9180

j_ext_long_revoke_trans/03-May-2024-160143

j_ext_long_trans/03-May-2024-172142

j_long_revoke_trans/03-May-2024-137123

j_long_revoke_trans_mcsum_32bit/03-May-2024-177161

j_long_revoke_trans_mcsum_64bit/03-May-2024-192176

j_long_trans/03-May-2024-162130

j_long_trans_mcsum_32bit/03-May-2024-205170

j_long_trans_mcsum_64bit/03-May-2024-204169

j_recover_csum2_32bit/03-May-2024-6041

j_recover_csum2_64bit/03-May-2024-6041

j_recover_csum3_64bit/03-May-2024-5840

j_short_revoke_trans/03-May-2024-9075

j_short_revoke_trans_mcsum_64bit/03-May-2024-9679

j_short_trans/03-May-2024-9576

j_short_trans_64bit/03-May-2024-10180

j_short_trans_mcsum_64bit/03-May-2024-10180

j_short_trans_old_csum/03-May-2024-10180

j_short_trans_open_recover/03-May-2024-10686

j_short_trans_recover/03-May-2024-10484

j_short_trans_recover_mcsum_64bit/03-May-2024-11088

j_short_uncommitted_trans/03-May-2024-8166

j_short_uncommitted_trans_mcsum_64bit/03-May-2024-8770

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

m_error_behavior/03-May-2024-136114

m_extent_journal/03-May-2024-122116

m_hugefile/03-May-2024-142120

m_hugefile_slack/03-May-2024-7559

m_image_mmp/03-May-2024-4435

m_large_file/03-May-2024-6559

m_mcsum_extjournal/03-May-2024-3627

m_meta_bg/03-May-2024-844838

m_minrootdir/03-May-2024-304282

m_mkfs_overhead/03-May-2024-3223

m_mmp/03-May-2024-9688

m_mmp_bad_csum/03-May-2024-6456

m_mmp_bad_magic/03-May-2024-7363

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_resize_inode_meta_bg/03-May-2024-178172

m_root_owner/03-May-2024-6054

m_rootdir/03-May-2024-195180

m_std/03-May-2024-113107

m_uninit/03-May-2024-164158

progs/03-May-2024-2,2571,895

r_1024_small_bg/03-May-2024-3124

r_32to64bit/03-May-2024-170147

r_32to64bit_expand_full/03-May-2024-224198

r_32to64bit_meta/03-May-2024-156135

r_32to64bit_move_itable/03-May-2024-183160

r_64bit_big_expand/03-May-2024-3529

r_64to32bit/03-May-2024-176152

r_64to32bit_meta/03-May-2024-158136

r_bigalloc_big_expand/03-May-2024-3630

r_expand_full/03-May-2024-462437

r_ext4_big_expand/03-May-2024-3529

r_ext4_small_bg/03-May-2024-3024

r_fixup_lastbg/03-May-2024-7666

r_fixup_lastbg_big/03-May-2024-8777

r_inline_xattr/03-May-2024-6954

r_meta_bg_shrink/03-May-2024-3327

r_min_itable/03-May-2024-6147

r_move_inode_int_extent/03-May-2024-6147

r_move_itable/03-May-2024-2,7162,673

r_move_itable_nostride/03-May-2024-126109

r_move_itable_realloc/03-May-2024-125108

r_resize_inode/03-May-2024-1,7331,696

scripts/03-May-2024-248188

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

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

t_enable_mcsum_ext3/03-May-2024-148125

t_enable_mcsum_initbg/03-May-2024-174146

t_ext_jnl_fail/03-May-2024-4031

t_ext_jnl_rm/03-May-2024-2722

t_format_csum_seed/03-May-2024-4637

t_iexpand_full/03-May-2024-125102

t_iexpand_mcsum/03-May-2024-144114

t_mmp_1on/03-May-2024-4336

t_mmp_2off/03-May-2024-4336

t_project_1on/03-May-2024-4437

t_project_2off/03-May-2024-3831

t_project_3on/03-May-2024-4437

t_project_4off/03-May-2024-3831

t_quota_1on/03-May-2024-4538

t_quota_2off/03-May-2024-3831

t_replay_and_set/03-May-2024-9374

t_uninit_bg_rm/03-May-2024-7759

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

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.8 KiB10778

READMED03-May-20243 KiB6960

filter.sedD03-May-20241.4 KiB4039

mke2fs.conf.inD03-May-2024786 4543

run_e2fsckD03-May-20242.3 KiB11395

run_mke2fsD03-May-2024744 2824

test_configD03-May-20241.6 KiB4947

test_one.inD03-May-20241.9 KiB8970

test_postD03-May-2024343 1810

test_script.inD03-May-2024933 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