• Home
  • History
  • Annotate
  • only in /external/e2fsprogs/tests/
History log of /external/e2fsprogs/tests/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e0ed7404719a9ddd2ba427a80db5365c8bad18c0 20-Mar-2014 JP Abgrall <jpa@google.com> Switch back to 1.42.9 now that there is a fix

Revert "Revert changes that moved from 1.41.14 to 1.42.9"

This reverts commit 65f0aab98b20b5994a726ab90d355248bcddfffd.
akefile.in
_loaddump/expect
_loaddump/script
_special_files/expect
_special_files/name
_special_files/script
efaults/e_script
_brel_bma/script
_icount_normal/name
_irel_ima/script
_bad_disconnected_inode/expect.1
_baddir/expect.1
_badroot/expect.1
_crashdisk/expect.1
_desc_size_128/expect.1
_desc_size_128/expect.2
_desc_size_128/image.gz
_desc_size_128/name
_desc_size_bad/expect.1
_desc_size_bad/expect.2
_desc_size_bad/script
_dup/expect.1
_dup2/expect.1
_dup4/script
_dup_ba/expect.1
_dup_ba/expect.2
_dup_ba/image.gz
_dup_ba/name
_dup_de/script
_dup_resize/script
_dupdot/expect.1
_end-bitmap/expect.1
_eofblocks/expect.1
_eofblocks/expect.2
_eofblocks/image.gz
_eofblocks/name
_expand/expect.1.gz
_ext_journal/name
_ext_zero_len/expect.1
_ext_zero_len/expect.2
_ext_zero_len/image.gz
_ext_zero_len/name
_extent_interior_start_lblk/expect.1
_extent_interior_start_lblk/expect.2
_extent_interior_start_lblk/image.gz
_extent_interior_start_lblk/name
_extent_oobounds/expect.1
_extent_oobounds/expect.2
_extent_oobounds/script
_h_badnode/script
_h_badroot/script
_h_normal/script
_h_reindex/script
_h_unsigned/script
_illbbitmap/expect.1
_illibitmap/expect.1
_illitable/expect.1
_illitable_flexbg/expect.1
_imagic_fs/script
_invalid_bad_inode/expect.1
_invalid_bad_inode/expect.2
_invalid_bad_inode/image.gz
_invalid_bad_inode/name
_invalid_extent_symlink/expect.1
_invalid_extent_symlink/expect.2
_invalid_extent_symlink/image.gz
_invalid_extent_symlink/name
_jnl_32bit/expect.0
_jnl_32bit/expect.1
_jnl_32bit/expect.2
_jnl_32bit/image.gz
_jnl_32bit/name
_jnl_32bit/script
_jnl_64bit/expect.0
_jnl_64bit/expect.1
_jnl_64bit/expect.2
_jnl_64bit/image.gz
_jnl_64bit/name
_jnl_64bit/script
_jnl_errno/expect.0
_jnl_errno/expect.1
_jnl_errno/expect.2
_jnl_errno/image.gz
_jnl_errno/name
_jnl_errno/script
_lpf/expect.1
_miss_blk_bmap/expect.1
_misstable/expect.1
_mmp/name
_mmp/script
_mmp_garbage/expect.1
_mmp_garbage/expect.2
_mmp_garbage/name
_mmp_garbage/script
_okgroup/expect.1
_orphan_dotdot_ft/expect.1
_orphan_extents_inode/expect.1
_orphan_extents_inode/expect.2
_orphan_extents_inode/image.gz
_orphan_extents_inode/name
_orphan_indirect_inode/expect.1
_orphan_indirect_inode/expect.2
_orphan_indirect_inode/image.gz
_orphan_indirect_inode/name
_orphan_indirect_inode/script
_overfsblks/expect.1
_preen/expect.1
_rehash_dir/name
_resize_inode/expect
_resize_inode/script
_summary_counts/expect.1
_toobig_extent_dir/expect.1
_toobig_extent_dir/expect.2
_toobig_extent_dir/image.gz
_toobig_extent_dir/name
_uninit_ext_past_eof/expect.1
_uninit_ext_past_eof/expect.2
_uninit_ext_past_eof/image.gz
_uninit_ext_past_eof/name
_uninit_ext_past_eof2/expect.1
_uninit_ext_past_eof2/expect.2
_uninit_ext_past_eof2/image.gz
_uninit_ext_past_eof2/name
_uninit_last_uninit/script
_unused_itable/expect.1
_unused_itable/name
_zero_group/expect.1
_zero_inode_size/expect.1
_zero_super/expect.1
_zero_xattr/expect.1
_zero_xattr/image.gz
_zero_xattr/name
_zero_xattr/script
ilter.sed
ilter_dumpe2fs
_e2image/i_e2image.md5
_e2image/image1024.orig.bz2
_e2image/image2048.orig.bz2
_e2image/image4096.orig.bz2
_e2image/script
_bigjournal/expect.1
_bigjournal/script
_dasd_bs/expect.1
_desc_size_128/expect.1
_desc_size_128/script
_extent_journal/expect.1
_extent_journal/script
_large_file/expect.1
_meta_bg/expect.1
_mkfs_overhead/expect
_mkfs_overhead/expect.1
_mkfs_overhead/script
_mmp/expect.1
_mmp/script
_no_opt/expect.1
_quota/expect.1
_quota/script
_raid_opt/expect.1
_raid_opt/script
_root_owner/expect.1
_root_owner/script
_std/expect.1
_uninit/expect.1
ke2fs.conf.in
rogs/Makefile.in
rogs/crcsum.c
rogs/test_icount.c
_1024_small_bg/script
_64bit_big_expand/script
_bigalloc_big_expand/script
_ext4_big_expand/script
_ext4_small_bg/script
_inline_xattr/expect
_inline_xattr/script
_min_itable/expect
_min_itable/image.gz
_min_itable/name
_min_itable/script
_move_itable/expect
_move_itable/script
_resize_inode/expect
_resize_inode/script
un_e2fsck
un_mke2fs
cripts/mkdup
cripts/resize_test
_ext_jnl_rm/script
_mmp_1on/name
_mmp_1on/script
_mmp_2off/name
_mmp_2off/script
_quota_1on/name
_quota_1on/script
_quota_2off/name
_quota_2off/script
est_config
est_one.in
est_post
est_script.in
_mke2fs/script
_tune2fs/script
65f0aab98b20b5994a726ab90d355248bcddfffd 06-Mar-2014 JP Abgrall <jpa@google.com> Revert changes that moved from 1.41.14 to 1.42.9

Revert "e2fsck: Don't use e2fsck_global_ctx unless HAVE_SIGNAL_H"
commit e80e74c41d85ff93f3d212ba6512340f48054a93.

Revert "Merge remote-tracking branch 'linaro/linaro-1.42.9' into aosp_master"
This reverts commit e97b2b6fc82f840e84dfc631b87f21be44ff2421, reversing
changes made to 7e2fb9d09c245eba70ee008b78007315e9c0f1df.

Revert "Prepare for upstream 1.42.9"
This reverts commit 7e2fb9d09c245eba70ee008b78007315e9c0f1df.

Bug: 13340735
Change-Id: If48b153a95ef5f69f7cdccb00e23524abff3c5a8
Signed-off-by: JP Abgrall <jpa@google.com>
akefile.in
_loaddump/expect
_loaddump/script
_special_files/expect
_special_files/name
_special_files/script
efaults/e_script
_brel_bma/script
_icount_normal/name
_irel_ima/script
_bad_disconnected_inode/expect.1
_baddir/expect.1
_badroot/expect.1
_crashdisk/expect.1
_desc_size_128/expect.1
_desc_size_128/expect.2
_desc_size_128/image.gz
_desc_size_128/name
_desc_size_bad/expect.1
_desc_size_bad/expect.2
_desc_size_bad/script
_dup/expect.1
_dup2/expect.1
_dup4/script
_dup_ba/expect.1
_dup_ba/expect.2
_dup_ba/image.gz
_dup_ba/name
_dup_de/script
_dup_resize/script
_dupdot/expect.1
_end-bitmap/expect.1
_eofblocks/expect.1
_eofblocks/expect.2
_eofblocks/image.gz
_eofblocks/name
_expand/expect.1.gz
_ext_journal/name
_ext_zero_len/expect.1
_ext_zero_len/expect.2
_ext_zero_len/image.gz
_ext_zero_len/name
_extent_interior_start_lblk/expect.1
_extent_interior_start_lblk/expect.2
_extent_interior_start_lblk/image.gz
_extent_interior_start_lblk/name
_extent_oobounds/expect.1
_extent_oobounds/expect.2
_extent_oobounds/script
_h_badnode/script
_h_badroot/script
_h_normal/script
_h_reindex/script
_h_unsigned/script
_illbbitmap/expect.1
_illibitmap/expect.1
_illitable/expect.1
_illitable_flexbg/expect.1
_imagic_fs/script
_invalid_bad_inode/expect.1
_invalid_bad_inode/expect.2
_invalid_bad_inode/image.gz
_invalid_bad_inode/name
_invalid_extent_symlink/expect.1
_invalid_extent_symlink/expect.2
_invalid_extent_symlink/image.gz
_invalid_extent_symlink/name
_jnl_32bit/expect.0
_jnl_32bit/expect.1
_jnl_32bit/expect.2
_jnl_32bit/image.gz
_jnl_32bit/name
_jnl_32bit/script
_jnl_64bit/expect.0
_jnl_64bit/expect.1
_jnl_64bit/expect.2
_jnl_64bit/image.gz
_jnl_64bit/name
_jnl_64bit/script
_jnl_errno/expect.0
_jnl_errno/expect.1
_jnl_errno/expect.2
_jnl_errno/image.gz
_jnl_errno/name
_jnl_errno/script
_lpf/expect.1
_miss_blk_bmap/expect.1
_misstable/expect.1
_mmp/name
_mmp/script
_mmp_garbage/expect.1
_mmp_garbage/expect.2
_mmp_garbage/name
_mmp_garbage/script
_okgroup/expect.1
_orphan_dotdot_ft/expect.1
_orphan_extents_inode/expect.1
_orphan_extents_inode/expect.2
_orphan_extents_inode/image.gz
_orphan_extents_inode/name
_orphan_indirect_inode/expect.1
_orphan_indirect_inode/expect.2
_orphan_indirect_inode/image.gz
_orphan_indirect_inode/name
_orphan_indirect_inode/script
_overfsblks/expect.1
_preen/expect.1
_rehash_dir/name
_resize_inode/expect
_resize_inode/script
_summary_counts/expect.1
_toobig_extent_dir/expect.1
_toobig_extent_dir/expect.2
_toobig_extent_dir/image.gz
_toobig_extent_dir/name
_uninit_ext_past_eof/expect.1
_uninit_ext_past_eof/expect.2
_uninit_ext_past_eof/image.gz
_uninit_ext_past_eof/name
_uninit_ext_past_eof2/expect.1
_uninit_ext_past_eof2/expect.2
_uninit_ext_past_eof2/image.gz
_uninit_ext_past_eof2/name
_uninit_last_uninit/script
_unused_itable/expect.1
_unused_itable/name
_zero_group/expect.1
_zero_inode_size/expect.1
_zero_super/expect.1
_zero_xattr/expect.1
_zero_xattr/image.gz
_zero_xattr/name
_zero_xattr/script
ilter.sed
ilter_dumpe2fs
_e2image/i_e2image.md5
_e2image/image1024.orig.bz2
_e2image/image2048.orig.bz2
_e2image/image4096.orig.bz2
_e2image/script
_bigjournal/expect.1
_bigjournal/script
_dasd_bs/expect.1
_desc_size_128/expect.1
_desc_size_128/script
_extent_journal/expect.1
_extent_journal/script
_large_file/expect.1
_meta_bg/expect.1
_mkfs_overhead/expect
_mkfs_overhead/expect.1
_mkfs_overhead/script
_mmp/expect.1
_mmp/script
_no_opt/expect.1
_quota/expect.1
_quota/script
_raid_opt/expect.1
_raid_opt/script
_root_owner/expect.1
_root_owner/script
_std/expect.1
_uninit/expect.1
ke2fs.conf.in
rogs/Makefile.in
rogs/crcsum.c
rogs/test_icount.c
_1024_small_bg/script
_64bit_big_expand/script
_bigalloc_big_expand/script
_ext4_big_expand/script
_ext4_small_bg/script
_inline_xattr/expect
_inline_xattr/script
_min_itable/expect
_min_itable/image.gz
_min_itable/name
_min_itable/script
_move_itable/expect
_move_itable/script
_resize_inode/expect
_resize_inode/script
un_e2fsck
un_mke2fs
cripts/mkdup
cripts/resize_test
_ext_jnl_rm/script
_mmp_1on/name
_mmp_1on/script
_mmp_2off/name
_mmp_2off/script
_quota_1on/name
_quota_1on/script
_quota_2off/name
_quota_2off/script
est_config
est_one.in
est_post
est_script.in
_mke2fs/script
_tune2fs/script
18a1444b4f1e6a0948fd38fa0de382d86cfe04de 31-Dec-2013 Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> Add files that would normally be generated by the e2fsprogs build system

Android doesn't run ./configure and friends, so it has to rely on
pre-populated versions of the autogenerated files.

This is somewhat bogus (e.g. hardcoded little-endian reference in
lib/ext2fs/ext2_types.h) and should at some point be fixed, but it's
what Android has always done, not a regression from the 1.41.14 branch.

Also, don't #include config.h which we don't generate (we pass what it
usually contains as -D parameters from Android.mk) anywhere.

Add a new Android.mk file for the quota library.

Change-Id: I162c6327fee5bd06261d9cdcc34bda10f04a6f21
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
rogs/crcsum.c
rogs/hold_inode.c
rogs/random_exercise.c
rogs/test_icount.c
rogs/test_rel.c
9f90b2e632ece3a78a53e170303b383ab944f284 26-Dec-2013 Theodore Ts'o <tytso@mit.edu> tests: fix stray newline printed when running r_min_itable

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_min_itable/expect
_min_itable/script
22b83f628080088fb901b1d001ed47f0de64cd93 16-Dec-2013 Phillip Susi <psusi@ubuntu.com> e2image: perform in-place move

If given at least one offset and only one file, assume source
and dest are the same, and do an in place move.

Signed-off-by: Phillip Susi <psusi@ubuntu.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_e2image/script
aafd3615509282a6cf1296782c7a5b25b5e94278 25-Dec-2013 Theodore Ts'o <tytso@mit.edu> tests: use the in-tree binaries in the test f_extent_oobounds

Fix the f_extent_oobounds test so that it uses binaries built in the
tree, instead of the binaries in the system PATH (which might not
exist in a chroot environment) when creating the test image.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_extent_oobounds/script
2bc30417541deffca795db8ec4e7f7ccb616dc3f 23-Dec-2013 Andreas Dilger <adilger@dilger.ca> debugfs, e2fsck: fix s_desc_size handling

The s_desc_size in the superblock specifies the group descriptor
size in bytes, but in various places the EXT4_FEATURE_INCOMPAT_64BIT
flag implies that the descriptor size is EXT2_MIN_DESC_SIZE_64BIT
(64 bytes) instead of checking the actual size. In other places,
the s_desc_size field is used without checking for INCOMPAT_64BIT.

In the case of ext2fs_group_desc() the s_desc_size was being ignored,
and assumed to be sizeof(struct ext4_group_desc), which would result
in garbage for any but the first group descriptor. Similarly, in
ext2fs_group_desc_csum() and print_csum() they assumed that the
maximum group descriptor size was sizeof(struct ext4_group_desc).
Fix these functions to use the actual superblock s_desc_size if
INCOMPAT_64BIT.

Conversely, in ext2fs_swap_group_desc2() s_desc_size was used
without checking for INCOMPAT_64BIT being set.

The e2fsprogs behaviour is different than that of the kernel,
which always checks INCOMPAT_64BIT, and only uses s_desc_size to
determine the offset of group descriptors and what range of bytes
to checksum.

Allow specifying the s_desc_size field at mke2fs time with the
"-E desc_size=NNN" option. Allow a power-of-two s_desc_size
value up to s_blocksize if INCOMPAT_64BIT is specified. This
is not expected to be used by regular users at this time, so it
is not currently documented in the mke2fs usage or man page.

Add m_desc_size_128, f_desc_size_128, and f_desc_bad test cases to
verify mke2fs and e2fsck handling of larger group descriptor sizes.

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_desc_size_128/expect.1
_desc_size_128/expect.2
_desc_size_128/image.gz
_desc_size_128/name
_desc_size_bad/expect.1
_desc_size_bad/expect.2
_desc_size_bad/script
_desc_size_128/expect.1
_desc_size_128/script
fd5e00e1d0113fdbf28a546d8dff0366fb3c9a4f 23-Dec-2013 Andreas Dilger <adilger@dilger.ca> tests: delete temporary resize test files

Since commit 5ad07acad if $TMP cannot hold large test filesystems
for resize testing the resize_test creates temporary test files
in the local working directory. Since it overrides TMPFILE locally
the calling program does not delete the generated file correctly.

Delete the large $TMPFILE within resize_test if it passes, but leave
it for debugging if the test failed.

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
cripts/resize_test
5ad07acadcc522d4963c43ab094f9e5bb7508bfa 03-Dec-2013 Andreas Dilger <adilger@dilger.ca> tests: check backing filesystem can handle large file

The new resize tests create 2TB test files, but tmpfs in kernels
before 3.1 have a max file size of 256GB. Ext3 may also have
a size limit for smaller blocksize filesystems.

Fix the resize_test script to verify that $TMPFILE can be resized
to the final test size, and if that fails try creating the file on
the local filesystem instead of in $TMPDIR. If that cannot hold
the large filesystem, skip the test.

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Tested-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
_64bit_big_expand/script
_bigalloc_big_expand/script
_ext4_big_expand/script
cripts/resize_test
43075b42bdff509cc567bd870a32072edf05d04c 14-Oct-2013 Niu Yawei <niu@whamcloud.com> quota: fix disabling quota, add quota tests

Update all superblock copies when disabling the quota feature.

Added basic tests for the quota feature.

Signed-off-by: Niu Yawei <niu@whamcloud.com>
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
akefile.in
_quota/expect.1
_quota/script
_quota_1on/name
_quota_1on/script
_quota_2off/name
_quota_2off/script
128c943ef2a0a82b8a4a8a9ca66f459e107bc877 13-Oct-2013 Theodore Ts'o <tytso@mit.edu> tests: remove version number dependency in r_min_itable

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_min_itable/expect
_min_itable/script
832cb612f8c1c10525fe438206d4fe5c6d38a4e7 12-Oct-2013 Darrick J. Wong <darrick.wong@oracle.com> e2fsprogs: add (optional) sparse checking to the build

Run sparse against source files when building e2fsprogs with 'make C=1'. If
instead C=2, it configures basic ext2 types for bitwise checking with sparse,
which can help find the (many many) spots where conversion errors are
(possibly) happening.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
rogs/Makefile.in
7447da02f05699894c6f277f2518bd00ffc33906 01-Oct-2013 Theodore Ts'o <tytso@mit.edu> tests: add test for resize2fs -M with inode table in middle of block group

Eric Sandeen reported that Fedora's mke2fs when compiled for ppc was
creating a file system which caused problems with resize2fs -M.
Closer examination showed that the problem was file system which
looked like this:

Filesystem features: ext_attr dir_index filetype sparse_super
Inode count: 512
Block count: 1247
...

Group 0: (Blocks 1-1024)
Primary superblock at 1, Group descriptors at 2-2
Block bitmap at 66 (+65), Inode bitmap at 67 (+66)
Inode table at 68-99 (+67)

Group 1: (Blocks 1025-1246)
Backup superblock at 1025, Group descriptors at 1026-1026
Block bitmap at 1090 (+65), Inode bitmap at 1091 (+66)
Inode table at 1092-1123 (+67)

It's not obvious to me why Fedora's ppc mke2fs is creating file
systems like this (I can't reproduce this on debian ppc systems), but
resize2fs -M should be able to deal with such file systems, which is
what this test is designed to check.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_min_itable/expect
_min_itable/image.gz
_min_itable/name
_min_itable/script
d45170717a834152b22ca8a72b9e079c80938f65 27-Sep-2013 Eric Whitney <enwlinux@gmail.com> tests: add another test for uninit extents past eof

Commit d3f32c2db8 was intended to detect extents found outside their
proper location in the extent tree, including invalid extents at the
end of an extent block. However, it incorrectly reported legal
uninitialized extents created by fallocate() at the end of file with
the FALLOC_FL_KEEP_SIZE flag as false positives. xfstests
generic/263 (among others) caught this problem, while the e2fsprogs
test f_uninit_ext_past_eof did not. The latter test failed to
detect the problem in part because it uses a test file whose i_size
is 0.

Add a test derived from the fsx-based test case in xfstests
generic/263 consisting of a file with non-zero length, more than
four extents total, and two uninitialized extents past EOF to
reliably reproduce commit d3f32c2db8's false positive behavior.

Signed-off-by: Eric Whitney <enwlinux@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
_uninit_ext_past_eof2/expect.1
_uninit_ext_past_eof2/expect.2
_uninit_ext_past_eof2/image.gz
_uninit_ext_past_eof2/name
c8ec2bad18fdaa842f786f3b37c9320a3411aea3 29-Jul-2013 Theodore Ts'o <tytso@mit.edu> e2fsck: correctly deallocate invalid extent-mapped symlinks

The function deallocate_inode() in e2fsck/pass2.c was buggy in that it
would clear out the inode's mode and flags fields before trying to
deallocate any blocks which might belong to the inode.

The good news is that deallocate_inode() is mostly used to free inodes
which do not have blocks: device inodes, FIFO's, Unix-domain sockets.

The bad news is that if deallocate_inode() tried to free an invalid
extent-mapped inode, it would try to interpret the root of the extent
node as block numbers, and would therefore mark various file system
metadata blocks (the superblock, block group descriptors, the root
directory, etc.) as free and available for allocation. This was
unfortunate.

(Try running an older e2fsck against the test file system image in the
new test f_invalid_extent_symlink, and then run e2fsck a second time
on the fs image, and weep.)

Fortunately, this kind of file system image corruption appears to be
fairly rare in actual practice, since it would require a very unlucky
set of bits to be flipped, or a buggy file system implementation.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_invalid_extent_symlink/expect.1
_invalid_extent_symlink/expect.2
_invalid_extent_symlink/image.gz
_invalid_extent_symlink/name
dd50ef87432284d93b9f39178c4fab242d76654e 29-Jul-2013 Theodore Ts'o <tytso@mit.edu> e2fsck: check extent-mapped directories with really large logical blocks

E2fsck was missing a check for directories with logical blocks so
large that i_size > 2GB. Without this check the test image found in
the new test f_toobig_extent_dir will cause e2fsck to die with a
memory allocation failure:

Error storing directory block information (inode=12, block=0, num=475218819): Memory allocation failed
e2fsck: aborted

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reported-by: Andrey Melnikov <temnota.am@gmail.com>
_toobig_extent_dir/expect.1
_toobig_extent_dir/expect.2
_toobig_extent_dir/image.gz
_toobig_extent_dir/name
42b61c50e5af99a10fc56975ecd08ab71e4f00e8 08-Jul-2013 Theodore Ts'o <tytso@mit.edu> libext2fs, tests: allow /etc/mtab file to be missing

The environment variable EXT2FS_NO_MTAB_OK will suppress the error
code EXT2_NO_MTAB_FILE when the /etc/mtab file can not be found. This
allows the e2fsprogs regression test suite to be run in chroots which
might not have an /etc/mtab file.

By default will still want to complain if the /etc/mtab file is
missing, since we really don't want to discourage distributions and
purveyors of embedded systems from running without an /etc/mtab file.
But if it's missing it only results in a missing sanity check that
might cause file system corruption if the file system is mounted when
programs such as e2fsck, tune2fs, or resize2fs is running, so there is
no potential security problems that might result if this environment
variable is set inappropriately.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
est_config
dc9cc7006a61d0ef82ee4e1dee133998c6040765 16-Jun-2013 Andreas Dilger <adilger@dilger.ca> mke2fs: don't set root dir UID/GID automatically

Don't change the root directory's UID/GID automatically just because
mke2fs was run as a non-root user. This can be confusing for users,
and is not flexible for non-root installation tools that need to
create a filesystem with different ownership from the current user.

Add the "-E root_owner[=uid:gid]" option to mke2fs so that the user
and group can be explicitly specified for the root directory. If
the "=uid:gid" argument is not specified, the current UID and GID
are extracted from the running process, as was done in the past.

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
_root_owner/expect.1
_root_owner/script
2a83b3c3741bdc9a1b2af73114c778f4b21a9ab1 16-Jun-2013 Andreas Dilger <adilger@dilger.ca> mke2fs: sort option parsing, deprecate "-R"

A minor cleanup to order the command-line option parsing in
alphabetical order, except for "-E" and "-R", which need to
be co-located.

Print a message that the "-R" option is deprecated. It has
been deprecated since 2005 (commit c6a44136b9b).

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
_raid_opt/script
f9fd342e568dbadaadbb0b242f14271cb384c38b 16-Jun-2013 Andreas Dilger <adilger@dilger.ca> tests: clean up sed filtering of test output

The sed filters for test outputs that are used to remove build and
test specific information (such as version strings, dates, times,
UUIDs) were unconditionally deleting the first line of output. This
would normally contain the tool version string, but in some cases
contained other information that was being lost. This can lead to
difficulty debugging test failures.

The sed filtering has been changed to only remove the actual version
strings. As well, similar filter strings were duplicated throughout
many scripts, and "sed" and "tr" were often called multiple times in
a pipeline. These have been consolidated into a single filter.sed
file to avoid having to maintain these filters in multiple places.

In a few cases, accidentally deleted messages have been restored to
the expect output for the tests. In other cases, trivial whitespace
has been changed in the expect files.

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
_loaddump/script
_special_files/script
_jnl_32bit/expect.0
_jnl_32bit/script
_jnl_64bit/expect.0
_jnl_64bit/script
_jnl_errno/expect.0
_jnl_errno/script
_orphan_indirect_inode/expect.1
_preen/expect.1
_resize_inode/script
ilter.sed
ilter_dumpe2fs
_bigjournal/expect.1
_dasd_bs/expect.1
_extent_journal/expect.1
_large_file/expect.1
_meta_bg/expect.1
_mkfs_overhead/script
_mmp/expect.1
_no_opt/expect.1
_raid_opt/expect.1
_std/expect.1
_uninit/expect.1
_inline_xattr/script
_move_itable/expect
_move_itable/script
_resize_inode/expect
_resize_inode/script
un_e2fsck
un_mke2fs
e2e389a1d54515dae096c3d47028bfaa3f2621b6 07-Jun-2013 Theodore Ts'o <tytso@mit.edu> tests: add new test f_extent_oobounds

This tests creates a file system where the last entry in one leaf
block overlaps with logical block range in the first entry of the next
leaf block.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_extent_oobounds/expect.1
_extent_oobounds/expect.2
_extent_oobounds/script
5dfd5ef88d2c285050b7f120818e51045cfe845e 25-Apr-2013 Theodore Ts'o <tytso@mit.edu> tests: add new test f_zero_xattr

E2fsck previously was complaining with zero-length extended attributes
if they appeared in the in-inode xattr space. Test to make sure
e2fsck is now happy with such xattrs.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_zero_xattr/expect.1
_zero_xattr/image.gz
_zero_xattr/name
_zero_xattr/script
9bd95a472c85e9a883811bccae687b7c30f2536d 22-Apr-2013 Theodore Ts'o <tytso@mit.edu> crcsum: remove the -b option since ext2fs_crc32c_be is dropped in 1.43.x

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
rogs/crcsum.c
e79a9395b382e831c125d000d2bf16ba4b6253d4 01-Apr-2013 Theodore Ts'o <tytso@mit.edu> tests: add more tests for off-line resizing

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_1024_small_bg/script
_64bit_big_expand/script
_bigalloc_big_expand/script
_ext4_big_expand/script
_ext4_small_bg/script
cripts/resize_test
28e66624031d272bbe1e9cff1f6403c0bb0a1e2c 01-Apr-2013 Theodore Ts'o <tytso@mit.edu> tests: create crcsum progam to support resizing tests

The only checksum program which we can reliably count upon being
installed on all systems is "sum", which is not a particular robust
checksum. The problem with using md5sum or sha1sum is it hat it may
not be installed on all systems. So create a crcsum program which is
used so we can validate that a data file on a resized file system has
not been corrupted.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
rogs/Makefile.in
rogs/crcsum.c
est_config
390e49aab7e96e9087f31870b0e876d95ed8d590 15-Jan-2013 Theodore Ts'o <tytso@mit.edu> tests: create test for debugfs creating special files

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_special_files/expect
_special_files/name
_special_files/script
b4944f654cac5f70edd80d12e59bf1212047cb5d 21-Dec-2012 Theodore Ts'o <tytso@mit.edu> tests: add test of an incorrect interior node in an extent tree

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_extent_interior_start_lblk/expect.1
_extent_interior_start_lblk/expect.2
_extent_interior_start_lblk/image.gz
_extent_interior_start_lblk/name
c498cb11d3e72e41af760bd882675f44db8b77e7 23-Sep-2012 Theodore Ts'o <tytso@mit.edu> mke2fs: fix progress suppression to make regression tests reliable

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
est_config
b2f5ce5516a0b6d261876884139043c8e6579f0a 21-Sep-2012 Theodore Ts'o <tytso@mit.edu> mke2fs: throttle allocating groups progress as well

Throttle updates for the "Allocating Groups" progress updates to once
a second as well. We now do this throttling in libext2fs, so we don't
have to do this for each of mke2fs's progress updates, and because the
updates from ext2fs_allocate_tables() come from within libext2fs
anyway.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_resize_inode/expect
_dasd_bs/expect.1
_extent_journal/expect.1
_large_file/expect.1
_meta_bg/expect.1
_mmp/expect.1
_no_opt/expect.1
_raid_opt/expect.1
_std/expect.1
_uninit/expect.1
12f48b0caa366e7a02ac8ad57af4ecf0b8bb3778 10-Sep-2012 Andreas Dilger <adilger@dilger.ca> tests: kill debugfs on interrupted MMP test

If the f_mmp test is interrupted during its test run, then it can
leave debugfs busy-looping in the background. Since f_mmp is a
relatively long-running test, and is likely to be running during
a parallel test run, this can happen fairly often.

Set a signal trap for the f_mmp test script being killed, so that
the background debugfs command will always be killed by the test.

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
_mmp/script
a3e87bcc32a21b1420a15385e0183d58dcaf19b1 17-Sep-2012 Theodore Ts'o <tytso@mit.edu> mke2fs: disable progress reporting in mke2fs.conf for regression tests

Add a configuration knob so the regression tests can disable progress
reporting. This fixes a potential lack of predictability since the
progress reports are now time based (once a second) which is
problematic for regression tests which are comparing the expected
output of mke2fs.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_resize_inode/expect
_dasd_bs/expect.1
_extent_journal/expect.1
_large_file/expect.1
_meta_bg/expect.1
_mmp/expect.1
_no_opt/expect.1
_raid_opt/expect.1
_std/expect.1
_uninit/expect.1
ke2fs.conf.in
ff07d436fc092427d609c34f630fd1c36e58e121 12-Jun-2012 Andreas Dilger <adilger@whamcloud.com> tests: allow e2fsck tests to run on OS/X

The "mktemp" program requires a template on OS/X. Allow the test
TMPFILE to be created in the local /tmp directory for both OS/X
and Linux.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
est_one.in
e130a16e83d8f039cab692393ceaf43d66c8add1 12-Jun-2012 Theodore Ts'o <tytso@mit.edu> tests: add two more tests of orphaned inode handling

Add two tests, f_orphan_indirect_inode, and f_orphan_extents_inode,
which tests the bug fixes in the two previous commits:

e2fsck: update global free blocks/inodes count when truncating orphan inodes
libext2fs: fix block iterator for extents when truncating inodes

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_orphan_extents_inode/expect.1
_orphan_extents_inode/expect.2
_orphan_extents_inode/image.gz
_orphan_extents_inode/name
_orphan_indirect_inode/expect.1
_orphan_indirect_inode/expect.2
_orphan_indirect_inode/image.gz
_orphan_indirect_inode/name
_orphan_indirect_inode/script
8d12c46a22965179cae1e3b47778fdee5efeb513 11-Jun-2012 Tao Ma <boyu.mt@taobao.com> tests: add new test f_zero_extent_length

If all of the extents in the last extent tree block (ETB) in a
non-trivial extent tree contain uninitialized extents which are after
the end of the file as defined by i_size, the hueristics will
incorrectly estimate the last entry (and hence the node's e_len field)
in the last entry of each level of the extent tree.

As Tao Ma has noted, since e2fsck was requiring that the length
(e_len) field of interior nodes be non-zero, this was causing false
failures where e2fsck would declare that the extent tree was
corrupted.

This was fixed in commit 9c40d14841: "e2fsck: only check for
zero-length leaf extents". Add a regression test case to ensure that
this issue remains fixed.

Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
_uninit_ext_past_eof/expect.1
_uninit_ext_past_eof/expect.2
_uninit_ext_past_eof/image.gz
_uninit_ext_past_eof/name
eb92f5741fdbb968045d49a2cad153fe7e21c32e 01-Jun-2012 Theodore Ts'o <tytso@mit.edu> tests: fix the e2fsck test script to handle a missing test name

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
un_e2fsck
be1b8c6fe8bbb9c78cc3f9d1f963618e7c5823a7 01-Jun-2012 Theodore Ts'o <tytso@mit.edu> tests: add new test to validate errno handling in the journal superblock

Add a new regression test f_jnl_errno

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_jnl_errno/expect.0
_jnl_errno/expect.1
_jnl_errno/expect.2
_jnl_errno/image.gz
_jnl_errno/name
_jnl_errno/script
f3331df6bb5d380efd72e07fc9b40c998b355412 29-May-2012 Andreas Dilger <adilger@whamcloud.com> tests: use make rules to run tests in parallel

Change the e2fsck/mke2fs/tune2fs/e2image/debugfs regression tests to
be driven by Makefile rules instead of by a script loop. This allows
the tests to be run in parallel like a build and reduces testing time
significantly.

One major change to the tests themselves is to printing the test name,
description, and status together after the test has passed or failed,
to avoid mixing lines from the tests. The other major change is to
use unique temporary filenames for each test, which was mostly handled
already via b4db1e4c7461a50e18c9fd135b9f1ba6f27e4390, but in some
cases temporary files are changed to use $test_name.tmp to avoid any
collision between running tests.

On my old 2-CPU system it reduced the testing time from 160s to 40s.
Much of the savings is from the MMP test delays running in parallel.
It still takes the time of the slowest test, f_mmp_garbage, though
there will be ongoing benefit in the future as more tests are added
since the wallclock time will not increase linearly for each test.

Tests were run with various combinations of "make -j", and "make -j2"
through "make -j44" repeatedly without any test failures.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
akefile.in
_loaddump/expect
_loaddump/script
efaults/e_script
_brel_bma/script
_icount_normal/name
_irel_ima/script
_dup4/script
_dup_de/script
_dup_resize/script
_ext_journal/name
_h_badnode/script
_h_badroot/script
_h_normal/script
_h_reindex/script
_h_unsigned/script
_imagic_fs/script
_mmp/script
_mmp_garbage/script
_rehash_dir/name
_resize_inode/script
_uninit_last_uninit/script
_unused_itable/name
_e2image/script
_mkfs_overhead/script
_mmp/script
_inline_xattr/script
_move_itable/script
_resize_inode/script
un_e2fsck
_ext_jnl_rm/script
_mmp_1on/script
_mmp_2off/script
est_one.in
est_post
est_script.in
_mke2fs/script
_tune2fs/script
108e6581fccaf8dd2f8a01d2eb5a02b0478240c7 21-May-2012 Theodore Ts'o <tytso@mit.edu> tests: fix f_jnl_64bit so that it actually has a 64-bit journal

The previous image did not have a 64-bit journal so it wouldn't
properly test the 64-bit journal format.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_jnl_64bit/expect.0
_jnl_64bit/expect.1
_jnl_64bit/expect.2
_jnl_64bit/image.gz
21af16f404cc519525040b1c0286a0fff59be750 12-May-2012 Matthias Andree <matthias.andree@gmx.de> Fix bashisms

These break the self-test suite on *BSD, and on some Linux distros
where /bin/sh is not implemented by bash.

Signed-off-by: Matthias Andree <matthias.andree@gmx.de>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
_mmp/script
_mmp_garbage/script
_mmp/script
_mmp_1on/script
_mmp_2off/script
65ee799fbe038eae24cdb6b02bd7f14cf274862d 02-May-2012 Theodore Ts'o <tytso@mit.edu> tests: add new tests f_jnl_32bit and f_jnl_64bit

Add regression tests which make sure e2fsprogs understands the current
32-bit and 64-bit journal format. If a patch breaks the on-disk
format, these tests should warn us about that.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_jnl_32bit/expect.0
_jnl_32bit/expect.1
_jnl_32bit/expect.2
_jnl_32bit/image.gz
_jnl_32bit/name
_jnl_32bit/script
_jnl_64bit/expect.0
_jnl_64bit/expect.1
_jnl_64bit/expect.2
_jnl_64bit/image.gz
_jnl_64bit/name
_jnl_64bit/script
un_e2fsck
7a069f1ca9dcd6e525d51924d0d873ceb979da5e 11-Apr-2012 Theodore Ts'o <tytso@mit.edu> tests: add new test f_eofblocks

Since we have changed the eofblocks handling in e2fsck (by removing
the need for the EOFBLOCKS_FL flag), we should have a test to check
out how we handle uninitialized and initialized blocks which are exist
beyond i_size, with files that have (and don't have) the EOFBLOCKS_FL.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_eofblocks/expect.1
_eofblocks/expect.2
_eofblocks/image.gz
_eofblocks/name
010dc7b90d97b93907cbf57b3b44f1c1cad234f6 23-Mar-2012 Lukas Czerner <lczerner@redhat.com> e2fsck: remove EXT4_EOFBLOCKS_FL flag handling

We've decided to remove EOFBLOCKS_FL from the ext4 file system entirely,
because it is not actually very useful and it is causing more problems
than it solves. We're going to remove it from e2fsprogs first and then
after the new e2fsprogs version is common enough we can remove the
kernel part as well.

This commit changes e2fsck to not check for EOFBLOCKS_FL. Instead we
simply search for initialized extents past the i_size as this should not
happen. Uninitialized extents can be past the i_size as we can do
fallocate with KEEP_SIZE flag.

Also remove the EXT4_EOFBLOCKS_FL from lib/ext2fs/ext2_fs.h since it is
no longer needed.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
_bad_disconnected_inode/expect.1
010c49cf499738c7a06de13077f31f2a12ecadeb 22-Mar-2012 Theodore Ts'o <tytso@mit.edu> e2fsck: report ext2fs_open2() and ext2fs_check_desc() errors

Print the actual errors returned by ext2fs_open2() and
ext2fs_check_desc() before we fall back to the backup block group
descriptors so that it's easier to see if there is some obscure
failure that is causing e2fsck to think that it should use the backup
block group descriptors.

Addresses-Google-Bug: #6208183

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_crashdisk/expect.1
_illbbitmap/expect.1
_illibitmap/expect.1
_illitable/expect.1
_illitable_flexbg/expect.1
_miss_blk_bmap/expect.1
_misstable/expect.1
_overfsblks/expect.1
_resize_inode/expect
_zero_group/expect.1
_zero_inode_size/expect.1
_zero_super/expect.1
0f30deb3b0afa0b2949ba4cb3af988275ce7f998 19-Mar-2012 Andreas Dilger <adilger@whamcloud.com> tests: have "make testnew" target use local mke2fs

The "make testnew" target in the tests/ subdirectory (used to
help create new test cases) should use the locally-built mke2fs
binary instead of the installed system binary, to avoid cases
where the system binary does not support some new functionality
being tested.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
akefile.in
b9a64a519af790216b6cd5105ccce55ff7f41a09 16-Mar-2012 Theodore Ts'o <tytso@mit.edu> e2fsck: print the current and expected block group checksums

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_illitable_flexbg/expect.1
_unused_itable/expect.1
26c09eb8145a16dcba6c40810d46a78712d253f2 11-Mar-2012 Theodore Ts'o <tytso@mit.edu> e2fsck: check for zero length extent

If an extent has e_len set to zero, the kernel will oops with a
BUG_ON. Unfortunately, e2fsck wasn't catching this case. The kernel
needs to be fixed to notice this case and call ext4_error() instead of
failing an assertion check, but e2fsck should catch this case and
repair it (by deleting the errant extent).

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_ext_zero_len/expect.1
_ext_zero_len/expect.2
_ext_zero_len/image.gz
_ext_zero_len/name
454ac9d56acb643c48222c71f2b0e63926783b17 08-Feb-2012 Andreas Dilger <adilger@whamcloud.com> libext2fs: quiet spurious group checksum errors

If we have to read the backup group descriptor checksums, the UNINIT
flags are cleared to ensure that all of the inodes in the filesystem
are scanned. However, the code that reset the UNINIT flags did not
reset the group checksum, and this produced many spurious error
messages in e2fsck.

Group descriptor 0 checksum is invalid. FIXED.
Group descriptor 1 checksum is invalid. FIXED.
:
:

Recompute checksums after modifying group descriptors to avoid these
error messages. Remove expected error messages in f_illitable_flexbg.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
_illitable_flexbg/expect.1
1f572d1f88628c1e0dc88cb8cfaf2bb480b81e4f 17-Jan-2012 Theodore Ts'o <tytso@mit.edu> libext2fs: display partial path if fs corrupted in ext2fs_get_pathname()

The function ext2fs_get_pathname() used to return EXT2_ET_NO_DIRECTORY
if one of the directories in an inode's pathname is not a directory.
This is not very useful in an emergency, when the file system is
corrupted. This commit will cause ext2fs_get_pathname() to return a
partial pathname, which should help system administrators trying to
use debugfs to investigate a corrupted file system.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_badroot/expect.1
_dupdot/expect.1
_expand/expect.1.gz
_orphan_dotdot_ft/expect.1
499d5ec5582209279bb0cf86672770d77b047871 29-Nov-2011 Theodore Ts'o <tytso@mit.edu> Update Release Notes, Changelogs, version.h, etc. for 1.42 release

Also fixed depfix.sed

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
cripts/mkdup
ebd0a16a24e60e781ae4c1ad6dc415011f3c65f6 28-Nov-2011 Theodore Ts'o <tytso@mit.edu> tests: add test case for multiply claimed blocks with bigalloc

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_dup_ba/expect.1
_dup_ba/expect.2
_dup_ba/image.gz
_dup_ba/name
6d26887991cf3bb3d21c6b9b0035576527c4a27e 12-Nov-2011 Eric Sandeen <sandeen@redhat.com> tests: fix mmp tests on hard 4k devices

Several of the mmp tests were failing on an s390 guest because
direct IO cannot be done on sub-sector sizes, and they were
doing 1k IOs to files on a 4k logical/physical device.

A few tests could just be changed to 4k, but others
needed fixed up output as well.

With this I have all tests passing on s390 again.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_mmp/script
_mmp_garbage/expect.1
_mmp_garbage/expect.2
_mmp_garbage/script
_mmp/expect.1
_mmp/script
_mmp_1on/script
_mmp_2off/script
0c80c44bd08c60f3cd0ad87f12a71a75cac3bcaa 17-Oct-2011 Theodore Ts'o <tytso@mit.edu> libext2fs: ext2fs_[set_]file_acl_block needs to check for 64-bit feature flag

The ext2fs_file_acl_block() and ext2fs_set_file_acl_block() needs to
only check i_file_acl_high if the 64-bit flag is set. This is needed
because otherwise we will run into problems on Hurd systems which
actually use that field for h_i_mode_high.

This involves an ABI change since we need to pass ext2_filsys to these
functions. Fortunately these functions were first included in the
1.42-WIP series, so it's OK for us to change them now. (This is why
we have 1.42-WIP releases. :-)

Addresses-Sourceforge-Bug: #3379227

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_bad_disconnected_inode/expect.1
86db36abfb3e9ec77c482e02ed8de073de4148e3 01-Oct-2011 Theodore Ts'o <tytso@mit.edu> e2fsck: avoid unnecessary reboots in some cases when checking the root fs

If e2fsck modifies certain superblock fields which the kernel doesn't
look at, mark the superblock as dirty without marking the file system
as changed. This will avoid e2fsck signalling the init scripts that a
reboot is necessary. This is safe, because the kernel doesn't
actually look at these superblock fields.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_okgroup/expect.1
_move_itable/expect
_resize_inode/expect
96a8afa7c134ef9239a70f264c35e709737f42cd 28-Sep-2011 Theodore Ts'o <tytso@mit.edu> e2fsck: check for invalid bad block inode

In some cases the bad block inode gets corrupted. If it looks insane,
offer to clear it before trying to interpret it does more harm than
good.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_invalid_bad_inode/expect.1
_invalid_bad_inode/expect.2
_invalid_bad_inode/image.gz
_invalid_bad_inode/name
d9c60e04b3b18b13d7707f1876ac7bce89df10e9 24-Sep-2011 Andreas Dilger <adilger@whamcloud.com> e2fsck: regression tests for INCOMPAT_MMP feature

Add tests for the MMP feature - creating a filesystem with mke2fs
and MMP enabled, enable/disable MMP with tune2fs, disabling the
e2fsck MMP flag with tune2fs after a failed e2fsck, and e2fsck
checking and fixing a corrupt MMP block.

The MMP tests need to be run from a real disk, not tmpfs, because
tmpfs doesn't support O_DIRECT reads, which MMP uses to ensure
that reads from the MMP block are not filled from the page cache.
Using a local disk does not slow down the tests noticably, since
they wait to detect if the MMP block is being modified.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_mmp/name
_mmp/script
_mmp_garbage/expect.1
_mmp_garbage/expect.2
_mmp_garbage/name
_mmp_garbage/script
_mmp/expect.1
_mmp/script
_mmp_1on/name
_mmp_1on/script
_mmp_2off/name
_mmp_2off/script
d90d6a71460d2e3fd57607f90f9abbd1e7d77e3b 24-Sep-2011 Andreas Dilger <adilger@whamcloud.com> tune2fs: kill external journal if device not found

Continue to remove the external journal device even if the device
cannot be found.

Add a test to verify that the journal device/UUID are actually removed
from the superblock. It isn't possible to use a real journal device
for testing without loopback devices and such (it must be a block device)
and this would invite complexity and failures in the regression test.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_ext_jnl_rm/script
d1154eb460efe588eaed3d439c1caaca149fa362 18-Sep-2011 Theodore Ts'o <tytso@mit.edu> Shorten compile commands run by the build system

The DEFS line in MCONFIG had gotten so long that it exceeded 4k, and
this was starting to cause some tools heartburn. It also made "make
V=1" almost useless, since trying to following the individual commands
run by make was lost in the noise of all of the defines.

So fix this by putting the configure-generated defines in lib/config.h
and the directory pathnames to lib/dirpaths.h.

In addition, clean up some vestigal defines in configure.in and in the
Makefiles to further shorten the cc command lines.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
rogs/hold_inode.c
rogs/random_exercise.c
rogs/test_icount.c
rogs/test_rel.c
2bf0739dc040099f1ce6ac03ea6d9a2781aef734 16-Sep-2011 Eric Sandeen <sandeen@redhat.com> test_icount: fclose() before exit

Just to be tidy.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
rogs/test_icount.c
2fa1679adb2be88cddcdc98bed325ac0ce72ef93 16-Sep-2011 Lukas Czerner <lczerner@redhat.com> tests: Print out list of failed tests

Currently we need to grep, list or just search for failed tests when
running 'make check' which is annoying. This commit simply prints out
the list of failed test names at the end of the output.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
est_script.in
d2bfdc7ff15ce7b6b40c087021528ce190ef43c3 16-Sep-2011 Lukas Czerner <lczerner@redhat.com> e2fsprogs: Use punch hole as "discard" on regular files

If e2fsprogs tools (mke2fs, e2fsck) is run on regular file instead of
on block device, we can use punch hole instead of regular discard
command which would not work on regular file anyway. This gives us
several advantages. First of all when e2fsck is run with '-E discard'
parameter it will punch out all ununsed space from the image, hence
trimming down the file system image. And secondly, when creating an
file system on regular file (with '-E discard' which is default), we
can use punch hole to clear the file content, hence we can skip inode
table initialization, because reads from sparse area returns zeros. This
will result in faster file system creation (without the need to specify
lazy_itable_init) and smaller images.

This commit also fixes some tests that would fail due to mke2fs showing
discard progress, hence the output would differ.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
_resize_inode/script
_bigjournal/script
un_mke2fs
faa2dcdad0f5af3945a70bdecc8713b3a74cdf9c 14-Sep-2011 Lukas Czerner <lczerner@redhat.com> mke2fs: Use ext2fs_flush() only once

We are doing ext2fs_flush() twice right now at the end of the mke2fs.
First by directly calling ext2fs_flush() which is intended to write
superblock and fs accounting information. And then it is invoked again
when we are calling ext2fs_close(), only this time, because the fs is
not dirty, we are writing out only superblock.

I think it is bad to call it twice because even when writing only super
block it takes some time on bigger file systems and moreover
ext2fs_close() can fail without any reasonable explanation for the user.
Also ext2fs_flush() is printing out progress and it is confusing for the
users.

Fix all this by removing the ext2fs_flush() and leaving it all to
ext2fs_close(). However we need to introduce new variables to store
check interval and max mount count, because fs structure is freed on
ext2fs_close() and we really want to print those information as the last
info for the user.

[ Fixed type mismatch in a printf format statement -tytso]

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
_extent_journal/expect.1
_uninit/expect.1
906a1cf9b60b336ccf44706c7f1906056282fbf0 03-Sep-2011 Theodore Ts'o <tytso@mit.edu> tests: skip tests that require debugfs if debugfs has not been built

Avoid lots of tests failing if e2fsprogs is compiled with
--disable-debugfs.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_loaddump/script
_dup4/script
_dup_de/script
_dup_resize/script
_imagic_fs/script
_resize_inode/script
_uninit_last_uninit/script
_inline_xattr/script
_move_itable/script
un_mke2fs
est_config
f305fd7f0c65391819f9813512714c932965a842 03-Sep-2011 Theodore Ts'o <tytso@mit.edu> tests: fix i_e2image so it works with valgrind

Since e2image can be optionally compiled out, we tested to see if
e2image was built; but using "test -x $E2IMAGE" fails if e2image is
something like "valgrind --simhints=lax-ioctls ../misc/e2image".
Define and use $E2IMAGE_EXE, much like we have done with e2undo and
resize2fs.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_e2image/script
est_config
92122d324df219a67db52ea3fddd1319ecb9574e 12-Jul-2011 Theodore Ts'o <tytso@mit.edu> tests: add missing m_mkfs_overhead/expect

This file was accidentally dropped during the recent tests /tmp
overhual. Re-adding.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_mkfs_overhead/expect
b4db1e4c7461a50e18c9fd135b9f1ba6f27e4390 09-Jul-2011 Theodore Ts'o <tytso@mit.edu> tests: use /tmp for scratch files

The /tmp directory is often a memory based file system, and using this
can speed up running the regression test suite.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_loaddump/expect
_loaddump/script
_crashdisk/expect.1
_resize_inode/expect
_resize_inode/script
_mkfs_overhead/expect.1
_mkfs_overhead/script
_inline_xattr/expect
_inline_xattr/script
_move_itable/expect
_move_itable/script
_resize_inode/expect
_resize_inode/script
un_e2fsck
est_config
est_script.in
_mke2fs/script
_tune2fs/script
a3efe4842054175d01b465fbe0b29b9be8b800a1 16-Jun-2011 Theodore Ts'o <tytso@mit.edu> e2fsck: fix mysterious "FILE SYSTEM WAS MODIFIED" with no changes

Commit 2a77a784a3 (firest released in e2fsprogs 1.33) compared
superblock summary free blocks and inode counts with the allocation
bitmap counts before starting the file system check proper, and if
they differed, set the superblock and marked it as dirty. If no other
file systme changes were required, this would cause a "*** FILE SYSTEM
WAS MODIFIED ***" message without any explanation of what e2fsck had
changed.

We fix this by only setting the superblock summary free block/inodes
counts if we are skipping a full check, and in non-preen mode, e2fsck
will now print an explicit message stating how the superblock had been
updated.

In a full check, any updates to the superblock free blocks/inodes
fields will be noted in pass5.

This change requires changing a few test results (essentially
reversing the changes made in commit 2a77a784a3).

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_baddir/expect.1
_dup/expect.1
_dup2/expect.1
_end-bitmap/expect.1
_lpf/expect.1
_summary_counts/expect.1
_unused_itable/expect.1
8f36e6925f817ed5086550c97796e09905fbb234 11-Jun-2011 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next
177cb5c7e2b59b40570ca76d8dee383fc1ca8934 11-Jun-2011 Andreas Dilger <adilger@whamcloud.com> e2fsprogs: ignore generated files for "git status"

Ignore files generated by "make" or "make check" in "git status".
Ignore backup files from editing files and generated tags files.
Delete a temporary file in tests/d_loaddump/script at test cleanup.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
_loaddump/script
9b4d06b8de610da96de8733ec7a3ac0a80a3865c 11-Jun-2011 Andreas Dilger <adilger@whamcloud.com> mke2fs: add extent-mapped journal regression test

All of the regression tests in e2fsprogs still use a block-mapped
journal (if any journal at all). Add a simple regression test that
tests extent-mapped journals for both mke2fs and e2fsck.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
_extent_journal/expect.1
_extent_journal/script
ec508342030da1382828faa211280bc41d94a600 11-Jun-2011 Andreas Dilger <adilger@whamcloud.com> mke2fs: add test for large journal with lazy init

Add test for internal journal over 4GB in size, using the
lazy_journal_init and lazy_itable_init features. Otherwise
the filesystem metadata would be too large to reliably run on
test systems, and take too long to create/check the filesystem.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
_bigjournal/expect.1
_bigjournal/script
9e713505ab4216c1391a14aa86a7f49a6026aa46 18-May-2011 Lukas Czerner <lczerner@redhat.com> tests: New i_e2image test to validate image creation/conversion

This commit adds new regression test called i_e2image which should
validate expected behaviour of e2image raw and qcow2 image creation
and qcow2 -> raw image conversion. You can run it with "make check" as
the rest of regression tests.

Testing is performed on three filesystem images with different block
sizes (1024, 2048, 4096). It creates raw and qcow2 images from the
original and then convert qcow2 image back to raw image. The results are
checksummed and compared with pre-prepared results. All md5sums should
stay the same and raw image created from original and qcow2 image should
be the same as well (just for the record).

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
_e2image/i_e2image.md5
_e2image/image1024.orig.bz2
_e2image/image2048.orig.bz2
_e2image/image4096.orig.bz2
_e2image/script
est_config
d3859af33f5bbbc432dedb20e85a5ae62e0fff03 10-May-2011 Aditya Kali <adityakali@google.com> mke2fs: Allow specifying reserved_ratio via mke2fs.conf

This patch adds support for specifying 'reserved_ratio' (percent blocks
reserved for super user, same as '-m' command line option) in mke2fs.conf.
It adds profile_get_double function in profile.c that allows reading
floating point values from profile files.

Signed-off-by: Aditya Kali <adityakali@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
ke2fs.conf.in
214580a339a18b0539b5998d3b47934956a30a1c 21-Feb-2011 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next

Conflicts:
misc/mke2fs.conf.5.in
6a426c97ec2de0968b4cde62e5eab3df605bde33 17-Feb-2011 Eric Sandeen <sandeen@redhat.com> e2fsprogs: enable user namespace xattrs by default

User namespace xattrs are generally useful, and I think extN
is the only filesystem requiring a special mount option to
enable them, when xattrs are otherwise available. So this
change sets that mount option into the defaults, via a
mke2fs.conf option.

Note that if xattrs are config'd off, this will lead to a
mostly-harmless:

EXT4-fs (sdc1): (no)user_xattr options not supported

message at mount time...

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
ke2fs.conf.in
3daf592646b668133079e2200c1e776085f2ffaf 17-Feb-2011 Eric Sandeen <sandeen@redhat.com> e2fsprogs: turn off enforced fsck intervals by default

The forced fsck often comes at unexpected and inopportune moments,
and even enterprise customers are often caught by surprise when
this happens. Because a filesystem with an error condition will
be marked as requiring fsck anyway, I submit that the time-based
and mount-based checks are not particularly useful, and that
administrators can schedule fscks on their own time, or tune2fs
the enforced intervals if they so choose. This patch disables the
intervals by default, and I've added a new mkfs.conf option to
turn on the old behavior of random, unexpected, time-consuming
fscks at boot time. ;)

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
ke2fs.conf.in
da2a5a4baede2a227d2da587eb74ceae66778fbc 23-Dec-2010 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next

Conflicts:
resize/resize2fs.c
a4fdf09414e04e9ecb995aa0af2f525d335987ae 22-Dec-2010 Theodore Ts'o <tytso@mit.edu> libext2fs: Don't use the extended rec_len encoding for standard file systems

If the file system has a blocksize less than 64k, then don't use the
extended rec_len encoding, to be consistent with what the kernel will
do.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_dup3/expect.1
_dupfsblks/expect.1
0358c9f9a43ce0ef33f7891ca9f9d67abd3b4853 13-Dec-2010 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next

Conflicts:
e2fsck/pass4.c
misc/dumpe2fs.c
resize/online.c
e994dc99fe2c22a7d5f717e2a864ac351c022c69 22-Nov-2010 Theodore Ts'o <tytso@mit.edu> Disable lazy inode table initialization when running regression tests

This avoids test failures when running on new kernels that allow lazy
itable initialization.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
ke2fs.conf.in
db0bdb49f49fc3dd14c12439d934a3403a3be9f1 19-Jul-2010 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next

Conflicts:
resize/extent.c
b887f08f959fa3ef4ead9b6e2fd71becf4877a40 05-Jan-2010 Mike Frysinger <vapier@gentoo.org> e2freefrag: Fix getopt bug on machines with unsigned chars

The getopt() function returns an int, not a char. On systems where the
default char is unsigned (like ppc), we get weird behavior where -1 is
truncated to 0xff but compared to (int)-1.

Also fix this same bug for two test programs, test_rel and iscan,
which aren't currently used at the moment.

Addresses-Gentoo-Bug: #299386

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
rogs/test_rel.c
97d26ce9e3589e9f5fa17014467a9730a884d158 07-Jun-2010 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next

Conflicts:
e2fsck/journal.c
e2fsck/pass1.c
e2fsck/pass2.c
misc/mke2fs.c
edc1894e60e9aef274408d322ada84729891a2f0 15-May-2010 Theodore Ts'o <tytso@mit.edu> tests: Use our own mke2fs.conf file

Use a standard, fixed mke2fs.conf file so that if downstream
distributions want to change the mke2fs.conf which is distributed in
the RPM or dpkg file, it won't screw up the regression tests.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
akefile.in
ke2fs.conf.in
53499e86c509d190579433ade88a810ed86caf0c 12-May-2010 Theodore Ts'o <tytso@mit.edu> tests: Add new test f_unused_itable

Add test to make sure e2fsck doesn't end up detaching and sending to
lost+found inodes which are in an bg_itable_unused_region (e.g. if
there was a power failure and bg_itable_unused wasn't updated because
journaling wasn't enabled).

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_unused_itable/expect.1
_unused_itable/expect.2
_unused_itable/image.gz
_unused_itable/name
2291fbb0358be8251df0d611913f49fbb9beb740 10-May-2010 Theodore Ts'o <tytso@mit.edu> e2fsck: Check for cases where EOFBLOCKS_FL is unnecessarily set

Some kernels will crash if EOFBLOCKS_FL is set when it is it not
needed, and this if it is left set when it isn't needed, it is a sign
of a kernel bug.

Addresses-Google-Bug: #2604224

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_bad_disconnected_inode/expect.1
c5b23f6c0e17503630455fb16d1b2035f844acc9 15-Mar-2010 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next
ec65fa57a6ffd6feecf28a5d798e26852aba4d93 15-Mar-2010 Theodore Ts'o <tytso@mit.edu> tests: Add new test f_rehash_dir

Add a new test which tests to make sure e2fsck -D works correctly.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_rehash_dir/expect.1
_rehash_dir/expect.2
_rehash_dir/image.gz
_rehash_dir/script
2d07b3ad98bfe1db5fb1071f53a5338ab6c35522 31-Jan-2010 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next

Conflicts:
configure
lib/ext2fs/alloc_tables.c
misc/mke2fs.c
785f9390461b40c855d77105d83b1e2e2badf7d9 29-Nov-2009 Theodore Ts'o <tytso@mit.edu> tests: Add new test f_holedir2

This tests e2fsck's handling of both direct and extent-mapped
directoris containing holes when the i_size is 0.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_holedir2/expect.1
_holedir2/expect.2
_holedir2/image.gz
_holedir2/name
f4e14505ed19a1527aa69a0474fe3b15ddf8b188 29-Nov-2009 Theodore Ts'o <tytso@mit.edu> e2fsck: Don't rehash directories which can fit in a single directory block

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_dup_de/expect.1
_dup_de/expect.2
b71e01835ff844d5be09ecbf7e51acad4d75447b 17-Nov-2009 Theodore Ts'o <tytso@mit.edu> e2fsck: Fix duplicate directory entries for non-indexed directories

Duplicate directory entries were not necessarily getting found and
fixed for non-indexed directories, since we were sorting these
directories by inode number, and the duplicate entry code assumed the
entries were getting sorted by name or directory name hash.

Addresses-Sourceforge-Bug: #2862551

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_dup_de2/expect.1
_dup_de2/expect.2
_dup_de2/image.gz
_dup_de2/name
95bcea9fc149e349865f9eb30988ad1b4e1c1342 05-Oct-2009 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next

Conflicts:
configure
configure.in
misc/mke2fs.c
695706ca214d9d04666ee46a48f63f6127154a23 05-Oct-2009 Theodore Ts'o <tytso@mit.edu> e2fsck: Interpret negative blkcount in file system problem reports

Non-expert users get confused when they see messages like this:

Illegal block #-1 (2291965952) in inode 176. CLEARED.

So change it to be something a little bit more understandable:

Illegal indirect block (2291965952) in inode 176. CLEARED.

Addresses-SourceForge-Bug: #2871782

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_badbblocks/expect.1
_baddir/expect.1
_baddir2/expect.1
_dupfsblks/expect.1
_h_badnode/expect.1
_h_badroot/expect.1
_h_reindex/expect.1
_salvage_dir/expect.1
a321afa8b7baca0ff90e06c1351b2054e61e11ee 04-Oct-2009 Theodore Ts'o <tytso@mit.edu> tests: Account for new mke2fs topology information

The previous commit adds a new line printed by mke2fs with the
filesystem/device topology information. Update the regression test's
expected output to account for this.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_resize_inode/expect
_dasd_bs/expect.1
_large_file/expect.1
_meta_bg/expect.1
_no_opt/expect.1
_raid_opt/expect.1
_std/expect.1
_uninit/expect.1
4efbac6fed75c29d3d5f1b676b932754653a2ac5 08-Sep-2009 Valerie Aurora Henson <vaurora@redhat.com> Convert uses of super->s_*_blocks_count to ext2fs_*_blocks_count()

Signed-off-by: Valerie Aurora Henson <vaurora@redhat.com>
Signed-off-by: Nick Dokos <nicholas.dokos@hp.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
rogs/test_icount.c
a63745e81cbb476b90c75ca3ca60b9ba4be95cae 08-Sep-2009 Valerie Aurora Henson <vaurora@redhat.com> Use ext2fs_file_acl_block() instead of using .i_file_acl directly

This provides support for 48-bit file acl blocks.

Signed-off-by: Valerie Aurora Henson <vaurora@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_bad_disconnected_inode/expect.1
95fd65bb7fcf84e8d1e207f84b9d5a9f99626a38 24-Aug-2009 Valerie Aurora Henson <vaurora@redhat.com> libext2fs: create generic numeric progress meters and use them

With 64-bit file systems, mke2fs can take a long time to do things
other than write inode tables. I exported the mke2fs numeric progress
meter and used it for allocating group tables and the final file
system flush.

Signed-off-by: Valerie Aurora (Henson) <vaurora@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_resize_inode/expect
_dasd_bs/expect.1
_large_file/expect.1
_meta_bg/expect.1
_no_opt/expect.1
_raid_opt/expect.1
_std/expect.1
_uninit/expect.1
edc9e25634ceba533f9215b0fb2e56bbc0587326 19-Aug-2009 Theodore Ts'o <tytso@mit.edu> f_illitable_flexbg: Add new test

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_illitable_flexbg/expect.1
_illitable_flexbg/expect.2
_illitable_flexbg/image.gz
_illitable_flexbg/name
f4240c8d56520b95f0a8f956ba31e204e105467e 10-Aug-2009 Theodore Ts'o <tytso@mit.edu> libext2fs: Treat uninitialized parts of bitmaps as unallocated

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_uninit/expect.1
c13351f6c53f175696044c0203bb3009af606c64 02-Jul-2009 Theodore Ts'o <tytso@mit.edu> Add support for configure --enable-verbose-makecmds

Some people don't want to see the concise "kernel-style" make output.
This configure option allows build engines that want to see the full
set of commands executed by the makefile to get what they want. Most
people will find this more distracting than useful, unless they need
to debug the Makefiles.

(It is not necessary to rerun configure to enable this verbose make
output temprarily; if a developer wants to do a quick debug of a
directory's makefile, he or she can simply edit the definition of the
$(E) and $(Q) variables in the Makefile; instructions can be found in
the MCONFIG file which is included in at the beginning of every
Makefile.)

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
rogs/Makefile.in
a6a1c0815c045fd12f65546e16d495338097f32a 02-Jul-2009 Theodore Ts'o <tytso@mit.edu> Fix Makefile dependencies for libcom_err

The e2fsprogs makefiles were using the same Makefile variable
LIBCOM_ERR for the link-line arguments as well as the dependencies.
Since LIBCOM_ERR can now include non-file arguments such as
"-lpthread", we need to use a separate DEPLIBCOM_ERR variable that
only has build file dependencies.

Do the same thing for STATIC_LIBCOM_ERR and PROFILED_LIBCOM_ERR.

Addresses-Sourceforge-Patches: #2813809

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
rogs/Makefile.in
8a480350952f6f0fdbce54326b6d847e66368897 22-Jun-2009 Theodore Ts'o <tytso@mit.edu> Fix encoding for rec_len in directories for >= 64k blocksize file systems

Previously e2fsprogs interpreted 0 for a rec_len of 65536 (which could
occur if the directory block is completely empty in 64k blocksize
filesystems), while the kernel interpreted 65535 to mean 65536. The
kernel will accept both to mean 65536, and encodes 65535 to be 65536.
This commit changes e2fsprogs to match.

We add the encoding agreed upon for 128k and 256k filesystems, but we
don't enable support for these larger block sizes, since they haven't
been fully tested.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_dup3/expect.1
_dupfsblks/expect.1
58d29ed48a14154ef9887fb0d8c436cb72d63e23 15-Jun-2009 Theodore Ts'o <tytso@mit.edu> tests: Add --valgrind-leakcheck option to the test_script program

Add an option which runs valgrind with the appropriate options for
finding memory leaks.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
est_script.in
911ec6261568ca56d2d7b9a15f00578c4d127cf4 24-Apr-2009 Theodore Ts'o <tytso@mit.edu> e2fsck: On a 32-bit filesystem, make sure i_file_acl_high is zero

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_file_acl_high/expect.1
_file_acl_high/expect.2
_file_acl_high/image.gz
_file_acl_high/name
9af62fde650003b9f0b67b77b020cfc770f9aa4c 09-Mar-2009 Theodore Ts'o <tytso@mit.edu> tests: Filter out "Lifetime writes" from the dumpe2fs display

The Lifetime writes field will probably not be stable as we add new
features to e2fsprogs, so filter it out to avoid spurious test failures.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
ilter_dumpe2fs
5299580c1ced39e7a6d7ac2717a3d6a3cab299b0 20-Jan-2009 Theodore Ts'o <tytso@mit.edu> Use format strings directly to prevent -Werror=format-security failures

Gcc is too stupid to realize that:

const char *usage="String which has no percent signs";

com_err(progname, 0, usage);

is OK. I refuse to bow to stupidity with:

com_err(progname, 0, "%s", usage);

but I will use the string directly for the sake of people who like to
build with -Werror=format-security.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
rogs/test_icount.c
dd04d05f702be151d6a7312da2b64147d2751de1 02-Jan-2009 Theodore Ts'o <tytso@mit.edu> e2fsck: Remove "ext3" from problem descriptions of the journal

The ext4 filesystem uses journals too, so remove "ext3" from the
problem descriptions involving journals.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_badjour_indblks/expect.1
_badjourblks/expect.1
_extra_journal/expect.1
_miss_journal/expect.1
a558d5dc226efd23f7f5c8e7a3ec044239ed292d 26-Dec-2008 Theodore Ts'o <tytso@mit.edu> Add e2fsck regression test case f_extent_bad_node

This test case is designed to test e2fsck's ability to deal with a
corrupted interior node in an extent tree.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_extent_bad_node/expect.1
_extent_bad_node/expect.2
_extent_bad_node/image.gz
_extent_bad_node/name
7dca4c88f166561031011ed27287818eaa343486 24-Dec-2008 Theodore Ts'o <tytso@mit.edu> e2fsck: When repacking directories, leave slack space for more efficiency

If the directory is packed with no slack space, as soon as any new
directory entries are added, leaf nodes end up getting split and
directory ends up getting very inefficient.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_h_badnode/expect.1
_h_badnode/expect.2
_h_badroot/expect.1
_h_badroot/expect.2
_h_reindex/expect.1
_h_reindex/expect.2
d5a74ff10be2afe155f8b7c1397c75f4275ebeba 09-Dec-2008 Theodore Ts'o <tytso@mit.edu> e2fsck: Fix double-counting of non-contiguous extent-based inodes

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_extents2/expect.1
_extents2/expect.2
0eeec8ac61bf1eaa31533b2be825cd75580829c9 12-Sep-2008 Theodore Ts'o <tytso@mit.edu> Fix compiling under diet libc

Some recent changes had caused diet libc support to bitrot. Fix up
missing header files and other portability fixups needed for dietlibc.
(Many of these changes also improve general portability.)

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
est_config
d1070d91b4de8438dc78c034283baaa19b31d25e 29-Aug-2008 Theodore Ts'o <tytso@mit.edu> tune2fs, mke2fs: Change default directory hash algorithm to half_md4

The half_md4 algorithm is faster and more collision resistant. Let's
switch to it as the default.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_dasd_bs/expect.1
_large_file/expect.1
_meta_bg/expect.1
_no_opt/expect.1
_raid_opt/expect.1
_std/expect.1
_uninit/expect.1
_move_itable/expect
_resize_inode/expect
efc6f628e15de95bcd13e4f0ee223cb42115d520 28-Aug-2008 Theodore Ts'o <tytso@mit.edu> Remove trailing whitespace for the entire source tree

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
rogs/random_exercise.c
rogs/test_icount.c
rogs/test_rel.c
rogs/test_rel.h
674c0cc4cb137c6362cb1ae71b6db5cbccbad83a 27-Aug-2008 Theodore Ts'o <tytso@mit.edu> ext2fs_mkjournal(): Don't allocate an extra block to the journal

Addresses-Sourceforge-Bug: 1483791

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_badjour_indblks/expect.1
_badjour_indblks/expect.2
_badjourblks/expect.1
_badjourblks/expect.2
_miss_journal/expect.1
_miss_journal/expect.2
0f3c108363b9c1d56b29bd601bfbe7938999e7d7 25-Aug-2008 Theodore Ts'o <tytso@mit.edu> Remove trailing space from the description of the r_move_itable test

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_move_itable/name
e5e12db959d3c18f6cf4ac938a14f68be0a89acc 24-Aug-2008 Andreas Dilger <adilger@sun.com> fix e2fsck error message for bad htree depth

Fix error message to print the depth of a corrupt htree directory.

Signed-off-by: Andreas Dilger <adilger@sun.com>
Signed-off-by: Kalpak Shah <kalpak.shah@sun.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
_h_badnode/expect.1
63b5e354d926413d365eeff8a6d5347b3fb212d0 11-Aug-2008 Theodore Ts'o <tytso@mit.edu> e2fsck: Fix check to see if an extent-based file is fragmented

Also added support for "e2fsck -E fragcheck" which issues a
comprehensive report of discontiguous file extents.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_loaddump/expect
_badjour_indblks/expect.1
_badjour_indblks/expect.2
_dup_resize/expect.2
_extents2/expect.1
_extents2/expect.2
_full_bg/expect.1
_full_bg/expect.2
_uninit_last_uninit/expect.1
_uninit_last_uninit/expect.2
_zero_inode_size/expect.1
_zero_inode_size/expect.2
_dasd_bs/expect.1
_large_file/expect.1
_std/expect.1
_uninit/expect.1
2a7bfe835317bb9f3ebcd20079b2bb800f4b9eaa 13-Jul-2008 Theodore Ts'o <tytso@mit.edu> Flush stdio buffers before calling setbuf()

On Solaris setbuf() will discard any pending output to the stream, so
make we call fflush() before calling setbuf().

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
rogs/test_icount.c
rogs/test_rel.c
318824c1bb7b73edfe66ae4976676c37eacd0c58 13-Jul-2008 Theodore Ts'o <tytso@mit.edu> Fix Solaris shell script portability issues

Solaris ships with a pathetically ancient shell in /bin/sh,
so fix various shell scripts to accomodate.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
akefile.in
_mke2fs/script
_tune2fs/script
009c02baf90a55b4b2d9c9e3d0a4cfc3e2531640 10-Jul-2008 Theodore Ts'o <tytso@mit.edu> Make ext2fs_check_desc() more stringent to force use of backup superbocks

E2fsck could to do more damage to a filesystem by trying to relocate
inode tables due to corrupted block group descriptors, and the
relocation could seriously damage the filesystem.

This patch enhances ext2fs_check_desk() so it detects more
self-inconsistent block group descriptors, including the cases where
e2sck might be tempted to relocate the inode table, and reports the
block group descriptors as invalid; this will cause e2fsck to attempt
to use the backup superblocks, which hopefully have not been trashed.

Addresses-Sourceforge-Bug: #1840291

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_resize_inode/expect
71ff129e9f5c942ce4d2eb20e269100d15c1a6ae 18-Jun-2008 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint'

Conflicts:

README
resize/online.c
version.h
9ff8ece57d46a9419fc60057547810824881bb45 18-Jun-2008 Theodore Ts'o <tytso@mit.edu> mke2fs, tune2fs, resize2fs: Use floating point to calculate percentages

When calculating the number reserved blocks, use floating point for
better accuracy, since for big filesystems it really makes a
difference. In addition, mke2fs and tune2fs accepts a floating point
number from the user, so they should provide that level of accuracy.

Addresses-Debian-Bug: #452639

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_move_itable/expect
_resize_inode/expect
123b8808460e23fbb42c802c11c19482ddab80a9 08-Jun-2008 Theodore Ts'o <tytso@mit.edu> Update tests to reflect undoe2fs -> e2undo rename

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
est_config
_mke2fs/script
_tune2fs/script
_undoe2fs_mke2fs/script
_undoe2fs_tune2fs/script
81f6857b1520553fc6fec8e159e7dc429aeb4c9b 08-Jun-2008 Theodore Ts'o <tytso@mit.edu> Fix LIBSS dependency problem for tests/test_icount and lib/ss/test_ss

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
rogs/Makefile.in
dfb1d42a5601b5416823cb3ea4894390e26fb4af 03-Jun-2008 Theodore Ts'o <tytso@mit.edu> f_extents2: Add new test case testing e2fsck's support for extents

This test case tests blocks claimed by multiple inodes, as well as
other forms of invalid extents.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_extents2/expect.1
_extents2/expect.2
_extents2/image.gz
_extents2/name
7609f54d7e1791b005d4b762ab2881f9b66474de 25-May-2008 Theodore Ts'o <tytso@mit.edu> Fix m_large_file and r_inline_xattr tests to match with recent changes

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_large_file/expect.1
_inline_xattr/expect
2ec408ef40617e1854354a36a8f37db8262e7873 28-Apr-2008 Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Add test cases for undoe2fs: u_undoe2fs_mke2fs and u_undoe2fs_tune2fs

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
est_config
_undoe2fs_mke2fs/script
_undoe2fs_tune2fs/script
91803d88794be695da904acf46415b5a34f72f1e 13-Aug-2007 Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Fix the resize inode test case

With the new mke2fs changes the output of the
command differs if we run mke2fs on a device that
already have the file system. So erase the file system
before running mke2fs so that output remain as expected.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_resize_inode/script
da292aa9afe3ece2f6ab072ed88933b762ebdf4f 27-Apr-2008 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint'

Conflicts:

tests/m_raid_opt/expect.1
d94cc2eaa68d8bfad342293e73540b867a7b10d9 27-Apr-2008 Theodore Ts'o <tytso@mit.edu> mke2fs: Don't allow the combination of the meta_bg and resize_inode features

The combination of meta_bg and resize_inode leads to a corrupt
filesystem, and it's not really clear it makes any logical sense.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_meta_bg/expect.1
_meta_bg/script
_raid_opt/expect.1
_raid_opt/script
16b851cdae98244e117fe91d93b267fcad1102b3 21-Apr-2008 Theodore Ts'o <tytso@mit.edu> Remove LAZY_BG feature

This simplifies the code, and using the uninit_bg with the inode table
lazily initialized is just as good.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_lazy/expect.1
_lazy/script
_lazy_resize/expect.1
_lazy_resize/script
41a5afa87b0408bc213d72712a0f6fa9177680c4 20-Apr-2008 Theodore Ts'o <tytso@mit.edu> libe2p: Print the s_min_extra_isize and s_wanted_extra_isize fields

Make dumpe2fs and debugfs print out the s_min_extra_isize and
s_wanted_extra_isize fields from the superblock.

Update tests expect files as appropriate.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_dasd_bs/expect.1
_large_file/expect.1
_lazy/expect.1
_lazy_resize/expect.1
_meta_bg/expect.1
_no_opt/expect.1
_raid_opt/expect.1
_std/expect.1
_uninit/expect.1
_move_itable/expect
_resize_inode/expect
2930dad2b20fe4b04ee3e9f5c7a76d8bf63342b0 18-Apr-2008 Theodore Ts'o <tytso@mit.edu> Rename the feature uninit_groups to uninit_bg

Allow the old name of uninit_groups when converting feature names for
backwards compatibility for scripts running mke2fs and tune2fs.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_uninit_last_uninit/script
_uninit/expect.1
_uninit/script
3d43836fda5321dd2f286eef77d238d1da792ce2 19-Feb-2008 Theodore Ts'o <tytso@mit.edu> New mke2fs filesystem and usage types support

Provide mke2fs with a much more sophisticated system for controlling
configuration parameters of a newly created filesystem based on a
split filesystem and usage type system. The -t option to mke2fs was a
deprecated alias to -c; it now specifies a filesystem type (ext2,
ext3, ext4, etc.), while the -T option can now be a comma separated
usage list.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
akefile.in
est_config
ae389208e974c97d69640c5cbb020de0f337e0f7 06-Apr-2008 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next
2efdba5866745be27075ebea103c4fdacca8ca9a 06-Apr-2008 Theodore Ts'o <tytso@mit.edu> Fix m_no_opt regression test

The m_no_opt test has been silently failing since the addition of
mke2fs.conf, since it was trying to use resize_inode on a non-sparse
filesystem. Fix it so it works correctly.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_no_opt/expect.1
_no_opt/script
b89fc30dd7ff8a81b195296299564df9c1ff5433 01-Apr-2008 Theodore Ts'o <tytso@mit.edu> dumpe2fs: Print the group checksum and the block options in a nicer way

Also add support for printing the ITABLE_ZERO flag

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
ilter_dumpe2fs
_lazy/expect.1
_lazy_resize/expect.1
_uninit/expect.1
0cf6e9c9f5f931f03fee2810f6e26ca2ae8a9581 31-Mar-2008 Andreas Dilger <adilger@dilger.ca> Add new regression test: f_uninit_last_uninit

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_uninit_last_uninit/expect.1
_uninit_last_uninit/expect.2
_uninit_last_uninit/name
_uninit_last_uninit/script
0d47b68c2f00959665eecacaf2a2c90b546b3811 31-Mar-2008 Andreas Dilger <adilger@dilger.ca> Split the m_lazy test case into two cases: m_lazy and m_lazy_resize

Split the m_lazy testcase into two tests - one that has resize enabled,
and one that does not. There were previously problems with lazy+resize
because the resize feature consumed blocks in some of the groups.

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_lazy/expect.1
_lazy/script
_lazy_resize/expect.1
_lazy_resize/script
d78ea441a2e52f776cc192cc7d1d8b3be2abd971 31-Mar-2008 Andreas Dilger <adilger@dilger.ca> ext2fs_set_gdt_csum(): Force the last block group to have a valid block bitmap

Never set the UNINIT_BLOCKS flag for the last group since the kernel
doesn't handle the case graefully if there is a full set of blocks in
each blockgroup marked UNINIT_BLOCKS. The kernel should be fixed up,
but in the meantime this avoids hitting the problem, and is more
consistent with lazy_bg not marking the last group UNINIT.

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_uninit/expect.1
205372e24f90d93e55a25c6176bc55a94d304450 24-Mar-2008 Theodore Ts'o <tytso@mit.edu> Add new test case to check e2fsck's response to fast symlinks w/ EXTENTS_FL

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_fast_symlink_extents/expect.1
_fast_symlink_extents/expect.2
_fast_symlink_extents/image.gz
_fast_symlink_extents/name
635e20abc1f650afe4988265150445e05f1c0b90 22-Oct-2007 Jose R. Santos <jrs@us.ibm.com> Add m_uninit test case

Add test case to test for uninit block groups.

Signed-off-by: Jose R. Santos <jrs@us.ibm.com>
Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_uninit/expect.1
_uninit/script
d2e29c950ddcea37bdaddedc4d3b3fdbc27167e4 22-Oct-2007 Jose R. Santos <jrs@us.ibm.com> Add new m_lazy test case

Add test case for lazy bg feature.

Signed-off-by: Jose R. Santos <jrs@us.ibm.com>
Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_lazy/expect.1
_lazy/script
49a7360ba6b986242d9f0f33e102291d2e0dfb47 22-Oct-2007 Jose R. Santos <jrs@us.ibm.com> Make e2fsck uninit block group aware

This patch has all the necesary pieces to open and fix filesystems created
with the uninit block group feature.

Signed-off-by: Jose R. Santos <jrs@us.ibm.com>
Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_dupfsblks/expect.1
_raid_opt/expect.1
abe85c9f1b267c4787af9c9b0d03dcf9600e7187 20-Mar-2008 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next
35efa44d491357dcca91a243bbd4a4d9926fee88 15-Mar-2008 Theodore Ts'o <tytso@mit.edu> Change valgrind options in test_script to conform with valgrind 3.2.3

Newer versions of valgrind seem to have renamed --wierd-hacks to
--sim-hints.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
est_script.in
a040a99b6cc4bf9f10d39747ca6947f0462a2eb2 13-Mar-2008 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint'

Conflicts:

lib/ext2fs/ext2_err.et.in
2a60480627b28a368c82b87c0795c771c1f8769a 13-Mar-2008 Theodore Ts'o <tytso@mit.edu> e2fsck: Use "Clear Htree" instead of "Clear" when the Htree is corrupt

Change the prompt so it is clear to the user that e2fsck will be
clearing the htree information, not the directory inode itself, when
the htree information has proven to be corrupt.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_h_badnode/expect.1
_h_badroot/expect.1
_h_reindex/expect.1
_h_reindex/expect.1.gz
2cd12338395fda301826a88ec7005f4362cc756e 13-Mar-2008 Theodore Ts'o <tytso@mit.edu> e2fsck: Fix directory i_size handling

If a directory's i_size is bigger than the number of blocks, don't try
to allocate extra empty blocks to the end of the directory; there's no
real point to do that. Also, if a directory's i_size is not a
multiple of the blocksize, flag that as a mistake so it can be fixed.

This more elegantly addresses the problem which was found on Bas van
Schaik's filesystem.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_holedir/expect.1
_holedir/expect.2
399033a6ab713bc1f8ebad90e47fced0e7491b62 29-Feb-2008 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint'
d0f24159aac3a6fa39ece6a26e275b9020f0f50c 29-Feb-2008 Theodore Ts'o <tytso@mit.edu> Improve descriptions for the r_move_itable and r_resize_inode tests

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_move_itable/name
_move_itable/script
_resize_inode/name
_resize_inode/script
09fbe0fb330ef8cd851b6044cf5333a138b79074 28-Feb-2008 Eric Sandeen <sandeen@redhat.com> Add regression test for resize2fs moving inodes with inline xattrs

The image contains an inode past the resize point with an inline xattr
value of "propervalue". It also contains deleted inodes which had the
xattr value "oldvalue".

When resize2fs moves the inode, it should copy the xattr as well, so
that post-resize we see "propervalue" not "oldvalue".

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_inline_xattr/expect
_inline_xattr/image.gz
_inline_xattr/name
_inline_xattr/script
a49670e64e28ac3b15e36cb6bd0a8135d3ecdbbb 28-Feb-2008 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint'

Conflicts:

lib/blkid/devname.c
lib/blkid/probe.c
misc/mke2fs.c
misc/tune2fs.c
395529bb4676856a026f5f0c92d494491c3ebb75 22-Feb-2008 Theodore Ts'o <tytso@mit.edu> libe2p: Change Raid to RAID in display option

Update m_raid_opt test so that it reflects the code change.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_raid_opt/expect.1
f159ff32e3b12b53f7d1adbc533f430f70854556 22-Feb-2008 Theodore Ts'o <tytso@mit.edu> mke2fs: Remove warning for inode_size > 128 bytes

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_large_file/expect.1
4b4850271e522663c93c91c7efd1321ee98250a4 02-Feb-2008 Andreas Dilger <adilger@sun.com> e2fsprogs-tests-f_ea_checks.patch

Test case for various types of extended attribute block corruption

Signed-off-by: Andreas Dilger <adilger@sun.com>
_ea_checks/expect.1
_ea_checks/expect.2
_ea_checks/image.gz
_ea_checks/name
ab028098437018539336ec34970ce2bbf507119d 02-Feb-2008 Andreas Dilger <adilger@sun.com> e2fsprogs-tests-f_unsorted_EAs.patch

Test case for allowing unsorted EAs in the fast in-inode space.

Signed-off-by: Andreas Dilger <adilger@sun.com>
_unsorted_EAs/expect.1
_unsorted_EAs/expect.2
_unsorted_EAs/image.gz
_unsorted_EAs/name
0465bee402411ab46a8a9d21e511353e1941d3e3 19-Feb-2008 Theodore Ts'o <tytso@mit.edu> Activate basic f_extents test case

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_extents/expect.1
_extents/expect.2
_extents/name
_extents/script
15d482ba6e46b6979d8d9e9b3b28e0942b626c2e 21-Aug-2007 Theodore Ts'o <tytso@mit.edu> e2fsck: Add support for extents

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_bad_disconnected_inode/expect.1
_bad_disconnected_inode/expect.2
ef80fdc8ad014c55e601018f4f6ec22065c37030 10-Feb-2008 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next
37f009ae2216b52ff27fb05e5f42c37a651763dc 10-Feb-2008 Theodore Ts'o <tytso@mit.edu> Set the C locale in the tests/test_script driver

Since the test_script driver uses [A-Za-z], we need to set the locale
so we don't get bitten on locals where the sort order might be
different.

Addresses-Sourceforge-Bug: #1890526

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
est_script.in
428f6b32a9029e1f0bc2559233954955a6aae64c 28-Jan-2008 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next

Conflicts:

configure
lib/ext2fs/ext2_fs.h
misc/e2image.c
0d1de232a81354a89fdcd1df77531dec07685e2f 28-Jan-2008 Theodore Ts'o <tytso@mit.edu> Create filesystems with the ext_attr feature by default

Since recent kernels have a tendency to set this feature willy-nilly,
let's just enable by default. It's only very old kernels that don't
support it any more.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_dasd_bs/expect.1
_large_file/expect.1
_meta_bg/expect.1
_raid_opt/expect.1
_std/expect.1
_move_itable/expect
_resize_inode/expect
b1631cce648ee87e39b602899d77ad59a81acc66 28-Jan-2008 Theodore Ts'o <tytso@mit.edu> Create new filesystems with 256-byte inodes by default

This makes it easier to upgrade to ext4 in the future, and it speeds
up extended attributes handling --- important on SELinux systems!

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_large_file/expect.1
2628a1d3e1e581512d136486768685542d2649b1 06-Oct-2007 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint'
29cf185826e1a3434c0192bbc7993b142660323c 07-Sep-2007 Theodore Ts'o <tytso@mit.edu> Add test for the case where s_inode_size is zero

Older e2fsck's would crash; e2fsck should now automatically retry
using the backup superblock if it is present.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_zero_inode_size/expect.1
_zero_inode_size/expect.2
_zero_inode_size/image.gz
_zero_inode_size/name
cc8fb0e69dfa57a8c09465b472b53d40eecf93fa 07-Sep-2007 Theodore Ts'o <tytso@mit.edu> Delete the test.img file after running the resize2fs tests

The resize2fs tests, r_move_itable and r_resize_inode, were not
deleting the test.img tmpfile after completing the test.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_move_itable/script
_resize_inode/script
cd538080ab6e4bf64886b42f0bfa2fa47d44d20d 07-Sep-2007 Theodore Ts'o <tytso@mit.edu> e2fsck: If the superblock is corrupt, automatically retry with the backup sb

E2fsck currently only retries with the backup superblock if the
primary superblock is missing (e.g., overwritten with garbage). If
the superblock is just corrupted enough that it looks like ext2/3/4
superblock, but it is corrupt enough that ext2fs_open2() returns an
error, e2fsck stops without retrying. Let's fix this oversight.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_crashdisk/expect.1
_misstable/expect.1
_zero_group/expect.1
_zero_super/expect.1
dd44eb6b7f2fc0d9f7499b479688bbecf132773b 11-Aug-2007 Theodore Ts'o <tytso@mit.edu> Remove e2fsck's swapfs test, since we've removed the functionality

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_swapfs/debugfs.cmd
_swapfs/expect
_swapfs/image
_swapfs/image.gz
_swapfs/name
_swapfs/script
4764a579b4dc7d87fb5b912e40941efdc91cb3a5 22-Jul-2007 Theodore Ts'o <tytso@mit.edu> Fix mke2fs tests to avoid needing any significant ^M (CR) characters

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_mkfs_overhead/expect.1
_no_opt/expect.1
un_mke2fs
bd828a27e2cfec9f14837d9a693e2a414f44bf91 20-Jul-2007 Eric Sandeen <sandeen@redhat.com> Fix test in ext2fs_check_desc() for inode table within block group

The test in ext2fs_check_desc() is off by one; if the inode table
goes all the way to the last block of the block group, it will
falsely assert that it has extended past it. The last block
of a range is start + len -1, not start + len.

You can create (valid) filesystems that will cause e2fsck to complain
via one of the following mkfs commands:

mkfs.ext3 -F -b 1024 /dev/sdb1 2046000000
mke2fs -j -F -b 4096 -m 0 -N 5217280 /mnt/test/fsfile2 327680
mkfs.ext2 -F -b 1024 -m 0 -g 256 -N 3744 fsfile 1024

Addresses-Red-Hat-Bugzilla: #214765

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_full_bg/expect.1
_full_bg/expect.2
_full_bg/image.gz
_full_bg/name
5a92a627f1e067ecfaa2478cfafeca2817cdc69f 22-Jul-2007 Theodore Ts'o <tytso@mit.edu> Properly calculate overhead in ext2fs_initialize()

For some odd geometries*, mkfs will try to allocate inode tables off
the end of the block group and fail, rather than warning that too
many inodes have been requested.

This is because when ext2fs_initialize calculates metadata overhead,
it is only adding in group descriptor blocks and the superblock
if the *last* bg contains them - but the first bg also has all of
the various metadata bits taking up space.

We need to calculate the overhead both for the first block group and
the last block groups separately, since the two different tests need
to know what the overheads are for those two cases, which may be
different.

*for example "mke2fs -b 1024 -m 0 -g 256 -N 3745 fsfile 1024"

(Note, the test here is a little funky; the expected output is
actually a mkfs failure - but a proper failure instead of the
allocator catching the problem at the last minute)

Addresses-Red-Hat-Bugzilla: #241767

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_mkfs_overhead/expect.1
_mkfs_overhead/script
575307cc63d24766ff789262a5cea7b4faf2fa13 09-Jul-2007 Kalpak Shah <kalpak@clusterfs.com> e2fsck: Fix salvage_directory when the last entry's rec_len is too big

Recently, one of our customers found this message in pass2 of e2fsck
while doing some regression testing:

"Entry '4, 0x695a, 0x81ff, 0x0040, 0x8320, 0xa192, 0x0021' in ??? (136554) has
rec_len of 14200, should be 26908."

Both the displayed rec_len and the "should be" value are bogus. The
reason is that salvage_directory sets a offset beyond blocksize
leading to bogus messages.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_baddir2/expect.1
_baddir2/expect.2
_baddir2/image.gz
_baddir2/name
424a3e4a2367f582edeb062ab12f3f95fdf9e31b 08-Jul-2007 Theodore Ts'o <tytso@mit.edu> Remove Changelog files since they're not used after the git migration

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
rogs/ChangeLog
6c9cc5837513808d4f8e7485dc8b50afd9359c86 01-Jul-2007 Theodore Ts'o <tytso@mit.edu> Set LC_ALL instead of LANG in the test suite config

LC_ALL is the "high priority" environment variable that overrides all
others, where as LANG is the lowest priorty environment variable. If
LC_ALL is set, it doesn't matter whether LANG, LANGUAGE, LC_COLLATE,
LC_MESSAGES, and the all the rest are set. This will assure that the
locale when running the test suites is the "C" locale.

Obviates Gentoo patch: e2fsprogs-1.38-tests-locale.patch

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
est_config
d7b64725eecb06b2bbc5e90dc338d8d08152a932 24-Jun-2007 Theodore Ts'o <tytso@mit.edu> Update Release Notes, Changelogs, version.h, etc. for 1.40 release

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
rogs/ChangeLog
8cd1ab88ddcf1a0b1f4d8bd527b33418dd2714de 21-Jun-2007 Kalpak Shah <kalpak@clusterfs.com> New regression test which contains a corrupt ind. block in the journal inode

Signed-off-by: Kalpak Shah <kalpak@clusterfs.com>
Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
hangeLog
_badjour_indblks/expect.1
_badjour_indblks/expect.2
_badjour_indblks/image
_badjour_indblks/image.gz
_badjour_indblks/name
5107d0d196b9c51cf18380b6996b1074afe51df2 21-Jun-2007 Kalpak Shah <kalpak@clusterfs.com> Recreate journal that had been removed previously due to corruption

If the journal had been removed because it was corrupt, the
E2F_FLAG_JOURNAL_INODE flag will be set. If this flag is set, then
recreate the filesystem after checking the filesystem.

Signed-off-by: Kalpak Shah <kalpak@clusterfs.com>
Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
_badjourblks/expect.1
_badjourblks/expect.2
_miss_journal/expect.1
_miss_journal/expect.2
b8b143dbd0c914ef4d5c4fcf0d913eec69c23447 14-Apr-2007 Theodore Ts'o <tytso@mit.edu> Fix typo in name of f_dup4 regression test

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
_dup4/name
3d51ff876e707248a26031beb80ce29c395cd51e 11-Apr-2007 Jim Garlick <garlick@llnl.gov> e2fsck: pass1c terminates early if hard links

I think this is a small buglet in e2fsck: if a file has multiple hard
links, e2fsck pass1c search_dirent_proc() doesn't maintain its count
properly and may return DIRENT_ABORT before it has found containing
directories for all inodes sharing blocks.

Signed-off-by: Jim Garlick <garlick@llnl.gov>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
_dup4/expect.1
_dup4/expect.2
_dup4/name
_dup4/script
62fc8cef4532570f07c4c5aa522f5a31f5b99d3a 08-Apr-2007 Theodore Ts'o <tytso@mit.edu> Make the test_script ignore and skip empty test directories

When patching and unpatching quilt files, empty directories get left
behind in the tests/ directory. Ignore them to avoid false test
failures.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
est_script.in
080fbf2bac2e5430db28b37d870bca4e5fff157d 07-Apr-2007 Theodore Ts'o <tytso@mit.edu> Fix up usage and decrement error messages in the test_icount program

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
rogs/ChangeLog
rogs/test_data/expect.icount
rogs/test_data/test.icount
rogs/test_icount.c
fbc3f90194ca557e377c25f71db242c38c78f836 02-Apr-2007 Theodore Ts'o <tytso@mit.edu> e2fsck: Recover a special file which looks an awful lot like a directory

This is probably only useful in artificial test cases, but it will be
useful if we ever do the "inodes in directory" idea for ext4.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
_dir_bad_mode/expect.1
_dir_bad_mode/expect.2
_dir_bad_mode/image.gz
_dir_bad_mode/name
56c8c592ac48c0fc9772153bb7bdf621b1de0ab9 01-Apr-2007 Theodore Ts'o <tytso@mit.edu> Fix e2fsck to set the filetype of '..' when connecting a dir, to lost+found

If there is an orphaned inode whose '..' entry is pointing at a special
file, the filetype of the '..' entry will set to the type of the special
file. When the orphaned directory is reconnected to /lost+found, the
filetype of the '..' field is not reset to EXT2_FT_DIR, so a second
e2fsck is required to repair the filesystem.

We address this situation by setting the filetype of '..' when we
reconnect the inode to /lost+found.

Addresses Lustre Bug: #11645

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
_orphan_dotdot_ft/expect.1
_orphan_dotdot_ft/expect.2
_orphan_dotdot_ft/image.gz
_orphan_dotdot_ft/name
5e68f0eb8451f16061272011a8a75c5739bad382 13-Nov-2006 Theodore Ts'o <tytso@mit.edu> Check in binary extent test image file into the source tree.

This is not yet ready to be used yet, but add it into the tree so that
future patches don't have to deal with manually adding this binary
image file into the tree.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
_extents/image.gz
_extents/script
f77704e416fca7dbe4cc91abba674d2ae3c14f6f 12-Nov-2006 Theodore Ts'o <tytso@mit.edu> Add directory hashed signed/unsigned hint to superblock

The e2fsprogs and kernel implementation of directory hash tree has a
bug which causes the implementation to be dependent on whether
characters are signed or unsigned. Platforms such as the PowerPC,
Arm, and S/390 have signed characters by default, which means that
hash directories on those systems are incompatible with hash
directories on other systems, such as the x86.

To fix this we add a new flags field to the superblock, and define two
new bits in that field to indicate whether or not the directory should
be signed or unsigned. If the bits are not set, e2fsck and fixed
kernels will set them to the signed/unsigned value of the currently
running platform, and then respect those bits when calculating the
directory hash. This allows compatibility with current filesystems,
as well as allowing cross-architectural compatibility.

Addresses Debian Bug: #389772

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
_dup_de/image.gz
_h_badnode/image.gz
_h_badroot/image.gz
_h_normal/expect.1
_h_normal/expect.2
_h_normal/image.gz
_h_normal/name
_h_reindex/image.gz
_h_unsigned/expect.1
_h_unsigned/expect.2
_h_unsigned/image.gz
_h_unsigned/name
_h_unsigned/script
ilter_dumpe2fs
52325593b1979509dc3f18232b50359e311268cc 11-Nov-2006 Theodore Ts'o <tytso@mit.edu> Add new a new tests make target "checked-failed" which reruns any failed tests

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
akefile.in
5d17119d14fe1276936c85d7986695a4543b1aa1 11-Nov-2006 Theodore Ts'o <tytso@mit.edu> On-disk format definition for huge files

- EXT4_FEATURE_RO_COMPAT_HUGE_FILE (0x0008) - change i_blocks to be
in units of s_blocksize units instead of 512-byte sectors, use
l_i_frag and l_i_fsize as i_blocks_hi (could also be part of 64BIT).

E2fsck and debugfs changed to support i_blocks_hi instead of l_i_frag and
l_i_fsize.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
_bad_disconnected_inode/expect.1
_badinode/expect.1
abf23439d51a3ddbca475b931abebd381ff7ceea 12-Sep-2006 Eric Sandeen <esandeen@redhat.com> Create new ext2fs library inlines: ext2fs_group_{first,last}_block()

Create new ext2fs library inline functions in order to calculate
the starting and ending blocks in a block group.

Signed-off-by: Eric Sandeen <esandeen@redhat.com>
hangeLog
_raid_opt/expect.1
e54635de96a4bea38c7e4e10ae4e6ccbe9472663 06-Aug-2006 Theodore Ts'o <tytso@mit.edu> If diff -u is supported, use it to report test failures.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
akefile.in
est_config
0ac93a00c98af2f44e5d291788c7ccaa3ed239d3 30-May-2006 Matthias Andree <matthias.andree@gmx.de> Change more "echo -n" to "printf" to avoid screen clutter.

Signed-off-by: Matthias Andree <matthias.andree@gmx.de>
_resize_inode/script
_move_itable/script
_resize_inode/script
un_e2fsck
0cbd172def09a01cd8cc2706b202de7dd1f4b8e8 29-May-2006 Theodore Ts'o <tytso@mit.edu> Make test scripts more robust against locale-related environment variables

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
est_config
816ed71416f26f65b06afd119ce82ab9956446ce 24-May-2006 Theodore Ts'o <tytso@mit.edu> Update tests to reflect updated mke2fs.conf file

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
_loaddump/expect
_dasd_bs/expect.1
_large_file/expect.1
_meta_bg/expect.1
_no_opt/expect.1
_raid_opt/expect.1
_std/expect.1
_move_itable/expect
_resize_inode/expect
bc2699f018586f21825e056eb6053686c23804fe 13-May-2006 Theodore Ts'o <tytso@mit.edu> Change mke2fs's layout of RAID-optimized filesystems to be more optimal

When allocating space for the RAID filesystems with the stride parameter,
place each portion of the group's inode table right up after the superblock
(if present) in order to minimize fragmentation of the freespace.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
_raid_opt/expect.1
9dc6ad1ecb0ba3caf14e05279f1cc3cea52095a2 24-Mar-2006 Theodore Ts'o <tytso@mit.edu> Change mke2fs to use /etc/mke2fs.conf as a configuration file

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
est_config
5dd2a6e08d0e65cde6444744a93ed4eb90b400c4 31-Dec-2005 Theodore Ts'o <tytso@mit.edu> Add E2FSCK_CONFIG environment variable

Also, use this environtment variable to make sure that a local
/etc/e2fsck.conf file will not interfere with the regression test
suite.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
est_config
8dceb92407f751d1a8aecd4bfb36d1fe2dc3cf9a 25-Sep-2005 Theodore Ts'o <tytso@mit.edu> E2fsck: fix future times in the superblock's last mount or last write fields

Detect if the superblock's last mount field or last write field is in
the future, and offer to fix if so. (Addresses Debian Bug #327580)

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
_dup_resize/script
cfe7ba49782892747f212b7a541820975a86b37d 09-Aug-2005 Theodore Ts'o <tytso@mit.edu> Add valgrind support to the regression test suite

Add the --valgrind option to the tests/test_script which allows us to
run the e2fsprogs regression test suite under valgrind.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
_loaddump/script
_dup_resize/script
_move_itable/script
_resize_inode/script
est_config
est_script.in
49809dd86379d0c68ee33de0a74dd76e6e6ec133 04-Jul-2005 Theodore Ts'o <tytso@mit.edu> Make e2fsck Pass 1C header consistent with the other headers

Removed the period from the Pass 1C header to make it consistent with
the other e2fsck pass headers.
hangeLog
_bbfile/expect.1
_dup/expect.1
_dup2/expect.1
_dup3/expect.1
_dup_resize/expect.1
_dupfsblks/expect.1
_dupsuper/expect.1
70f75dd76bde4c45da29d41ed17436685e8262e9 04-Jul-2005 Theodore Ts'o <tytso@mit.edu> Add missing changelog file for previous commit (hg changeset: 0502b63a5be9)
hangeLog
f76344fb6f9439ecd5060943930e73cd3b3dd9fe 04-Jul-2005 Theodore Ts'o <tytso@mit.edu> [BUGFIX]: E2fsck will segfault on disconnected inode with extended attribute(s)

This was actually caused by two bugs. The first bug is that if the
inode has been fully fixed up, the code will attempt to remove the
inode from the inode_bad_map without checking to see if this bitmap is
present. Since it is cleared at the end of pass 2, if
e2fsck_process_bad_inode is called in pass 4 (as it is for
disconnected inodes), this would result in a core dump.

The first bug was mostly hidden by a second bug, which caused
e2fsck_process_bad_inode() to consider all inodes without an extended
attribute to be not fixed.

Note: This bug was introduced in e2fsprogs 1.36.

(Addresses Debian Bug: #316736)
_bad_disconnected_inode/expect.1
_bad_disconnected_inode/expect.2
_bad_disconnected_inode/image.gz
_bad_disconnected_inode/name
1f965c8d961ec88a8917b2e99cfb43c4ccdfb19b 01-Jul-2005 Theodore Ts'o <tytso@mit.edu> Update for e2fsprogs 1.38 release.
hangeLog
rogs/ChangeLog
7ae1983a2393efb92d1f6e523266aa61cfbef40f 19-Jun-2005 Theodore Ts'o <tytso@mit.edu> Clean up e2fsck problem description messages for typo's and to make them
easier to understand (sorry, translators).

Add new @m (multiply-claimed) and @n (invalid) expansions for e2fsck
problem descriptions.

Add Dutch translation, and update French translation.

Add an explanation of how the @-expansion and %-exapansion works in
e2fsck/problem.c to make life easier for the translators.

Synchronize and update po files.
_baddir/expect.1
_badinode/expect.1
_badjourblks/expect.1
_badprimary/expect.1
_bbfile/expect.1
_dup/expect.1
_dup2/expect.1
_dup3/expect.1
_dup_resize/expect.1
_dupfsblks/expect.1
_dupsuper/expect.1
_h_badnode/expect.1
_h_badroot/expect.1
_illbbitmap/expect.1
_illibitmap/expect.1
_illitable/expect.1
_miss_journal/expect.1
_preen/expect.1
_recnect_bad/expect.1
d82f890355274ee7ede4ed0465b0d232da78d03c 16-Jun-2005 Theodore Ts'o <tytso@mit.edu> defaults/e_script, run_e2fsck, d_loaddump, f_resize_inode,
f_swapfs, f_move_itable, f_resize_inode, test_config:
Allow the diff options to be set in test_config so that
diff -u can be used on platforms that have it. (To be
done: checking whether diff can support -u in the
configure script.)
hangeLog
_loaddump/script
efaults/e_script
_resize_inode/script
_swapfs/script
_move_itable/script
_resize_inode/script
un_e2fsck
est_config
7793279fc15d9ed8c866ebcd6acdf2973ec8a9a9 08-May-2005 Theodore Ts'o <tytso@mit.edu> Fix the f_dup_resize script to be more portable and not rely on e2fsprogs
already being installed.
_dup_resize/script
5e91614349797fc51c8fbd3b8abbf22c5360baec 14-Apr-2005 Theodore Ts'o <tytso@mit.edu> Don't offer to update or clone the resize inode when e2fsck deals with
multiply claimed blocks.
hangeLog
_dup_resize/expect.1
_dup_resize/expect.2
_dup_resize/name
_dup_resize/script
86a02b5d3dc1cd486ef59daed6d981060c5cb950 09-Apr-2005 Theodore Ts'o <tytso@mit.edu> test_script.in: Make the test script driver exit with a non-zero
status if there are any failed tests.
hangeLog
est_script.in
fd4b28efd311e58811fcb652af003197d019ae29 22-Mar-2005 Theodore Ts'o <tytso@mit.edu> Update for the e2fsprogs 1.37 release.
hangeLog
rogs/ChangeLog
d72e954f45aa9ee6f4c19f6e24e711b3578bfbbf 21-Mar-2005 Theodore Ts'o <tytso@mit.edu> Fix the test image so that it actually has an ea-in-inode.
_valid_ea_in_inode/expect.1
_valid_ea_in_inode/image.gz
ddbe33107e57ecfb24c01a87a699f9a54340fab4 21-Mar-2005 Theodore Ts'o <tytso@mit.edu> Add new test case which exercises the ea-in-inode checker in e2fsck.
hangeLog
_valid_ea_in_inode/expect.1
_valid_ea_in_inode/image.gz
_valid_ea_in_inode/name
_valid_ea_in_inode/script
3eee5e9eed61ab6f635f4e0c236e999564a73b77 06-Feb-2005 Theodore Ts'o <tytso@mit.edu> Update for release of e2fsprogs 1.36.
hangeLog
rogs/ChangeLog
b7aa0d653e4fcfbff3f122e1382fcca090f82a44 05-Feb-2005 Theodore Ts'o <tytso@mit.edu> Remove *.pc files on a "make distclean"

Remove emacs backup files in tests/Makefile on a "make clean"
hangeLog
akefile.in
33db8f80f2b5c5c5d8cd5068205c79f0ea11905b 05-Feb-2005 Theodore Ts'o <tytso@mit.edu> Remove support for --enable-clear-htree; this was
only needed during the early development of the htree patch.
hangeLog
akefile.in
_dup_de/script
_h_badnode/script
_h_badroot/script
_h_normal/script
_h_reindex/script
1e87f8aea2fd81a73dcac93fe9ce0a3f8cffd368 28-Jan-2005 Theodore Ts'o <tytso@mit.edu> f_bad_inode, f_recnect_bad: Adjust test cases to take into
account the change which clears the i_file_acl field earlier.
hangeLog
_badinode/expect.1
_recnect_bad/expect.1
6c313fd4732adbb83d6f9c402300487b6a7e84bb 27-Jan-2005 Theodore Ts'o <tytso@mit.edu> Fix e2fsck to not delete symlinks that contain an extended attribute after
the ext_attr feature flag has been cleared. (Addresses Red Hat Bugzilla
#146284)
hangeLog
_clear_xattr/expect.1
_clear_xattr/expect.2
_clear_xattr/image.gz
_clear_xattr/name
06a6cbd2c8d927760c1dcf0990c6ea5bf831dcee 26-Jan-2005 Theodore Ts'o <tytso@mit.edu> Fix Solaris portability bug in the resize tests.
_move_itable/script
_resize_inode/script
64ad98acbe694e74925ad4e4fc88fd10fd3b3a44 26-Jan-2005 Theodore Ts'o <tytso@mit.edu> resize2fs.c: Fix bug where we don't release the blocks belonging
to the old inode table blocks when we move the inode
table. (Addresses Debian Bug: #290894)
_move_itable/expect
_move_itable/script
550a4afa24be35976edffe578555de30e06c456a 25-Jan-2005 Theodore Ts'o <tytso@mit.edu> E2fsck will now check the individual block group inode and block free counts,
as well as the filesystem-wide inode and block free counts. If any of the
free counts is too large, force a full filesystem check. (Addresses
Debian Bug #291571)
hangeLog
_summary_counts/expect.1
_summary_counts/expect.2
_summary_counts/image.gz
_summary_counts/name
_summary_counts/script
02f61b88741ade4fbddf5f59994915a09ce95539 22-Jan-2005 Theodore Ts'o <tytso@mit.edu> Skip the r_resize_inode test if resize2fs is not compiled (due to
configure's --disable-resizer option)
hangeLog
_resize_inode/script
484ae818e4dd75e304ef34ebebf4bad304e65591 20-Jan-2005 Theodore Ts'o <tytso@mit.edu> r_resize_inode, m_dasd_bs, m_large_file, m_meta_bg, m_no_opt,
m_read_opt, m_std, run_mke2fs, filter_dumpe2fs: Make tests
portable so they pass correctly on a FreeBSD system.
hangeLog
_resize_inode/expect
_resize_inode/script
ilter_dumpe2fs
_dasd_bs/expect.1
_dasd_bs/expect.1.gz
_large_file/expect.1
_large_file/expect.1.gz
_meta_bg/expect.1
_meta_bg/expect.1.gz
_no_opt/expect.1
_no_opt/expect.1.gz
_raid_opt/expect.1
_raid_opt/expect.1.gz
_std/expect.1
_std/expect.1.gz
_resize_inode/expect
_resize_inode/script
un_mke2fs
32237014a1bd0ee2cdec9a54344f84c5c178c75f 18-Jan-2005 Theodore Ts'o <tytso@mit.edu> Various portability fixes for Solaris systems.
hangeLog
akefile.in
est_script.in
ae181fb473cf7414241d535f064dcfff0e04b23e 13-Jan-2005 Matthias Andree <matthias.andree@gmx.de> f_dup_de, r_resize_inode: change ">& /dev/null" to ">/dev/null 2>&1"
for compatibility with FreeBSD. In $DEBUGFS commands, move the
-R arg argument first so that systems with non-GNU getopt()
can see the request argument (they would otherwise stop
parsing at the first non-option argument).
hangeLog
_dup_de/script
_resize_inode/script
de628f7c56b73ab20fb41485752b41d0f2a065c5 08-Jan-2005 Theodore Ts'o <tytso@mit.edu> Fix f_resize_inode test to deal with the renaming of the debugfs command
set_inode to set_inode_field.
_resize_inode/expect
_resize_inode/script
f90c9919b488d08bb59363a94fd1a0d57d61775f 24-Dec-2004 Theodore Ts'o <tytso@mit.edu> Add two new tests, f_resize_inode, and r_resize_inode, to the regression
test suite, which tests e2fsck and reszizefs2, respecitvely.
hangeLog
_resize_inode/expect
_resize_inode/script
_resize_inode/expect
_resize_inode/script
est_config
f581372280214bd494f4876ab39e559f3ef9f60b 15-Dec-2004 Theodore Ts'o <tytso@mit.edu> m_meta_bg, m_no_opt, m_raid_opt: Adjust tests to take into
account the resize inode patch.
hangeLog
_meta_bg/expect.1.gz
_no_opt/script
_raid_opt/expect.1.gz
522798d3428807800d8471f5ac3050b82aa9de97 15-Dec-2004 Theodore Ts'o <tytso@mit.edu> Add install-strip and install-shlibs-strip targets

Use Linux-kernel-style makefile output for "make install"

Update intl/Makefile.in to version from gettext 0.14.1
rogs/ChangeLog
rogs/Makefile.in
47204ff9830b17fc6317f48e88d2039f57a5d10a 30-Nov-2004 Theodore Ts'o <tytso@mit.edu> Use Linux-kernel-style makefile output to make it easier to
see errors/warnings.
rogs/ChangeLog
rogs/Makefile.in
6e4fbbeb500d6aa7aaa193f689356c487d461ede 04-Oct-2004 Richard Mortimer <richm@oldelvet.org.uk> Attempt recovery if the journal contains illegal blocks
hangeLog
_badjourblks/expect.1
_badjourblks/expect.2
_badjourblks/image.gz
_badjourblks/name
56eb4d47492c975b25ab1737a6fffefc80e5c137 18-Sep-2004 Theodore Ts'o <tytso@mit.edu> Remove XSI:isms for greater portability. (Addresses
Debian Bug #255589)
hangeLog
est_script.in
aa5c0a4562fd9f991557311e400cc93972bbea3e 05-May-2004 Theodore Ts'o <tytso@mit.edu> Remove .cvsignore files; they were out of date, and causes lintian
to flame about their presence in the source tarball.
cvsignore
rogs/.cvsignore
b70b1167fec6d90771344d8560a1fc1b8731b9a9 28-Feb-2004 Theodore Ts'o <tytso@mit.edu> Update version number for e2fsprogs 1.35 release.
hangeLog
rogs/ChangeLog
ac0de52b4b6d55072a2baa9bd1efe060a52e64bf 30-Jan-2004 Theodore Ts'o <tytso@mit.edu> Add f_selinux test case.
hangeLog
_selinux/expect.1
_selinux/expect.2
_selinux/image.gz
_selinux/name
b969b1b8a5c13992cadb026114731958644540d8 28-Dec-2003 Matthias Andree <matthias.andree@gmx.de> Fix more compiler warnings.
rogs/test_icount.c
2e5fcce05ea583c480b28bf3b1f2aa427a3dcc07 12-Dec-2003 Theodore Ts'o <tytso@mit.edu> Fix bug in e2fsck: When reconnecting a directory, we may
need to create a lost+found directory. This may
invalidate our pointer to the directory information, so we
must look it up again after calling
e2fsck_reconnect_file(). (Addresses Debian bug #219640).
hangeLog
_lpf2/expect.1
_lpf2/expect.2
_lpf2/image.gz
_lpf2/name
89e9fc4d3c529955d1c6fe2b251c9a94d20f30e2 03-Sep-2003 Theodore Ts'o <tytso@mit.edu> m_meta_bg: New test case to test the meta block group feature.

m_raid_opt: New test case to test raid striping

m_large_file: Fix description

run_e2fsck, run_mke2fs, filter_dumpe2fs: Add dumpe2fs output to
the test output for comparison. Add support for
compressed expect scripts.
hangeLog
_expand/expect.1
_expand/expect.1.gz
_h_reindex/expect.1
_h_reindex/expect.1.gz
ilter_dumpe2fs
_dasd_bs/expect.1
_dasd_bs/expect.1.gz
_large_file/expect.1
_large_file/expect.1.gz
_large_file/script
_meta_bg/expect.1.gz
_meta_bg/script
_no_opt/expect.1
_no_opt/expect.1.gz
_raid_opt/expect.1.gz
_raid_opt/script
_std/expect.1
_std/expect.1.gz
un_e2fsck
un_mke2fs
1cca86f5d886eeda2d3afb1206419ef4642c30ba 01-Sep-2003 Theodore Ts'o <tytso@mit.edu> Add regression tests for mke2fs.

Mke2fs has been modified to honor the MKE2FS_SKIP_PROGRESS,
MKE2FS_DEVICE_SECTSIZE, and MKE2FS_SKIP_CHECK_MSG in order
facilitate the regression testing.
hangeLog
_dup_de/script
_dasd_bs/expect.1
_dasd_bs/script
_large_file/expect.1
_large_file/script
_no_opt/expect.1
_no_opt/script
_std/expect.1
_std/script
un_e2fsck
un_mke2fs
a435ec3449694a8fa299337197cc09624960a3a6 21-Aug-2003 Theodore Ts'o <tytso@mit.edu> Add support for backing up the journal inode location in the
superblock. E2fsck will automatically save the journal information
in the superblock if it is not there already, and will use it if the
journal inode appears to be corrupted. ext2fs_add_journal_inode()
will also save the backup information, so that new filesystems
created by mke2fs and filesystems that have journals added via
tune2fs will also have journal location written to the superblock as
well. Debugfs's logdump command has been enhanced so that it can
use the journal information in the superblock.

The debugfs man page has been improved to more fully describe the
logdump command.

Added two new functions, ext2fs_file_open2() and
ext2fs_inode_io_intern2() which take a pointer to an inode structure;
this is needed so that e2fsck and debugfs can synthesize a
fake journal inode and use it to access the journal.
hangeLog
_bad_local_jnl/expect.1
_badorphan/expect.1
_h_badroot/expect.1
_h_reindex/expect.1
_journal/expect.1
_journal/image.gz
_journal/name
_special_ea/expect.1
8b949fb5817fb997423dc4ae6a31a7369d81f9e5 01-Aug-2003 Theodore Ts'o <tytso@mit.edu> Fix tests so that they work even with --disable-htree.

f_salveage_dir: Remove HTREE flag from the test image's
superblock. (It is not needed).

f_h_reindex: Skip this test of the htree is not enabled

f_dup_de: If htree is not enabled, clear the htree flag, and use
alternate expect scripts for the test.
hangeLog
_dup_de/expect-nohtree.1
_dup_de/expect-nohtree.2
_dup_de/script
_h_reindex/script
_salvage_dir/image.gz
9c7ec178092d6d5be005406c2912ea6e59a996b5 26-Jul-2003 Theodore Ts'o <tytso@mit.edu> Update for 1.34 release.
hangeLog
rogs/ChangeLog
71df0dc393f959277ed985f9d1e6313df9ff9c0a 21-Apr-2003 Theodore Ts'o <tytso@mit.edu> Update for 1.33 release.

Fix typo's in README.subset

Change debian control file so it doesn't bomb out if the EVMS FSIM
is not there, since it is not built on the Hurd. Resolves Debian
bug #189687.
hangeLog
rogs/ChangeLog
44b0ec10697fedfdc525aa9c79dfe02105d4218f 19-Apr-2003 Theodore Ts'o <tytso@mit.edu> test_config: Define DYLD_LIBRAY_PATH so that "make check" works on
Darwin systems when building with shared libraries.
hangeLog
est_config
2a77a784a327835dbf0c8aa92978f201e44fbc26 06-Apr-2003 Theodore Ts'o <tytso@mit.edu> E2fsck now updates the global free block and
inode counters from the block group specific counters
quietly. This is needed for an experimental patch which
eliminates locking the entire filesystem when allocating
blocks or inodes; if the filesystem is not unmounted
cleanly, the global counts may not be accurate.
hangeLog
_baddir/expect.1
_dup/expect.1
_dup2/expect.1
_end-bitmap/expect.1
_lpf/expect.1
1de639452665630cf603d273fe05285f1e62c17f 26-Mar-2003 Theodore Ts'o <tytso@mit.edu> f_h_badnode, f_h_badroot, f_h_reindex: Updated expect script to
remove the optimizing directories message.
hangeLog
_h_badnode/expect.1
_h_badroot/expect.1
_h_reindex/expect.1
bc4066dabe7bade264c30fec920ef431b0bd730a 15-Mar-2003 Theodore Ts'o <tytso@mit.edu> f_dup_de: Added test case provided from Debian bug report #176814
hangeLog
_dup_de/expect.1
_dup_de/expect.2
_dup_de/image.gz
_dup_de/name
ed78c021c3b111d8ab9a51aef5d5156e3004083f 06-Mar-2003 Theodore Ts'o <tytso@mit.edu> Fix up lots of portability problems that caused e2fsprogs not to build successfully
under Solaris.
hangeLog
efaults/e_script
_swapfs/script
un_e2fsck
38513011b951e60abe25d85f10eec53f1fa73b7b 09-Nov-2002 Theodore Ts'o <tytso@mit.edu> Update files for 1.32 release.
hangeLog
rogs/ChangeLog
ae65b29f112542327d05bedded745705fdabe012 09-Nov-2002 Theodore Ts'o <tytso@mit.edu> Update files for 1.31 release.
hangeLog
rogs/ChangeLog
feb44c6955378a0b698886d104808ed2a5644258 08-Nov-2002 Theodore Ts'o <tytso@mit.edu> Skip byteswap tests on --disable-swapfs

Disable certain tests that depend on the byteswapping functions
being present so that "make check" succeeds even if --disable-swapfs
is passed to the configure script.
hangeLog
_swapfs/script
5d823a478f806fddd76391f3f63e61f948c9d849 01-Nov-2002 Theodore Ts'o <tytso@mit.edu> Update files for 1.30 release.
hangeLog
rogs/ChangeLog
ad4fa4660404ed88a3231fee338397af11e041b4 30-Sep-2002 Theodore Ts'o <tytso@mit.edu> Avoid counting directory entries during a directory salvage.

Add additional checks to HTREE directories. We now check the count
and limit fields in the htree header, as well as assuring that the
hash table in each interior node is in ascending order. We also
check to make sure all leaf nodes are have the expected depth in
the tree.

Updated test cases to deal with all of the above.
hangeLog
_h_badnode/expect.1
_h_badroot/expect.1
_h_badroot/expect.2
_h_badroot/image.gz
_h_reindex/expect.1
_h_reindex/expect.2
_h_reindex/image.gz
_h_reindex/name
_salvage_dir/expect.1
_salvage_dir/expect.2
_salvage_dir/image.gz
_salvage_dir/name
c6633059470c28757062daa811ef50265f5f582a 24-Sep-2002 Theodore Ts'o <tytso@mit.edu> Update for 1.29 release.
hangeLog
rogs/ChangeLog
87ee8dcad3b9e42dc0576b9788b9d321076dee5e 31-Aug-2002 Theodore Ts'o <tytso@mit.edu> Update changelogs for 1.28 release
hangeLog
rogs/ChangeLog
0684a4f33b5c268fe12f57fcbc77a880c79ab282 17-Aug-2002 Theodore Ts'o <tytso@mit.edu> Overhaul extended attribute handling. Should now be correct with
respect to the latest V2 bestbits ACL code.
hangeLog
_badinode/expect.1
_badroot/expect.1
_badsymlinks/expect.1
_badtable/expect.1
_dupdot/expect.1
_filetype/expect.1
_illitable/expect.1
_imagic/expect.1
_imagic_fs/expect.1
_lpf/expect.1
_lpffile/expect.1
_mke2fs2b/expect.1
_noroot/expect.1
_recnect_bad/expect.1
_special_ea/expect.1
_special_ea/image.gz
_special_ea/name
_special_ea/script
838e773e7a6899cec10884ad6c3fdcdaef72b82b 01-Aug-2002 Theodore Ts'o <tytso@mit.edu> Change e2fsck to use a red/black tree in pass1b, to remove O(n**2)
algorithms. Makes e2fsck much, much faster in certain rare cases
where the filesystem is severely corrupted.
hangeLog
_bbfile/expect.1
_dup/expect.1
_dup/expect.2
_dup2/expect.1
_dup3/expect.1
_dupfsblks/expect.1
_dupfsblks/expect.2
850d05e9aa405497e57c72090b9561af98b1b661 25-Jul-2002 Theodore Ts'o <tytso@mit.edu> Add e2fsck -D option which optimizes/compresses directories.

General cleanup of rehash code. (Fixed a few bugs, reformatted
code to make it more maintainable, etc.)
_h_badnode/expect.1
_h_badroot/expect.1
b7a00563b22b0ea47ddc7117508c0b8e0d65df43 20-Jul-2002 Theodore Ts'o <tytso@mit.edu> Add support to e2fsck to reindex directories to use hash trees.
hangeLog
_expand/expect.1
_h_badnode/expect.1
_h_badnode/expect.2
_h_badroot/expect.1
_h_badroot/expect.2
503f9e7f6eb331c5b75d7f1ad126f71bcdcfb4e3 26-Jun-2002 Theodore Ts'o <tytso@mit.edu> Add support for the half-MD4 HTREE hash.

Add HTREE root node tests.
hangeLog
_h_badroot/expect.1
_h_badroot/expect.2
_h_badroot/image.gz
_h_badroot/name
_h_badroot/script
_h_normal/script~
8fdc9985c1e2a4467630b33719b7feb281b7b33b 26-Jun-2002 Theodore Ts'o <tytso@mit.edu> Add initial support for htree directories.
hangeLog
akefile.in
_h_badnode/expect.1
_h_badnode/expect.2
_h_badnode/image.gz
_h_badnode/name
_h_badnode/script
_h_normal/expect.1
_h_normal/expect.2
_h_normal/image.gz
_h_normal/name
_h_normal/script
_h_normal/script~
b21bf267783274683a432eea6e5c589eab94123e 10-Jun-2002 Andreas Dilger <adilger@clusterfs.com> Do sanity checking of the number of blocks and inodes in a group for
8192-byte and 16384-byte blocksize filesystems.

Change the default bytes-per-inode ratio of a new filesystem to be at most
one inode per block for large blocksizes.
hangeLog
_16384_block/expect.1
_16384_block/expect.2
_16384_block/image.gz
_16384_block/name
_8192_block/expect.1
_8192_block/expect.2
_8192_block/image.gz
_8192_block/name
da307041e75bdf3b24c1eb43132a4f9d8a1b3844 22-May-2002 Theodore Ts'o <tytso@mit.edu> Check for inodes which are too big (either too many blocks, or
would cause i_size to be too big), and offer to truncate the inode.
Remove old bogus i_size checks.

Add test case which tests e2fsck's handling of large sparse files.
Older e2fsck with the old(er) bogus i_size checks didn't handle
this correctly.
hangeLog
_badsymlinks/expect.1
_big_sparse/expect.1
_big_sparse/expect.2
_big_sparse/image.gz
_big_sparse/name
_lotsbad/expect.1
_lotsbad/expect.2
_lotsbad/image.gz
bcf9c5d4016975c3c2afdb4a4b358569bd3c8681 21-May-2002 Theodore Ts'o <tytso@mit.edu> Fix up Andreas' changeset. Avoid use of dynamic automatic arrays,
and check for EXT2_INDEX_FL for special devices, and consider them to
be invalid if they are set.
hangeLog
_badinode/expect.1
_badsymlinks/expect.1
_filetype/expect.1
b94a052a25d0c524209782e408c31d8ff25a6fe1 18-May-2002 Andreas Dilger <adilger@clusterfs.com> Add more complete tests for symlinks: nul termination of long links and length
Improve the f_badsymlinks test case for these new tests.
hangeLog
_badsymlinks/expect.1
_badsymlinks/expect.2
_badsymlinks/image.gz
_badsymlinks/name
_filetype/expect.1
a8e772498cea7d6d2d84d94c7985c79afb96a4fa 08-Mar-2002 Theodore Ts'o <tytso@mit.edu> Update for 1.27 release.
hangeLog
rogs/ChangeLog
f2d5c937034e6c07391549ef6d46b2c8db086c85 07-Mar-2002 Theodore Ts'o <tytso@mit.edu> Fixed the journal handling so that an offer is made to clear the
journal filesystem in all cases.

Fixed a bug in e2fsck which caused it to give spurious I/O manager
bad messages right before crashes.
hangeLog
_extra_journal/expect.1
_extra_journal/expect.2
_extra_journal/image.gz
_extra_journal/name
_miss_journal/expect.1
_miss_journal/expect.2
_miss_journal/image.gz
_miss_journal/name
_swapfs/image
f122632e6bb8a51126da2c71bdb95fbcb52f51bc 07-Mar-2002 Theodore Ts'o <tytso@mit.edu> E2fsck now prints ranges in pass 5 when printing deltas in
the block and inode bitmaps.
hangeLog
_badorphan/expect.1
_badtable/expect.1
_bbinode/expect.1
_dupsuper/expect.1
_expand/expect.1
_illbbitmap/expect.1
_illibitmap/expect.1
_illitable/expect.1
_imagic/expect.1
_imagic_fs/expect.1
_lotsbad/expect.1
_lpf/expect.1
_messy_inode/expect.1
_miss_blk_bmap/expect.1
_misstable/expect.1
_overfsblks/expect.1
57173d0febd3d6ea911981420945d12ec205ec2c 26-Feb-2002 Theodore Ts'o <tytso@mit.edu> Update Changelog messages to use tytso@mit.edu for all addresses
after September 7, 2001. (Forgot to update my emacs file to get
rid of the tytso@valinux.com address. Oops.)
hangeLog
7d4343d0d05ce69e0a72da5ac34eea415d4c789f 12-Feb-2002 Theodore Ts'o <tytso@mit.edu> Lots of small random portability fixes to make e2fsprogs build
under AIX --- even without the 5L compatibility toolkit, and even
using the uber-crippled AIX native C compiler.
hangeLog
un_e2fsck
est_script.in
31a20a34dabca66cda62f9bc76448be26b64ce35 03-Feb-2002 Theodore Ts'o <tytso@mit.edu> f_swapfs: Fix expect script to deal with extra spaces now printed
by debugfs's ls command.
hangeLog
_swapfs/expect
a5f3f5c19191c0eabd345f9cad2d9159e9bc0084 03-Feb-2002 Theodore Ts'o <tytso@mit.edu> Update files for 1.26 release.
hangeLog
rogs/ChangeLog
f10ff6429b89f3d099dbd7e76c5b7049854a1493 07-Jan-2002 Andreas Dilger <adilger@clusterfs.com> Add new Makefile target "make testnew" which will allow easy testcase
creation for e2fsck.
hangeLog
akefile.in
8cf93332d180e6929d73cd8c855c3a83d6a6648c 16-Dec-2001 Theodore Ts'o <tytso@mit.edu> Fix e2fsck's handling of external journals,and update journal
recovery files from 2.4.17-pre8.
hangeLog
_ext_journal/expect.1
_ext_journal/expect.2
_ext_journal/image.gz
_ext_journal/journal.gz
_ext_journal/script
b3b3d465b1e833af355a41c1c470d8fa3592bc26 30-Nov-2001 Gabriel Paubert <paubert@iram.es> journal.c: fix an endianness bug.
f_badorphan: revert previous, erroneous change.
hangeLog
_badorphan/expect.1
24934b597b0e11e8771bf10edc53f63d8215b8c7 30-Nov-2001 Theodore Ts'o <tytso@mit.edu> f_badorphan, f_journal: Update expect files to reflect the fact
that new e2fsck's will move the .journal file to a hidden
inode.
hangeLog
_badorphan/expect.1
_journal/expect.1
_journal/expect.2
aa4a58ba2492106695951e4a4082c242ca74b06f 27-Nov-2001 Theodore Ts'o <tytso@mit.edu> f_miss_blk_bmap: Add new test which checks for bug in e2fsck
where it wouldn't allocate a missing block bitmap on
filesystems with a blocksize of 2k or 4k.
hangeLog
_miss_blk_bmap/expect.1
_miss_blk_bmap/expect.2
_miss_blk_bmap/image.gz
_miss_blk_bmap/name
62e3e7fe4f32c2186e848f37b7f977835975413e 07-Oct-2001 Theodore Ts'o <tytso@mit.edu> journal.c (clear_v2_journal_fields, e2fsck_journal_load): If the
V2 fields are set on a V1 journal superblock, or an
internal V2 journal has s_nr_users is non-zero, clear the
entire journal superblock beyond the V1 superblock. This
fixes botched V1->V2 updates.

problem.c, problem.h (PR_0_CLEAR_V2_JOURNAL): Add new problem code.

f_bad_local_jnl: New test which tests for a V2 journal with bad
fields caused by a botched V1->V2 upgrade.
hangeLog
_bad_local_jnl/expect.1
_bad_local_jnl/expect.2
_bad_local_jnl/image.gz
_bad_local_jnl/name
fbf91112163add26bd9d44e992afa31a47790588 20-Sep-2001 Theodore Ts'o <tytso@mit.edu> Update changelogs for 1.25 release.
hangeLog
rogs/ChangeLog
fb70775b0f5cb54730a294e88c7c80f0810a871b 04-Sep-2001 Theodore Ts'o <tytso@mit.edu> Update for 1.24a release
hangeLog
rogs/ChangeLog
109624a133f147b13903f59d585b20446a3c538f 31-Aug-2001 Theodore Ts'o <tytso@mit.edu> Update for 1.24 release.
hangeLog
rogs/ChangeLog
943ed874fc76bebf38288ebf0069718375f7f377 27-Aug-2001 Theodore Ts'o <tytso@mit.edu> Add missing log entry showing when we released e2fsprogs 1.23
hangeLog
rogs/ChangeLog
888b29d14b314eb150b0de010c63c0520cc53f87 04-Aug-2001 Andreas Dilger <adilger@clusterfs.com> Ignore .failed and .new files when running e2fsck tests.
est_script.in
9341cf2964281009ee506c17fcd4522cea0ae4bf 05-Aug-2001 Theodore Ts'o <tytso@mit.edu> f_bad_inode, f_badsymlinks: Update expect files to reflect
changes in the problem code texts.

f_swapfs: The image file used by f_swapfs had bugs which got
caught by Andreas' changes to be more strict about
symlinks.
hangeLog
_badinode/expect.1
_badsymlinks/expect.1
_swapfs/image.gz
67052a8aeeca8cd80d1dd33c2792f917573accc8 04-Aug-2001 Andreas Dilger <adilger@clusterfs.com> Add extra checks for bad symlinks, including zero length symlinks,
too long i_size for slow and fast symlinks, i_size_high set, multiple
blocks for slow symlinks.
hangeLog
EADME
0d9ef644d951821c96df7d7d66e72e7840f4763b 04-Aug-2001 Andreas Dilger <adilger@clusterfs.com> Add several tests for bad symlinks, including immutable flags, zero
i_size, too large i_size, and i_size_high set.
_badsymlinks/expect.1
_badsymlinks/expect.2
_badsymlinks/image.gz
_badsymlinks/name
a092c563f736963223029e03be28b2b83b54caf6 28-Jul-2001 Theodore Ts'o <tytso@mit.edu> Update problem message printed when special files have the immutable
flag set. Update the f_filetype test case.
hangeLog
_filetype/expect.1
e667687581ccfdf0a5c830027cd9a499c132b2f2 07-Jul-2001 Theodore Ts'o <tytso@mit.edu> f_badinode: Update expect.1 to match change in invalid symlink
size text.
hangeLog
_badinode/expect.1
67960139d73fb99f579e8447b9f1c743581b6610 23-Jun-2001 Theodore Ts'o <tytso@mit.edu> Update changelogs for 1.22.
hangeLog
rogs/ChangeLog
20a57e98df16645999ae32ee13272c193172c586 23-Jun-2001 Theodore Ts'o <tytso@mit.edu> Filter out CR characters from the output, since BK filtered \r fromthe
expect files. This is needed to make the regression test suite work
again.
hangeLog
efaults/e_script
un_e2fsck
f4f75bae8520ae44e9c593c4d90c7bfdb6b5139a 16-Jun-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog:
Update for 1.21 release.
hangeLog
rogs/ChangeLog
5a9c036bf3d48ca622b08286b5e82bec2cbb6b7a 02-Jun-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, expect.1, image.gz:
f_badinode: Added a fast symlink with an invalid size to test e2fsck's
handling of this case.
RELEASE-NOTES:
Upate last couple of changes for the WIP release.
hangeLog
_badinode/expect.1
_badinode/image.gz
36a23e1806067074f0278de31dc94fe50d840cb0 02-Jun-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog:
Fix typo in ChangeLog.
rogs/ChangeLog
797f5ef14e92294b329e52971d467d7af5b2993e 02-Jun-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, wordwrap.pl:
Makefile.in: Move include/asm/types.h.in to lib/ext2fs/ext2_fs.h.in.
wordwrap.pl: Add some rules which help fix up the dependencies.
Many files:
Move include/asm/types.h.in to lib/ext2fs/ext2_fs.h.in.
rogs/ChangeLog
rogs/Makefile.in
a444dca9a720427d33f641f6cf36e675352759ed 01-Jun-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, expect.1, expect.2, image.gz, name:
f_dup3: New test case which checks handling of blocks claimed multiple
times by one inode which weren't handled correctly by e2fsck 1.20.
hangeLog
_dup3/expect.1
_dup3/expect.2
_dup3/image.gz
_dup3/name
e6d33eccbad2113fab90c36be04651002cab4f8e 01-Jun-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, expect, script:
d_loaddump: Fix test script to remove bash'isms, and make the shell
script more robust in cases where the user has overridden CFLAGS so
that the debugfs binary isn't compiled with -g, and is smaller than
128k. Also specify the blocksize to be used explictly to avoid
problems with people who change the mke2fs default parameters.
hangeLog
_loaddump/expect
_loaddump/script
bb185861d10f84b452260c6d8b89abaa23c67408 25-May-2001 Theodore Ts'o <tytso@mit.edu> e2fsprogs.lsm, version.h:
Update version string for 1.20 release
ChangeLog:
Update Changelogs for 1.20 release.
hangeLog
rogs/ChangeLog
21afac096df642708ebf63dc4354575883f11174 14-May-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, pass1.c, problem.c, problem.h, problemP.h:
pass1.c: Treat inodes with a low dtime (that were from a corrupted
orphan list) specially.
problem.c, problem.h: Add new problem codes PR_1_LOW_DTIME and
PR_1_ORPHAN_LIST_REFUGEES, and a new latch group, PR_LATCH_LOW_DTIME.
problemP.h: Expand the size of the problem flag to be an int instead
of a short. Expand space in the flag word which is reserved for
problem latch flags from 3 bits to 8 bits.
ChangeLog, expect.1, expect.2, image.gz, name:
f_badorphan: New test which verifies corrupted orphan list handling.
hangeLog
_badorphan/expect.1
_badorphan/expect.2
_badorphan/image.gz
_badorphan/name
54c637d4d29af3e6365779f8b12976abe95a4753 14-May-2001 Theodore Ts'o <tytso@mit.edu> Many files:
badblocks.c, chattr.c, dumpe2fs.c, e2image.c, findsuper.c, lsattr.c,
mke2fs.c, mklost+found.c, tune2fs.c, util.c: Change location of
ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, resize2fs.h:
resize2fs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, debugfs.h:
debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, e2fsck.h, scantest.c:
e2fsck.h, scantest.c: Change location of ext2_fs.h to be
ext2fs/ext2_fs.h
ChangeLog, Makefile.in, tst_uuid.c, uuid_time.c:
tst_uuid.c, uuid_time.c: Remove unneeded #include of ext2_fs.h
ChangeLog, Makefile.in, e2p.h:
e2p.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, test_icount.c, test_rel.c:
test_icount.c, test_rel.c: Change location of ext2_fs.h to be
ext2fs/ext2_fs.h
rogs/ChangeLog
rogs/Makefile.in
rogs/test_icount.c
rogs/test_rel.c
a7de6998fbd1a875cf88044a2d7bc363dde613c8 10-May-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, random_exercise.c:
random_exercise.c: Also do some random truncating as well.
rogs/ChangeLog
rogs/random_exercise.c
bfcd9a116ff3bcc6d94a616ab1444eb38d0d5434 05-May-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, expect, name, script:
d_loaddump: New test which verifies debugfs's dump and load routines.
dirblock.c:
Fix misc. gcc -Wall errors
hangeLog
_loaddump/expect
_loaddump/name
_loaddump/script
dfcdc32f8d6623a35a9e66f503c535e4081b7266 11-Jan-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, libext2fs.texinfo:
libext2fs.texinfo: Change ino_t to ext2_ino_t
ChangeLog, extent.c, main.c, resize2fs.c:
extent.c, main.c, resize2fs.c: Change ino_t to ext2_ino_t.
ChangeLog, mke2fs.c:
mke2fs.c: Change ino_t to ext2_ino_t.
ChangeLog, test_icount.c, test_rel.c:
test_icount.c, test_rel.c: Change ino_t to ext2_ino_t
rogs/ChangeLog
rogs/test_icount.c
rogs/test_rel.c
0e8a9560d89dd9cca73037a59efa93e46abdccda 09-Dec-2000 Theodore Ts'o <tytso@mit.edu> Many files:
jfs_e2fsck.h, jfs_user.h: Replaces jfs_compat.h. The jfs.h file has
been moved to the include/linux directory.
journal.c, revoke.c, recovery.c: Updated files from Stephen to support
the V2 superblock and revoke processing. The journal.c and revoke.c
files are copies from the ext3 kernel source.
Makefile.in: Added revoke.c to the list of source/object files.
Makefile.in:
Fix up some mistakes in the source file list, and regenerate the
dependencies.
Update Makefile dependencies.
ChangeLog, jfs.h:
jfs.h: Remove excess #include of JFS_DEBUG. Not needed for e2fsprogs,
since we optioanlly define it in the configuration file system.
rogs/Makefile.in
3e377db29466e8a7d960df27fa5c0b933a3fa581 09-Dec-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, MCONFIG.in, Makefile.in, Makefile.in.in:
Fix so that top-level "make check" works correctly.
e2image.c:
Fix program name for e2image.
rogs/ChangeLog
rogs/Makefile.in
f6f6583239203d0b017285f5f7acdd21ec7afc05 25-Oct-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, mke2fs.c:
mke2fs.c (PRS): Applied Andreas Dilger's patch to make the -r -s
handling a bit more sane. (Even though -s is deprecated at this
point.)
ChangeLog, expect.1:
f_journal: Update to take into account new printing by the e2fsck
program.
version.h:
Update for upcoming WIP release.
hangeLog
_journal/expect.1
ad8e553bc6d8e5375e5481829f3b2790486ed72a 18-Oct-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, random_exercise.c:
random_exercise.c: Add support for making the test files have a
certain size, and also add directories as test inodes as well.
rogs/ChangeLog
rogs/random_exercise.c
98f8a97bc02a27cba36fbfcb4cf739ee127b5d1a 18-Oct-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, expect.1, expect.2, image.gz:
f_journal: Make the test check for a wide variety of mixed sizes of
orphaned inodes (and not just a size of 0).
hangeLog
_journal/expect.1
_journal/expect.2
_journal/image.gz
da1a022670074686a0cae9363582d51547cbd42e 20-Aug-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, hold_inode.c, random_exercise.c:
random_exercise.c: New file which feeds a lot of file creations and
deletions (while leaving the file descriptor open, and then closing
the file descriptor later). This generates lots of fodder for the
orphan list code, as well as for the ext3 journal.
hold_inode.c: New file which holds an inode or a directory open (for
testing orphan list code).
ChangeLog, run_e2fsck, expect.1, expect.2, image.gz, name, expect:
run_e2fsck: Filter out JFS DEBUG messages when comparing e2fsck output.
f_journal: New test case which checks out running the ext3 journal.
f_orphan: New test case which checks clearing the list of orphan
inodes (files and directories).
f_swapfs/expect: Update to reflect new debugfs format for dumping the
blocks of an inode.
hangeLog
_journal/expect.1
_journal/expect.2
_journal/image.gz
_journal/name
_orphan/expect.1
_orphan/expect.2
_orphan/image.gz
_orphan/name
_swapfs/expect
rogs/ChangeLog
rogs/hold_inode.c
rogs/random_exercise.c
un_e2fsck
f9e67064ce720e9a8563038d07fe452ffed661bc 14-Jul-2000 Theodore Ts'o <tytso@mit.edu> configure.in:
Commit this file for future use; contains a configure.in script for when
libuuid gets separtead out into its own package.
libext2fs.texinfo:
Update version numbers for 1.19 release.
TODO:
Commit TODO list for 1.19 release.
README:
Update file for 1.19 release.
ChangeLog, e2fsprogs.spec:
e2fsprogs.spec: Merge in a few changes from the Red Hat 6.2 spec file,
now that we're using a modern rpm to build e2fsprogs. Also updated
version number to 1.19.
version.h:
Update version number for 1.19 release.
ChangeLog:
Check in changes for 1.19 release.
hangeLog
rogs/ChangeLog
1f00aafd9f5a1c69d72233c5b7859a38a6c702e5 04-Jul-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, Makefile.in, ct_c.awk, mk_cmds.sh.in:
ct_c.awk: Work around a bug in gawk 3.05
mk_cmds.sh.in: Allow the build system to override the standard
location for finding the ct_c.* files by setting the _SS_DIR_OVERRIDE
environment variable.
Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the version in
the source tree.
ChangeLog, Makefile.in:
Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the
mk_cmds support files from the source tree.
rogs/ChangeLog
rogs/Makefile.in
bdcb8234e7783714a83b32eea25901cd43b83817 26-May-2000 Theodore Ts'o <tytso@mit.edu> .cvsignore:
Supress build files when builddir==srcdir
cvsignore
rogs/.cvsignore
93d29696dfb81a1203de2859626a95ca1e467dbe 25-May-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, test_script.in:
test_script.in: Ignore files in the test directory (to avoid spurious
messages when builddir==srcdir).
hangeLog
est_script.in
4ea0a1109d761e9caaa53f6fa9e036321826c5fa 08-May-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, problem.c, problem.h, super.c:
problem.c, problem.h (PR_0_HURD_CLEAR_FILETYPE): Add new problem code.
super.c (check_super_block): If the OS type in the superblock is the
Hurd, check to see if the filetype feature is set, and offer to clear
it if so. This needs to be done since the Hurd doesn't properly
support the filetype feature. (And since the hurd allows the
transmogrification of files to special files and vice versa --- for no
good reason that I can understand --- it can't support the filetype
feature for the forseeable future, either.)
ChangeLog, mke2fs.c:
mke2fs.c (main): We forcibly turn off the filetype feature if the OS
is the hurd, since the hurd doesn't support it. (And since the hurd
allows the transmogrification of files to special files and vice versa
--- for no good reason that I can understand --- it can't support the
filetype feature for the forseeable future, either.)
mke2fs.c (proceed_question): Fix reversed sense of proceed_question
that was busted due to the internationalization patch. Fixed bug
where if proceed_question was called twice, the input buffer wasn't
cleared of the previous question's newline.
ChangeLog, expect.1, expect.2, image.gz, name:
f_hurd: Add test for Hurd-specific features (right now, just checks to
make sure the filetype feature is cleared)
ChangeLog, ls.c:
ls.c (list_super): Change the string displayed for the Hurd to be
GNU/Hurd, instead of just "GNU".
hangeLog
_hurd/expect.1
_hurd/expect.2
_hurd/image.gz
_hurd/name
cc73e0401dad790066440608498f856e62bc2b68 07-Apr-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog:
Makefile.in (source_tar_file): Remove the resize directory from the
list of excluded files.
version.h: Update version header for an WIP release.
e2fsprogs.spec, ChangeLog:
e2fsprogs.spec: Updated for 1.19 release; added resize2fs.
ChangeLog, expect.1:
f_filetype: Updated expect script to match with new text for
immutable/append-only files.
TODO:
Update TODO file.
hangeLog
_filetype/expect.1
58efb8250ae37ff91d9b8adfe933c0d0af87e38d 08-Feb-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, expect:
f_swapfs: Fix expected text to match changed debugfs dump command for
i_generation field.
hangeLog
_swapfs/expect
5c36a2f85b4f8648ed7916c7e5d489dea09c1a37 19-Nov-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, Makefile.in:
Makefile.in (distclean): Remove TAGS and Makefile.in.old from the
source directory. Also, when making the .exclude file for the
source_tar_file, exclude those two files as well.
Makefile.in (distclean): Remove TAGS and Makefile.in.old from the
source directory.
rogs/ChangeLog
rogs/Makefile.in
cd08636179a07e95e36d307ce2b158e7b276b1e5 10-Nov-1999 Theodore Ts'o <tytso@mit.edu> libext2fs.texinfo, ChangeLog:
Update for 1.18 release.
hangeLog
rogs/ChangeLog
0444e15b3426994266db743c33e011728e3333dd 10-Nov-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, run_e2fsck, expect.1, expect.2, image.gz, name, script:
f_imagic: New test case which tests handling of imagic inodes in an
non-imagic-enabled filessystem.
f_imagic_fs: New test case which tests handling of imagic inodes in an
imagic-enabled filesystem.
f_filetype: New test case which tests setting filetype information in
a filesystem. Also tests handling of immutable special files
(device/fifo).
run_e2fsck: Add support for PREP_CMD, which allows a test case to
specify some commands which will be run (via eval) after the image is
compressed and before running e2fsck.
hangeLog
_filetype/expect.1
_filetype/expect.2
_filetype/image.gz
_filetype/name
_imagic/expect.1
_imagic/expect.2
_imagic/image.gz
_imagic/name
_imagic_fs/expect.1
_imagic_fs/expect.2
_imagic_fs/name
_imagic_fs/script
un_e2fsck
28e1194e6537c8448b4ce322dc13a9d781ce22b9 26-Oct-1999 Theodore Ts'o <tytso@mit.edu> Many files:
Update for 1.17 release.
hangeLog
rogs/ChangeLog
0859c04fce317c77643dd8a69814c892613bf5f3 23-Oct-1999 Theodore Ts'o <tytso@mit.edu> Makefile.in:
Update makefile dependencies for 1.16 release.
rogs/Makefile.in
614fdfd5d978a9e58c25cb4ff7f5b634063c1e6a 23-Oct-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog:
Update for 1.16 release.
libext2fs.texinfo:
Update version number for 1.16 release.
hangeLog
rogs/ChangeLog
67efcf71ab7896f4d7389f4d29e397a27c544071 16-Sep-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, expect.1, expect.2, image.gz, name:
New test case which tests duplicate '.' and '..' entries.
hangeLog
_dupdot/expect.1
_dupdot/expect.2
_dupdot/image.gz
_dupdot/name
8b25041ede06141b7825ed2876d0f6824aa452a0 14-Sep-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, expect.1, expect.2, image.gz:
f_expand: Make test case better by testing increasing the size of
lost+found where an indirect block must be created. Also add checks
to see what happens when directories are disconnected because their
containing directory is destroyed (turned into a socket :-)
f_dupfsblks: Add additional test cases where files share duplicate
blocks with both other files and filesystem metadata.
hangeLog
_dupfsblks/expect.1
_dupfsblks/expect.2
_dupfsblks/image.gz
_expand/expect.1
_expand/expect.2
_expand/image.gz
8573470251673e85aa97e3c7111a20edf96ba472 31-Jul-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, expect:
f_swapfs: Change to deal with new dump_inode command.
hangeLog
_swapfs/expect
657cb97522332b1adcd871bf8f0949e9c8d8f231 31-Jul-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog:
Add 1.15 release note to the Changelogs.
hangeLog
rogs/ChangeLog
45a676b5f1ae2d4048d76b67e4c21e8689ef7501 03-Jul-1999 Theodore Ts'o <tytso@mit.edu> Makefile.in:
Update dependencies.
ChangeLog:
Update ChangeLog to reflect full set of changes to configure.in
rogs/Makefile.in
e72a9ba39471364ad2f9397f645ca547090e3485 25-Jun-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, e2fsck.h, pass1.c, pass2.c, pass4.c, swapfs.c:
e2fsck.h:
pass1.c (pass1_get_blocks, pass1_read_inode, pass1_write_inode,
pass1_check_directory, e2fsck_use_inode_shortcuts): Make pass1_* be
private static functions, and create new function
e2fsck_use_inode_shortcuts which sets and clears the inode shortcut
functions in the fs structure.
e2fsck.h:
pass2.c (e2fsck_process_bad_inode): Make process_bad_inode() an
exported function.
pass4.c (e2fsck_pass4): Call e2fsck_process_bad_inode to check if a
disconnected inode has any problems before connecting it to
/lost+found. Bug and suggested fix by Pavel Machek <pavel@bug.ucw.cz>
ChangeLog, swapfs.c:
swapfs.c (ext2fs_swap_inode): Add compatibility for Linux 2.3 kernels
that use i_generation instead of i_version. Patch supplied by Jon
Bright <sircus@sircus.demon.co.uk>.
ChangeLog, mke2fs.8.in:
mke2fs.8.in: Fix typo in man page which caused the badblocks command
to not show up in the "SEE ALSO" section.
ChangeLog, expect.1, expect.2, image.gz, name:
f_recnect_bad: New test which checks the case where a disconnect inode
also bad inode fields; we need to make sure e2fsck offers to fix the
inode (or clear the inode, as necessary).
hangeLog
_recnect_bad/expect.1
_recnect_bad/expect.2
_recnect_bad/image.gz
_recnect_bad/name
3f408754bc1d7f431fe182fb0b2b0075122a1c4c 15-Mar-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, expect.1, expect.2, image.gz, name:
f_lpffile: New test which checks how e2fsck handles a the case where
lost+found exists, but it's not a directory.
hangeLog
_lpffile/expect.1
_lpffile/expect.2
_lpffile/image.gz
_lpffile/name
9e51eca782b8e17a1ec87944ccbeac94c7c8e2a1 09-Jan-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, message.c:
message.c (safe_print): New function which prints strings, converting
non-printable characters using the '^' and M-notation. This function
is now used to print directory name entries and pathnames.
ChangeLog:
Update for release of E2fsprogs 1.14.
hangeLog
rogs/ChangeLog
556ad1327feb34ea5b711eb9c135f8e11415cf53 19-Dec-1998 Theodore Ts'o <tytso@mit.edu> Many files:
Update version information in ChangeLogs, release notes,
documentation, etc. for release of version 1.13.
hangeLog
rogs/ChangeLog
d56385e77c07629c65f523b5a22314e0bc842d92 04-Dec-1998 Theodore Ts'o <tytso@mit.edu> ChangeLog, expect.1, expect.2:
f_badtable, f_illitable, f_lpf: Update to deal with the fact that
e2fsck will now create a lost+found directory at the end of
pass 3 if one isn't present.
ChangeLog:
Oops; premature checkin of ChangeLog.
hangeLog
_badtable/expect.1
_badtable/expect.2
_illitable/expect.1
_illitable/expect.2
_lpf/expect.1
4a5fa192122c996e7e42908ef9eb4fc2f1f99277 09-Jul-1998 Theodore Ts'o <tytso@mit.edu> ChangeLog, .del-ChangeLog~905e7699, version.h:
Update for 1.12 release.
hangeLog
_badinode/ChangeLog
rogs/ChangeLog
49e2fc90545d7cd4382aed7caffec6c08042820c 06-Jul-1998 Theodore Ts'o <tytso@mit.edu> name:
Fixed spelling error.
_preen/name
c9833a605c5710865fb7811c0c38ef7cecb542a1 05-Jul-1998 Theodore Ts'o <tytso@mit.edu> ChangeLog, script:
f_swapfs: Fix script to ignore the version string header which debugfs
now prints when it starts up.
libext2fs.texinfo:
Update copyright notice and revision date.
RELEASE-NOTES, version.h:
Update for 1.12 release.
hangeLog
_swapfs/script
018100f5803d218fb2f97c80111eac7e286faae8 27-Jun-1998 Theodore Ts'o <tytso@mit.edu> ChangeLog, test_icount.c:
test_icount.c (main): The variable which gets the return value from
getopt should be an int so that the comparisons against EOF work on
systems with unsigned chars.
rogs/ChangeLog
rogs/test_icount.c
818180cdfcff84b9048ecdc5dc86323f0fefba24 27-Jun-1998 Theodore Ts'o <tytso@mit.edu> ChangeLog, debugfs.8.in, debugfs.c:
Add a -V option which displays the current version.
ChangeLog, unix.c:
unix.c (e2fsck_update_progress): Remove unused variables.
ChangeLog, inode.c:
inode.c (get_next_blockgroup): Fix bug where if get_next_blockgroup()
is called early because of a missing inode table in a block group, the
current_inode counter wasn't incremented correctly.
ChangeLog, tst_uuid.c:
tst_uuid.c (main): Fixed bogus declaration of the main's argv parameter.
ChangeLog, test_icount.c:
test_icount.c (main): Fix main() declaration so that it returns int,
not void.
Many files:
fsck.c (ignore): Remove unused variable cp.
chattr.c (fatal_error):
tune2fs.c (usage):
lsattr.c (usage):
dumpe2fs.c (usage):
badblocks.c (usage): Remove volatile from declaration.
fsck.c: Change use of strdup to be string_copy, since we don't trust
what glibc is doing with strdup. (Whatever it is, it isn't pretty.)
rogs/ChangeLog
rogs/test_icount.c
a4b2d3ce5eb85baa959a3cc19df9569f2b412935 03-Apr-1998 Theodore Ts'o <tytso@mit.edu> Many files:
configure.in: Change how the installation directions are selected.
Previously, we had prefix and usr_prefix, where prefix was '' and
usr_prefix was /usr, and we then defined bindir, ubindir, libdir,
ulibdir, etc. in terms of that. In autoconf 2.12, it's possible to
override bindir, libdir, etc., and so in order to make our
installation directory makefile variables more in line with autoconf
2.12, I've changed all of the various makefiles to use prefix and
root_prefix, where the default Linux definitions are /usr and '',
respectively. What used to be bindir is now root_bindir, and what
used to be ubindir, is now bindir.
MCONFIG.in: Change directories to match with new installation
directory convention (see above). Add Makefile
dependencies for makefile fragments, and define
DEP_LIB_MAKEFILES which library makefiles can use to
define DEP_MAKEFILES, so that the library makefiles will
get regenerated when the makefile fragments change.
Remove the cat?dir variables, since we aren't creating
those directories any more.
Makefile.in: Add top-level uninstall targets.
e2fsprogs-1.12.spec: Add to the RPM package the e2label man page, and
to reflect that fact that we now compile_et and mk_cmds for the
development package.
ChangeLog, Makefile.in:
Makefile.in: Add uninstall target (which is a just a no-op).
version.h, RELEASE-NOTES:
Update to interim version numbers for release purposes.
rogs/ChangeLog
rogs/Makefile.in
2a3013b80704b7d9128cbe2c746550e570eb5a02 30-Mar-1998 Theodore Ts'o <tytso@mit.edu> ChangeLog, test_icount.c, test_icount.h:
test_icount.h (do_dump, do_validate): Add prototypes to fix -Wall
warnings.
test_icount.c: Fix -Wall warnings.
ChangeLog, extent.c, main.c:
extent.c (extent_cmp): Add const to cast to prevent -Wall warning.
main.c (check_mount): Rename function argument to prevent -Wall
warning.
rogs/ChangeLog
rogs/test_icount.c
rogs/test_icount.h
246501c612cb8309dc81b354b785405bbeef05ce 24-Mar-1998 Theodore Ts'o <tytso@mit.edu> Many files:
unix.c: Fix bug in check of feature set, to make sure we can really
fix this filesystem.
problem.h: Make blkcount type to be of type blkcnt_t. Make the num
field be a 64 bit type. Add the problem code PR_1_FEATURE_LARGE_FILES
problem.c: Add table entry for the problem code PR_1_FEATURE_LARGE_FILES.
pass1.c (e2fsck_pass1): A non-zero i_dir_acl field is only a problem
for directory inodes. (Since it is also i_size_high now.) If there
are no large_files, then clear the LARGE_FLAG feature flag. If there
are large_files, but the LARGE_FLAG feature flag is not set, complain
and offer to fix it.
(check_blocks): Add support to deal with non-directory inodes that
have i_size_high set (i.e., large_files). Don't give an error if a
directory has preallocated blocks, to support the DIR_PREALLOC
feature.
(process_block, process_bad_block): The blockcnt variable is a type of
blkcnt_t, for conversion to the new block_iterate2.
pass2.c (process_bad_inode): A non-zero i_dir_acl field is only a
problem for directory inodes. (Since it is also i_size_high now.)
message.c (expand_inode_expression): Print a 64-bits of the inode size
for non-directory inodes. (Directory inodes can only use a 32-bit
directory acl size, since i_size_high is shared with i_dir_acl.) Add
sanity check so that trying to print out the directory acl on a
non-directory inode will print zero. (expand_percent_expression): %B
and %N, which print pctx->blkcount and pctx->num, can now be 64 bit
variables. Print them using the "%lld" format if EXT2_NO_64_TYPE is
not defined.
e2fsck.h: Add the large_flagsfield to the e2fsck context.
e2fsck.c (e2fsck_reset_context): Clear the large_flags field.
ChangeLog, expect.1:
f_messy_inode: Modify test to deal with changes to support 64-bit size
files. (/MAKEDEV had i_dir_acl, now i_size_high, set.)
hangeLog
_messy_inode/expect.1
218a4864ec381655f4d5a64d264524c725ae4b70 21-Feb-1998 Theodore Ts'o <tytso@mit.edu> .del-ChangeLog~905e7699, image.gz:
Set the immutable flag on the block and character device so that
e2fsck notices them as bad devices, and offers to fix them. E2fsck
currently only checks devices with the immutable flag set, since
otherwise there might be some false positives --- the kernel doesn't
always clear the all of i_blocks[n], n>=4, due to a race condition.
ChangeLog, inode.c:
inode.c (ext2fs_get_next_inode): Always do the check to see if the
inode table is missing so that we catch the case where the first block
group is missing.
_badinode/ChangeLog
_badinode/image.gz
4e27d7641a7741bf218994d1519a699fc9d0d1e1 26-Oct-1997 Theodore Ts'o <tytso@mit.edu> version.h:
Update version.h for interim release
ChangeLog, Makefile.in, test_icount.c:
Makefile.in (PROGS): Remove test_rel from the test programs that we
build for now.
test_icount.c: Fix some random lint warnings.
Makefile.in:
Fix typo in removing brel_ma.o and irel_ma.o from the Makefile
rogs/ChangeLog
rogs/Makefile.in
rogs/test_icount.c
6e5eeba5731c1b471c9aed013ecc8d51d11c81b4 26-Oct-1997 Theodore Ts'o <tytso@mit.edu> ChangeLog, script:
Add scripts to skip the e_brel_bma and e_irel_ima tests (since they
have been removed from the library for now)
hangeLog
_brel_bma/script
_irel_ima/script
c555aebde40afdc0d15d674f2c81c0e05cfded3f 25-Oct-1997 Theodore Ts'o <tytso@mit.edu> Many files:
alloc.c (ext2fs_alloc_block): New function which allocates a
block and updates the filesystem accounting records
appropriately.
ext2_err.et.in: Added new error codes: EXT2_NO_MEMORY,
EXT2_INVALID_ARGUMENT, EXT2_BLOCK_ALLOC_FAIL, EXT2_INODE_ALLOC_FAIL,
EXT2_NOT_DIRECTORY
Change various library files to use these functions instead of EINVAL,
ENOENT, etc.
ChangeLog, pass1.c, pass3.c:
pass3.c (get_lost_and_found): Check error return of
EXT2_FILE_NOT_FOUND instead of ENOTDIR
pass1.c (pass1_check_directory): Return EXT2_NO_DIRECTORY instead of
ENOTDIR
expect.icount:
Change expected error string to be "Invalid argument passed to ext2 library"
instead of just "Invalid argument"
rogs/test_data/expect.icount
d40259fd552d942903f2fd0b426c75a5c2516017 20-Oct-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Rename io.h to be ext2_io.h (avoid namespace collisions)
ChangeLog, resize2fs.h:
Add #ifdef's for HAVE_SYS_TYPES_H and HAVE_SYS_TIME_H.
rogs/Makefile.in
1b6bf1759af884957234b7dce768b785f792abd0 03-Oct-1997 Theodore Ts'o <tytso@mit.edu> Many files:
pass*.c, super.c: Massive changes to avoid using printf and com_err
routines. All diagnostic messages are now routed through the
fix_problem interface.
pass2.c (check_dir_block): Check for duplicate '.' and '..' entries.
problem.c, problem.h: Add new problem codes PR_2_DUP_DOT and
PR_2_DUP_DOT_DOT.
problem.c: Added new problem codes for some of the superblock
corruption checks, and for the pass header messages. ("Pass
1: xxxxx")
util.c (print_resource_track): Now takes a description argument.
super.c, unix.c, e2fsck.c: New files to separate out the
operating-specific operations out from e2fsck.c. e2fsck.c now
contains the global e2fsck context management routines, and
super.c contains the "pass 0" initial validation of the
superblock and global block group descriptors.
pass1.c, pass2.c, pass3.c, pass4.c, pass5.c, util.c: Eliminate
(nearly) all global variables and moved them to the e2fsck
context structure.
problem.c, problem.h: Added new problem codes PR_0_SB_CORRUPT,
PR_0_FS_SIZE_WRONG, PR_0_NO_FRAGMENTS, PR_0_BLOCKS_PER_GROUP,
PR_0_FIRST_DATA_BLOCK
expect.1, expect.2:
Updated tests to align with e2fsck problem.c changes.
_badbblocks/expect.1
_baddir/expect.1
_baddotdir/expect.1
_badinode/expect.1
_badprimary/expect.1
_badroot/expect.1
_badtable/expect.1
_bbfile/expect.1
_bbinode/expect.1
_bitmaps/expect.1
_dup/expect.1
_dup2/expect.1
_dupfsblks/expect.1
_dupsuper/expect.1
_end-bitmap/expect.1
_expand/expect.1
_illbbitmap/expect.1
_illibitmap/expect.1
_illitable/expect.1
_lotsbad/expect.1
_lpf/expect.1
_messy_inode/expect.1
_misstable/expect.1
_noroot/expect.1
_overfsblks/expect.1
_preen/expect.2
_zero_group/expect.1
_zero_super/expect.1
1c27cac2e848300a515cc994bc71ee48e2f3fa19 14-Aug-1997 Theodore Ts'o <tytso@mit.edu> ChangeLog, .del-io.h~72680822, irel_ma.c, llseek.c, rw_bitmaps.c:
io.h: Change the prototype of ext2fs_llseek() to use int's instead of
unsigned int's.
llseek.c: Change to allow PIC and !HAVE_LLSEEK. Add a prototype to
make life easer for GNU Libc 2.
rw_bitmaps.c: On the PowerPC, the big-endian variant of the ext2
filesystem has its bitmaps stored as 32-bit words with bit 0 as the
LSB of each word. Thus a bitmap with only bit 0 set would be, as a
string of bytes, 00 00 00 01 00 ... To cope with this, we
byte-reverse each word of a bitmap if we have a big-endian filesystem,
that is, if we are *not* byte-swapping other word-sized numbers.
ChangeLog, expect.1, image.gz:
f_badinode: Modify test to check for "bad" character and block devices
(i.e., ones which contain garbage block entries)
hangeLog
_badinode/expect.1
_badinode/image.gz
024996cf0a54c2b294810a15942747c8fa9238e3 17-Jun-1997 Theodore Ts'o <tytso@mit.edu> ChangeLog:
Check-in for the 1.11 source release.
hangeLog
rogs/ChangeLog
a29f4d30f24d68f1f1c75548e020689ede532c05 29-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checkin of e2fsprogs 1.10
hangeLog
rogs/ChangeLog
2ecc6fefa176f3203598225eb9ae2f61c3ae9c10 29-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checked in e2fsprogs 1.09
hangeLog
rogs/ChangeLog
521e36857227b21e7ab47b0a97f788d2af9f9717 29-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checked in e2fsprogs 1.08.
hangeLog
efaults/e_script
efaults/r_script
_brel_bma/name
_icount_normal/name
_icount_opt/name
_irel_ima/name
_dupfsblks/expect.1
_dupsuper/expect.1
_dupsuper/expect.2
_illbbitmap/expect.1
_illibitmap/expect.1
_illitable/expect.1
_preen/expect.1
rogs/ChangeLog
rogs/Makefile.in
rogs/rel_test/bma.setup
rogs/rel_test/expect.brel
rogs/rel_test/expect.irel
rogs/rel_test/ima.setup
rogs/rel_test/test.brel
rogs/rel_test/test.irel
rogs/test_data/bma.setup
rogs/test_data/expect.brel
rogs/test_data/expect.icount
rogs/test_data/expect.irel
rogs/test_data/ima.setup
rogs/test_data/normal.setup
rogs/test_data/opt.setup
rogs/test_data/test.brel
rogs/test_data/test.icount
rogs/test_data/test.irel
rogs/test_icount.c
rogs/test_icount.h
rogs/test_icount_cmds.ct
rogs/test_rel.c
_brel_bma/name
_irel_ima/name
est_config
est_script.in
af2cff663eb8852e1020c775cef4f840f569f82d 29-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checked in e2fsprogs-1.07
rogs/rel_test/bma.setup
rogs/rel_test/expect.brel
rogs/rel_test/expect.irel
rogs/rel_test/ima.setup
rogs/rel_test/test.brel
rogs/rel_test/test.irel
_brel_bma/name
_irel_ima/name
19c78dc07fce2d6f39b5e541562afc3ca1ea38ff 29-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checked in e2fsprogs-1.07
hangeLog
efaults/r_script
_badbblocks/expect.1
_baddir/expect.1
_baddir/expect.2
_baddir/image.gz
_baddir/name
_baddotdir/expect.1
_baddotdir/expect.2
_baddotdir/image.gz
_badinode/expect.1
_badroot/expect.1
_badtable/expect.1
_badtable/expect.2
_bbfile/expect.1
_bbinode/expect.1
_bbinode/expect.2
_bbinode/image.gz
_bbinode/name
_dup/expect.1
_dup2/expect.1
_dupfsblks/expect.1
_dupsuper/expect.1
_end-bitmap/name
_expand/expect.1
_holedir/expect.1
_illibitmap/expect.1
_illitable/expect.1
_illitable/expect.2
_illitable/image.gz
_illitable/name
_lotsbad/expect.1
_lpf/expect.1
_messy_inode/expect.1
_misstable/expect.1
_misstable/expect.2
_misstable/image.gz
_misstable/name
_mke2fs2b/expect.1
_noroot/expect.1
_preen/expect.1
_reconnect/expect.1
_reconnect/expect.2
_reconnect/image.gz
_reconnect/name
_zero_group/expect.1
_zero_group/expect.2
_zero_group/image.gz
_zero_group/name
_zero_super/expect.1
_zero_super/expect.2
_zero_super/image.gz
_zero_super/name
rogs/Makefile.in
rogs/test_rel.c
rogs/test_rel.h
rogs/test_rel_cmds.ct
est_config
est_script.in
5c576477ccb2f0ca8c5d5af2e2354fd8eeff1589 29-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checked in e2fsprogs 1.06
hangeLog
_expand/expect.1
_expand/expect.2
_expand/image.gz
_mke2fs2b/expect.1
_mke2fs2b/expect.2
_noroot/expect.1
_noroot/expect.2
_preen/expect.1
_preen/expect.2
_preen/image.gz
_preen/name
_preen/script
est_config
est_script.in
1e3472c5f37ca3686dd69b079d4d02a302f5798d 29-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checked in e2fsprogs 1.05
hangeLog
akefile.in
_badbblocks/expect.1
_baddir/expect.1
_baddotdir/expect.1
_badinode/expect.1
_badlkcnt/expect.1
_badlkcnt/expect.2
_badlkcnt/image.gz
_badlkcnt/name
_badprimary/expect.1
_badroot/expect.1
_badtable/expect.1
_bbfile/expect.1
_bitmaps/expect.1
_crashdisk/expect.1
_crashdisk/image.gz
_crashdisk/name
_crashdisk/script
_dirlink/expect.1
_dup/expect.1
_dup2/expect.1
_dupfsblks/expect.1
_dupsuper/expect.1
_end-bitmap/expect.1
_expand/expect.1
_holedir/expect.1
_illbbitmap/expect.1
_illibitmap/expect.1
_lotsbad/expect.1
_lpf/expect.1
_lpf/expect.2
_lpf/image.gz
_messy_inode/expect.1
_mke2fs2b/expect.1
_mke2fs2b/expect.2
_noroot/expect.1
_noroot/expect.2
_okgroup/expect.1
_overfsblks/expect.1
_swapfs/debugfs.cmd
_swapfs/expect
_swapfs/image.gz
_swapfs/name
_swapfs/script
un_e2fsck
est_config
est_script
est_script.in
62c06f790c4920ec2721515e36d599751f6d4d2d 29-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checked in e2fsprogs 1.04.
hangeLog
_illbbitmap/expect.1
_illibitmap/expect.1
7f88b04341d88c5df0360d930832c38040303b61 26-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checkin of e2fsprogs 1.03.
hangeLog
_badroot/expect.1
_expand/expect.1
_noroot/expect.1
74becf3c0a065f8d64e07ce4d31f9fe53be91d62 26-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checkin of e2fsprogs 1.02.
hangeLog
_badbblocks/expect.1
_badbblocks/expect.2
_baddir/expect.1
_baddir/expect.2
_baddotdir/expect.1
_baddotdir/expect.2
_badinode/expect.1
_badinode/expect.2
_badlkcnt/expect.1
_badlkcnt/expect.2
_badprimary/expect.1
_badprimary/expect.2
_badroot/expect.1
_badroot/expect.2
_badtable/expect.1
_badtable/expect.2
_bbfile/expect.1
_bbfile/expect.2
_bitmaps/expect.1
_bitmaps/expect.2
_dirlink/expect.1
_dirlink/expect.2
_dup/expect.1
_dup/expect.2
_dup2/expect.1
_dup2/expect.2
_dupfsblks/expect.1
_dupfsblks/expect.2
_dupsuper/expect.1
_dupsuper/expect.2
_end-bitmap/expect.1
_end-bitmap/expect.2
_expand/expect.1
_expand/expect.2
_holedir/expect.1
_holedir/expect.2
_illbbitmap/expect.1
_illbbitmap/expect.2
_illibitmap/expect.1
_illibitmap/expect.2
_lotsbad/expect.1
_lotsbad/expect.2
_lpf/expect.1
_lpf/expect.2
_messy_inode/expect.1
_messy_inode/expect.2
_mke2fs2b/expect.1
_mke2fs2b/expect.2
_noroot/expect.1
_noroot/expect.2
_okgroup/expect.1
_okgroup/expect.2
_overfsblks/expect.1
_overfsblks/expect.2
a418d3ad819323f871005d253f7f9ac378e78ba5 26-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checked in e2fsprogs 0.5c
hangeLog
akefile.in
EADME
efaults/f_script
_badbblocks/expect.1
_badbblocks/expect.2
_badbblocks/image.gz
_badbblocks/name
_baddir/expect.1
_baddir/expect.2
_baddir/image.gz
_baddir/name
_baddotdir/expect.1
_baddotdir/expect.2
_baddotdir/image.gz
_baddotdir/name
_badinode/expect.1
_badinode/expect.2
_badinode/image.gz
_badinode/name
_badlkcnt/expect.1
_badlkcnt/expect.2
_badlkcnt/image.gz
_badlkcnt/name
_badprimary/expect.1
_badprimary/expect.2
_badprimary/image.gz
_badprimary/name
_badroot/expect.1
_badroot/expect.2
_badroot/image.gz
_badroot/name
_badtable/expect.1
_badtable/expect.2
_badtable/image.gz
_badtable/name
_bbfile/expect.1
_bbfile/expect.2
_bbfile/image.gz
_bbfile/name
_bitmaps/expect.1
_bitmaps/expect.2
_bitmaps/image.gz
_bitmaps/name
_dirlink/expect.1
_dirlink/expect.2
_dirlink/image.gz
_dirlink/name
_dup/expect.1
_dup/expect.2
_dup/image.gz
_dup/name
_dup2/expect.1
_dup2/expect.2
_dup2/image.gz
_dup2/name
_dupfsblks/expect.1
_dupfsblks/expect.2
_dupfsblks/image.gz
_dupfsblks/name
_dupsuper/expect.1
_dupsuper/expect.2
_dupsuper/image.gz
_dupsuper/name
_end-bitmap/expect.1
_end-bitmap/expect.2
_end-bitmap/image.gz
_end-bitmap/name
_expand/expect.1
_expand/expect.2
_expand/image.gz
_expand/name
_holedir/expect.1
_holedir/expect.2
_holedir/image.gz
_holedir/name
_illbbitmap/expect.1
_illbbitmap/expect.2
_illbbitmap/image.gz
_illbbitmap/name
_illibitmap/expect.1
_illibitmap/expect.2
_illibitmap/image.gz
_illibitmap/name
_lotsbad/expect.1
_lotsbad/expect.2
_lotsbad/image.gz
_lotsbad/name
_lpf/expect.1
_lpf/expect.2
_lpf/image.gz
_lpf/name
_messy_inode/expect.1
_messy_inode/expect.2
_messy_inode/image.gz
_messy_inode/name
_mke2fs2b/expect.1
_mke2fs2b/expect.2
_mke2fs2b/image.gz
_mke2fs2b/name
_noroot/expect.1
_noroot/expect.2
_noroot/image.gz
_noroot/name
_okgroup/expect.1
_okgroup/expect.2
_okgroup/image.gz
_okgroup/name
_overfsblks/expect.1
_overfsblks/expect.2
_overfsblks/image.gz
_overfsblks/name
un_e2fsck
est_config
est_script