d_bad_ostype
d_corrupt_journal_nr_users
d_dumpe2fs_group_only
d_fallocate
d_fallocate_bigalloc
d_fallocate_blkmap
d_inline_dump
d_loaddump
d_punch
d_punch_bigalloc
d_special_files
d_xattr_edits
d_xattr_sorting
defaults
e_brel_bma
e_icount_normal
e_icount_opt
e_irel_ima
f_16384_block
f_8192_block
f_bad_bbitmap
f_bad_bmap_csum
f_bad_disconnected_inode
f_bad_gdt_csum
f_bad_ibitmap
f_bad_inode_csum
f_bad_local_jnl
f_badbblocks
f_badcluster
f_baddir
f_baddir2
f_baddotdir
f_badinode
f_badjour_indblks
f_badjourblks
f_badorphan
f_badprimary
f_badroot
f_badsymlinks
f_badsymlinks2
f_badtable
f_bb_in_bb
f_bbfile
f_bbinode
f_big_sparse
f_bigalloc_badinode
f_bigalloc_orphan_list
f_bigalloc_symlink_with_xattr
f_bitmaps
f_boundscheck
f_clear_xattr
f_cloneblock_alloc_error
f_collapse_extent_tree
f_compress_extent_tree_level
f_convert_bmap
f_convert_bmap_and_extent
f_convert_bmap_sparse
f_corrupt_dirent_tail
f_crashdisk
f_create_symlinks
f_del_dup_quota
f_deleted_inode_bad_csum
f_desc_size_128
f_desc_size_bad
f_detect_junk
f_detect_xfs
f_dir_bad_csum
f_dir_bad_mode
f_dirlink
f_dup
f_dup2
f_dup3
f_dup4
f_dup_ba
f_dup_de
f_dup_de2
f_dup_resize
f_dupdot
f_dupfsblks
f_dupsuper
f_ea_bad_csum
f_ea_checks
f_ea_inode
f_ea_inode_self_ref
f_ea_value_crash
f_emptydir
f_encrypted_lpf
f_end-bitmap
f_eofblocks
f_expand
f_expandroot_create_lnf
f_ext_journal
f_ext_zero_len
f_extent_bad_node
f_extent_htree
f_extent_int_bad_csum
f_extent_int_bad_extent
f_extent_int_bad_magic
f_extent_interior_start_lblk
f_extent_leaf_bad_csum
f_extent_leaf_bad_extent
f_extent_leaf_bad_magic
f_extent_oobounds
f_extent_too_deep
f_extents
f_extents2
f_extra_journal
f_fast_symlink_extents
f_file_acl_high
f_filetype
f_first_meta_bg_too_big
f_full_bg
f_h_badnode
f_h_badroot
f_h_normal
f_h_reindex
f_h_unsigned
f_holedir
f_holedir2
f_holedir3
f_holedir4
f_htree_bad_csum
f_htree_leaf_csum
f_hugedir_blocks
f_hurd
f_idata_and_extents
f_illbbitmap
f_illibitmap
f_illitable
f_illitable_flexbg
f_imagic
f_imagic_fs
f_ind_inode_collision
f_inlinedata_dirblocks
f_inlinedata_flags
f_inlinedata_repair
f_inlinedir_detector
f_inode_ea_collision
f_invalid_bad_inode
f_invalid_extent_symlink
f_itable_collision
f_jnl_32bit
f_jnl_64bit
f_jnl_errno
f_jnl_etb_alloc_fail
f_journal
f_large_dir
f_lotsbad
f_lpf
f_lpf2
f_lpffile
f_messy_inode
f_miss_blk_bmap
f_miss_journal
f_misstable
f_mke2fs2b
f_mke2fs_baddisk
f_mmp
f_mmp_garbage
f_no
f_no_cache_corrupt_inode
f_noroot
f_nospc_create_lnf
f_okgroup
f_opt_extent
f_opt_extent_ext3
f_orphan
f_orphan_dotdot_ft
f_orphan_extents_inode
f_orphan_indirect_inode
f_orphquot
f_overfsblks
f_pre_1970_date_encoding
f_preen
f_quota
f_quota_extent_opt
f_quota_invalid_inum
f_readonly_fsck
f_rebuild_csum_rootdir
f_recnect_bad
f_reconnect
f_rehash_dir
f_resize_inode
f_resize_inode_meta_bg
f_salvage_dir
f_sb_extra_isize
f_selinux
f_shared_blocks_ok
f_short_encrypted_dirent
f_special_ea
f_summary_counts
f_super_bad_csum
f_toobig_extent_dir
f_trunc_dirent_header
f_uninit_cat
f_uninit_dir
f_uninit_ext_past_eof
f_uninit_ext_past_eof2
f_uninit_last_uninit
f_unshare_blocks_no_space
f_unshare_blocks_ok
f_unsorted_EAs
f_unused_itable
f_valid_ea_in_inode
f_verity
f_write_ea_no_extra_isize
f_write_ea_toobig_extra_isize
f_write_ea_toosmall_extra_isize
f_yes
f_yesall
f_yesthenall
f_yesthenno
f_zero_group
f_zero_inode_size
f_zero_super
f_zero_xattr
f_zeroed_ext_header
i_bad_csum
i_bitmaps
i_qcow
i_zero_super
j_corrupt_commit_csum
j_corrupt_commit_tid
j_corrupt_descr_csum
j_corrupt_descr_tid
j_corrupt_ext_jnl_sb_block
j_corrupt_ext_jnl_sb_csum
j_corrupt_journal_block
j_corrupt_revoke_block
j_corrupt_revoke_csum
j_corrupt_revoke_rcount
j_corrupt_sb_csum
j_corrupt_sb_magic
j_ext_dumpe2fs
j_ext_long_revoke_trans
j_ext_long_trans
j_long_revoke_trans
j_long_revoke_trans_mcsum_32bit
j_long_revoke_trans_mcsum_64bit
j_long_trans
j_long_trans_mcsum_32bit
j_long_trans_mcsum_64bit
j_recover_csum2_32bit
j_recover_csum2_64bit
j_recover_csum3_64bit
j_short_revoke_trans
j_short_revoke_trans_mcsum_64bit
j_short_trans
j_short_trans_64bit
j_short_trans_mcsum_64bit
j_short_trans_old_csum
j_short_trans_open_recover
j_short_trans_recover
j_short_trans_recover_mcsum_64bit
j_short_uncommitted_trans
j_short_uncommitted_trans_mcsum_64bit
m_64bit_flexbg
m_bigjournal
m_dasd_bs
m_desc_size_128
m_devdir
m_error_behavior
m_extent_journal
m_hugefile
m_hugefile_slack
m_image_mmp
m_large_file
m_mcsum_extjournal
m_meta_bg
m_minrootdir
m_mkfs_overhead
m_mmp
m_mmp_bad_csum
m_mmp_bad_magic
m_no_opt
m_offset
m_quota
m_raid_opt
m_resize_inode_meta_bg
m_root_owner
m_rootdir
m_std
m_uninit
progs
r_1024_small_bg
r_32to64bit
r_32to64bit_expand_full
r_32to64bit_meta
r_32to64bit_move_itable
r_64bit_big_expand
r_64to32bit
r_64to32bit_meta
r_bigalloc_big_expand
r_expand_full
r_ext4_big_expand
r_ext4_small_bg
r_fixup_lastbg
r_fixup_lastbg_big
r_inline_xattr
r_meta_bg_shrink
r_min_itable
r_move_inode_int_extent
r_move_itable
r_move_itable_nostride
r_move_itable_realloc
r_resize_inode
scripts
t_change_uuid
t_change_uuid_mcsum
t_change_uuid_mcsum_mounted
t_change_uuid_mcsum_seed_mounted
t_change_uuid_mounted
t_dangerous
t_disable_changed_csum_seed
t_disable_changed_csum_seed_mounted
t_disable_csum_seed
t_disable_mcsum
t_disable_mcsum_noinitbg
t_disable_mcsum_yesinitbg
t_disable_meta_csum_and_seed
t_enable_csum_seed
t_enable_mcsum
t_enable_mcsum_ext3
t_enable_mcsum_initbg
t_ext_jnl_fail
t_ext_jnl_rm
t_format_csum_seed
t_iexpand_full
t_iexpand_mcsum
t_mmp_1on
t_mmp_2off
t_project_1on
t_project_2off
t_project_3on
t_project_4off
t_quota_1on
t_quota_2off
t_replay_and_set
t_uninit_bg_rm
u_compound_bad_rollback
u_compound_rollback
u_corrupt_blk_csum
u_corrupt_blk_csum_force
u_corrupt_hdr_csum
u_corrupt_key_csum
u_debugfs_opt
u_dryrun
u_e2fsck_opt
u_errorout
u_force
u_force_dryrun
u_incomplete
u_mke2fs
u_mke2fs_opt
u_mke2fs_opt_oddsize
u_mke2fs_opt_offset
u_not_undo
u_offset
u_onefile_bad
u_resize2fs_opt
u_revert_64bitmcsum_onefile
u_revert_all_onefile
u_revert_upgrade_to_64bitmcsum
u_tune2fs
u_tune2fs_opt
u_undo_undo
u_wrong_fs
Makefile.in
README
filter.sed
mke2fs.conf.in
run_e2fsck
run_mke2fs
test_config
test_one.in
test_script.in
test_post
README
These images contain various forms of corrupted filesystem which
e2fsck will correct.  They are used as a regression test for e2fsck.

The test_script program will automatically run e2fsck against the
filesystem images.  It will run them two times, and display the exit
status for each run.  The meaning of the exit status codes are as
follows:

	0		No filesystem errors were detected
	1		Filesystem errors detected, but corrected
	2		System should be rebooted
	4		Filesystem errors left uncorrected
	8		Operational error (generally means internal error,
				or filesystem error that the e2fsck was not
				prepared to deal with)
	16		Usage or syntax error

During the regression test, the first exit code should be 1, and the
second exit code should be 0.  In other words, all (with one
exception) of the test filesystems in this directory have some sort of
filesystem corruption, which e2fsck should fix on the first pass.
After the first pass, e2fsck should leave a fully consistent
filesystem with no detectable errors found in the second pass.  The
exception is the okgroup.img filesystem, which contains no errors, and
so both exit codes should be 0.

NOTE: It appears that at least some versions of the original e2fsck do
not exit with an exit status code of 1 after correcting filesystem
errors.  So if you modify the test_script to try running these
filesystems against the original e2fsck, you will have to inspect the
test_script.log file manually.

--------------------------------------------------------------
Here's a one-line descriptons of the various test images in this
directory:

baddir.img		Filesystem with a corrupted directory
badbblocks.img		Filesystem with illegal blocks in the bad block inode.
badinode.img		Filesystem with various different corrupted inode
				entries.
badlkcnt.img		Filesystem with deleted files with non-zero link count
badroot.img		Filesystem with a file for a root directory
badtable.img		Filesystem with blocks shared between the bitmaps and
				inode table blocks and the bad block inode
bbfile.img		Filesystem with files containing bad blocks
bitmaps.img		Filesystem with corrupted inode and block bitmaps
dirlink.img		Filesystem with a hard link to a directory
dup.img			Filesystem with blocks claimed by two different files
dup2.img		Filesystem with blocks claimed by three different files
dupfsblks.img		Filesystem with blocks claimed by a file and
				inode/block bitmaps and inode tables
dupsuper.img		Filesystem with blocks claimed by a file and
				the superblock / group descriptors
end-bitmap.img		Filesystem with corruption at the end of the block 
				bitmap
expand.img		Tests e2fsck's ability to expand lost+found if 
				necessary
lpf.img			Filesystem with disconnected files and no /lost+found 
				directory
mke2fs2b.img		Filesystem with corruption similar to that
				created by mke2fs version 0.2b
noroot.img		Filesystem with a deleted root directory
okgroup.img		Filesystem that's exactly 8193 blocks long 
				(otherwise OK)
overfsblks.img		Filesystem with overlapping inode and block bitmaps
symlinks.img		Filesystem with bad symlink sizes