Whamcloud - gitweb
In mke2fs and e2fsck, specifying the -c option twice will now do
[tools/e2fsprogs.git] / e2fsck / ChangeLog
index 0c5ed97..41734f4 100644 (file)
@@ -1,5 +1,169 @@
+2001-12-24  Theodore Tso  <tytso@valinux.com>
+
+       * unix.c (PRS): Don't allow the -c and -l/-L options to be
+               specified at the same time.
+
+       * e2fsck.h (E2F_OPT_WRITECHECK), unix.c (PRS), 
+               badblocks.c (read_bad_blocks_file): If two -c options are
+               specified, then perform a non-destructive read/write scan
+               of the disk.
+
+       * e2fsck.8.in: Document the double -c option; also encourage users
+               to use -c instead of the -l/-L options since it's too hard
+               for users to get things like the blocksize parameter correct.
+
+2001-12-23  Theodore Tso  <tytso@valinux.com>
+
+       * util.c (get_backup_sb): This function now searches for the
+               backup superblock by iterating over possible blocksizes
+               instead of defaulting a guess of 8193 if the superblock
+               isn't available.
+
+       * message.c (expand_percent_expression), unix.c (main): Pass in
+               new parameters to get_backup_sb.  Also, in unix.c, use the
+               blocksize paramter in the e2fsck context structure instead
+               of using a static variable, since get_backup_sb wants to
+               be able to set the blocksize paramter.
+
+       * e2fsck.h: Update function prototype for get_backup_sb; also add
+               the blocksize parameter to the e2fsck context structure.
+
+       * Makefile.in, jfs_user.h: Move linux/jbd.h to
+               ext2fs/kernel-jbd.h, to avoid using the system header
+               file version of hbd.h when using diet glibc (since it
+               forcibly adds /usr/include to the beginning of the
+               include search path.)
+
+2001-12-21  Theodore Tso  <tytso@valinux.com>
+
+       * problem.c (fix_problem): Use ctx->filesystem_name if the
+               ctx->device_name is NULL.
+
+       * journal.c (e2fsck_check_ext3_journal): Give the opportunity to
+               run the journal even if recovery flag is cleared.  If
+               we're using a backup superblock, run the journal by
+               default.
+
+       * e2fsck.h (E2F_OPT_FORCE), unix.c (PRS, check_if_skip): Use a
+               bitfield in the e2fsck context flags word to indicate
+               whether or not a check should be forced.  This allows the
+               journal code to set the option if necessary to force a
+               filesystem check.
+
+       * problem.h, problem.c: Remove PR_0_JOURNAL_RESET_JOURNAL, and add
+               PR_0_JOURNAL_RUN and PR_0_JOURNAL_RUN_DEFAULT.  Update
+               problem decription texts.
+
+2001-12-16  Theodore Tso  <tytso@valinux.com>
+
+       * e2fsck.h (ext2fs_get_refcount_size), unix.c (check_mount, PRS), 
+               pass1.c (adjust_extattr_refcount), 
+               ea_refcount.c (ea_refcount_create): Fix gcc -Wall nits.
+       
+       * recovery.c, revoke.c: Update to versions from 2.4.17-pre8.
+
+       * journal.c, jfs_user.h: Update support code for new version of
+               recover.c and revoke.c.  Fix support for filesystems with
+               external journals.
+
+2001-11-30 Gabriel Paubert <paubert@iram.es>
+
+       * journal.c (e2fsck_journal_load): Fix an endianness bug.
+
+2001-11-26  Theodore Tso  <tytso@valinux.com>
+
+       * super.c (check_super_block): Make sure that if the inode table
+               or allocation bitmap is zero, that it is marked as
+               invalid, so that in pass #1, a new bitmap/inode table gets
+               properly allocated.  (Addresses Debian Bug #116975)
+
+2001-11-24  Theodore Tso  <tytso@valinux.com>
+
+       * e2fsck.8.in: Fix minor typo in man page and clarify device
+               specification.
+
+2001-10-07  Theodore Tso  <tytso@valinux.com>
+
+       * 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.
+
+2001-09-20  Theodore Tso  <tytso@valinux.com>
+
+       * e2fsck.h, journal.c (e2fsck_move_ext3_journal): Add new function
+               which will automatically relocate the ext3 journal from a
+               visible file to an invisible journal file if the
+               filesystem has been opened read/write.
+
+       * super.c (check_super_block): Add call to e2fsck_move_ext3_journal
+
+       * problem.c, problem.h (PR_0_MOVE_JOURNAL, PR_0_ERR_MOVE_JOURNAL):
+               Add new problem codes.
+
+2001-09-20  Theodore Tso  <tytso@thunk.org>
+
+       * Release of E2fsprogs 1.25
+
+2001-09-19  Theodore Tso  <tytso@valinux.com>
+
+       * unix.c (main): If a superblock is specified explicitly by the
+               user, don't try to automatically fall back to an
+               alternate superblock.
+
+2001-09-02  Theodore Tso  <tytso@thunk.org>
+
+       * Release of E2fsprogs 1.24a
+
+2001-08-30  Theodore Tso  <tytso@thunk.org>
+
+       * Release of E2fsprogs 1.24
+
+2001-08-30  Theodore Tso  <tytso@valinux.com>
+
+       * pass1.c (e2fsck_pass1): For EXT2_RESIZE_INO, allow its i_mode to
+               either be zero or a regular file (for compatibility with
+               Andreas's on-line resizing programs).
+
+2001-08-27  Theodore Tso  <tytso@valinux.com>
+
+       * unix.c (main): Remove EXT2FS_VERSION from the version display,
+               since it only confuses people.
+
+       * pass1.c (strnlen): Provide strnlen if libc doesn't.
+
+2001-08-15  Theodore Tso  <tytso@valinux.com>
+
+       * Release of E2fsprogs 1.23
+
+2001-08-13  Theodore Tso  <tytso@valinux.com>
+
+       * super.c (release_orphan_inodes): If the filesystem contains
+               errors, don't run the orphan * list, since the orphan list
+               can't be trusted.
+
+       * pass1.c (check_size): Fix logic in check_size; the previous code
+               only offered to clear the inode size fields if both size
+               and i_size_high were zero.
+               (e2fsck_pass1_check_device_inode): If i_blocks is
+               non-zero, then assume that the device/socket/fifo inode
+               is bogus.
+
 2001-08-09  Theodore Tso  <tytso@valinux.com>
 
+       * pass1.c, pass2.c, problem.c, problem.h: Fix bug introduced by
+               Andreas's symlink code; check_blocks() was unconditionally
+               testing inode_bad_map without checking to see if it
+               existed first.  Fixed problem a different way; we now no
+               longer check inode_bad_map at all, since the file might
+               not get deleted in pass 2 anyway.  We move the large file
+               feature reconciliation code to to e2fsck_pass2(), and in
+               deallocate_inode() in pass2.c, we decrement the large
+               files counter if we're about to delete a large file.
+
        * unix.c (show_stats): Print the number of large files in verbose
                mode.