Whamcloud - gitweb
Update for 1.27 release.
[tools/e2fsprogs.git] / debugfs / ChangeLog
index 9ce757c..2940820 100644 (file)
@@ -1,3 +1,352 @@
+2002-03-08  Theodore Tso  <tytso@mit.edu>
+
+       * Release of E2fsprogs 1.27
+
+2002-03-07    <tytso@snap.thunk.org>
+
+       * ls.c (list_dir_proc): Fix typo in debugfs which was causing a
+               compiler warning.
+
+2002-03-05  Theodore Tso  <tytso@mit.edu>
+
+       * lsdel.c (do_lsdel): lsdel uses the pager to print out the list
+               of potentially deleted inode.  Thanks to Jaroslav Drzik
+               <jdrzik@host.sk> for suggesting this enhancement.
+
+       * debugfs.c (do_modify_inode): Fix bug which caused modify_inode
+               to core dump if a fliesystem isn't open.  Thanks to 
+               Jaroslav Drzik <jdrzik@host.sk> for finding and reporting
+               the bug and his proposed fix.
+
+2002-02-26  Theodore Tso  <tytso@mit.edu>
+
+       * ls.c (list_dir_proc): When listing the directory entry in long 
+               format, include the file type of the directory entry in 
+               parenthesis.
+
+2002-02-25  Theodore Tso  <tytso@mit.edu>
+
+       * util.c (open_pager): If the PAGER environment is set to __none__
+               then don't use a pager at all, and ship it all to stdout.
+
+       * Makefile.in, debug_cmds.ct, htree.c: Add new file htree.c, which
+               implements the three new commands, htree_dump, dx_hash,
+               and dirsearch.
+
+2002-02-24  Theodore Tso  <tytso@mit.edu>
+
+       * Makefile.in (install): Remove any compressed man pages before
+               installing the man pages.
+
+2002-02-03  Theodore Tso  <tytso@thunk.org>
+
+       * Release of E2fsprogs 1.26
+
+2002-01-03  Theodore Tso  <tytso@mit.edu>
+
+       * lsdel.c (do_lsdel): New optional argument which allows the user
+               to only see the most recently deleted files.
+
+       * debugfs.c (do_undel, do_testb, do_freeb, do_setb, do_ffb): Add
+               new command, undelete, which automates undeleting a
+               deleted inode and linking it back to a directory.  Add a
+               count argument to the testb, freeb, setb, and ffb commands.
+
+       * ls.c (list_dir_proc, do_list_dir): Add support for -d option
+               which lists deleted directory entries.
+
+       * debug_cmds.ct: Add new command, undelete.
+
+       * dump.c, icheck.c, logdump.c, ls.c, lsdel.c, setsuper.c,
+               debugfs.c: Use new utility functions which factor out
+               commonly used code.
+
+       * util.c (debugfs_read_inode, debugfs_write_inode,
+               common_block_args_process, common_inode_args_process,
+               common_args_process, strtoblk, parse_ulong): New
+               functions which factor out commonly used code into
+               subroutines for ease of maintenance and to make the
+               executable size smaller.
+
+2001-12-23  Theodore Tso  <tytso@mit.edu>
+
+       * 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-22  Theodore Tso  <tytso@mit.edu>
+
+       * debugfs.c (kill_file_by_inode, release_blocks_proc): Update the
+               group descriptor free block and inode counts when deleting
+               or killing a file.
+
+2001-12-16  Theodore Tso  <tytso@mit.edu>
+
+       * setsuper.c (print_possible_fields), 
+               logdump.c (dump_journal): Fix gcc -Wall nits
+
+       * Makefile.in, jfs_user.h: linux/jfs.h has been renamed to
+               linux/jbd.h
+
+2001-12-02  Theodore Tso  <tytso@mit.edu>
+
+       * util.c (close_pager): Use pclose() instead of fclose() when
+               closing the pager stream.
+
+2001-11-30  Theodore Tso  <tytso@mit.edu>
+
+       * debugfs.c (finish_range, dump_blocks): Fixed bug in Andreas's >
+               2GB support changes: you need to use %lld when printf'ing
+               an long long variable.
+
+2001-11-24  Theodore Tso  <tytso@mit.edu>
+
+       * debugfs.8.in: Update manual page to document the set_super_value
+               and logdump commands, and move the "specifying files"
+               section closer to the beginning of the man page so people
+               won't miss it.
+
+       * setsuper.c (print_possible_fields): "set_super_value -l" now
+               prints out the list of valid superblock fields which the
+               ssv command can set.
+
+2001-09-20  Theodore Tso  <tytso@thunk.org>
+
+       * Release of E2fsprogs 1.25
+
+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-27  Theodore Tso  <tytso@valinux.com>
+
+       * debugfs.c (main): Remove EXT2FS_VERSION from the version
+               display, since it only confuses people.
+
+2001-08-15  Theodore Tso  <tytso@valinux.com>
+
+       * Release of E2fsprogs 1.23
+
+2001-08-12  Theodore Tso  <tytso@valinux.com>
+
+       * logdump.c (do_logdump, dump_journal): Add support for dumping
+               external journals.
+
+2001-06-23  Theodore Tso  <tytso@valinux.com>
+
+       * Release of E2fsprogs 1.22
+
+2001-06-15  Theodore Tso  <tytso@valinux.com>
+
+       * Release of E2fsprogs 1.21
+
+2001-06-13  Theodore Tso  <tytso@valinux.com>
+
+       * setsuper.c: Add s_lastcheck field to the fields which can be
+               modified using set_super_value.  (Suggested by Andreas
+               Dilger)
+
+2001-06-03  Theodore Tso  <tytso@valinux.com>
+
+       * debugfs.c (copy_file): Fixed signed vs unsigned bug which causes
+               read errors to not be noticed.
+
+2001-06-01  Theodore Tso  <tytso@valinux.com>
+
+       * Makefile.in: Move include/asm/types.h.in to 
+               lib/ext2fs/ext2_types.h.in.
+
+       * debugfs.c, debugfs.h, logdump.c: Fix various gcc -Wall nitpicks.
+
+       * logdump.c (read_journal_block): Replace pread with lseek/read
+               combination.
+
+2001-05-25  Theodore Tso  <tytso@valinux.com>
+
+       * Release of E2fsprogs 1.20
+
+2001-05-14  Theodore Tso  <tytso@valinux.com>
+
+       * debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
+
+2001-05-12  Theodore Tso  <tytso@valinux.com>
+
+       * debugfs.c (print_features): Use fputs instead of printf to
+               output using the passed-in FILE *.
+
+2001-05-09  Theodore Tso  <tytso@valinux.com>
+
+       * debugfs.c (do_write, do_mknod): Set the file type information
+               when creating the inode.
+
+2001-05-03  Theodore Tso  <tytso@valinux.com>
+
+       * debugfs.c (do_open_filesys, main): Add -i option which will
+               allow debugfs to examine ext2 image files.
+
+2001-03-29  Theodore Tso  <tytso@valinux.com>
+
+       * debugfs.c (dump_blocks, dump_inode, internal_dump_inode): Add
+               internal_dump_inode() interface for the logdump command.
+
+       * logdump.c: Imported code from Stephen Tweedie to dump the ext3
+               journal.
+
+2001-03-18  Theodore Tso  <tytso@valinux.com>
+
+       * debugfs.c (do_write, do_mknod): Remove extra (useless) call to
+               ext2fs_write_inode.
+
+2001-01-12  Theodore Ts'o  <tytso@valinux.com>
+
+       * setsuper.c: Cleaned up some random whitespace problems.
+
+       * debugfs.h,  debugfs.c  (do_show_super_stats): Use  full words
+               instead of pluralism hack  to make I18N conversion easier.
+               Clean up gcc -Wall complaints.
+
+2001-01-11    <tytso@snap.thunk.org>
+
+       * debugfs.c, debugfs.h, dump.c, icheck.c, ls.c, lsdel.c, ncheck.c,
+               setsuper.c, util.c: Change ino_t to ext2_ino_t.  Fix a few
+               minor gcc-wall complaints while we're at it.
+
+2001-01-01    <tytso@snap.thunk.org>
+
+       * debugfs.c Replace use of struct ext2fs_sb with struct
+               ext2_super_block.
+
+2000-12-30    <tytso@snap.thunk.org>
+
+       * dump.c (fix_perms): Fix bug for systems which don't have fchown;
+               was incorrectly using chmod instead of chown.
+
+       * setsuper.c (find_field): Strip the s_prefix if given for ssv
+               fields.  Remove hard-coded s_ from inode_size
+               field.  (Suggested by Andreas Dilger)
+
+       * debugfs.c (do_modify_inode): Add the ability to set the inode
+               generation number.  (Suggested by Andreas Dilger)
+
+2000-08-23    <tytso@valinux.com>
+
+       * util.c (string_to_inode): Use strtoul instead of atoi, so that
+               hex inode numbers will be accepted.
+
+2000-08-19    <tytso@valinux.com>
+
+       * util.c (open_pager): Set SIGPIPE to be ignored, so that quitting
+               out of the pager doesn't blow away debugfs.
+
+2000-08-14    <tytso@valinux.com>
+
+       * debugfs.c (do_show_super_stats): Use list_super2() instead of
+               using explicit printf statements.  (We get a more complete
+               printout this way.)
+
+       * util.c (open_pager): If the PAGER environment variable is not
+               set, default to using "more".
+
+       * setsuper.c: New function which implements the set_super_value
+               command.  Allows the user to set arbitrary superblock
+               fields.
+
+       * debugfs.c (dump_inode): Cap the length when printing a fast
+               symbolic link to inode.i_size.
+               (list_blocks_proc): Print block ranges (4510-4533) to make
+               the stat output easier to read.
+
+2000-06-27  Andreas Dilger <adilger@turbolabs.com>
+
+       * debugfs.c (list_blocks_proc): show relative inode block numbers
+               and/or indirect block status
+
+2000-07-13    <tytso@valinux.com>
+
+       * Release of E2fsprogs 1.19
+
+2000-07-05  Theodore Ts'o  <tytso@valinux.com>
+
+       * debugfs.c (dump_inode): Make the generation field be printed as
+               an unsigned integer.
+
+2000-07-04    <tytso@snap.thunk.org>
+
+       * Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the
+               mk_cmds support files from the source tree.
+
+2000-06-09    <tytso@snap.thunk.org>
+
+       * lsdel.c (do_lsdel): Handle bad bad blocks in inode table.
+
+2000-05-27  Theodore Ts'o  <tytso@valinux.com>
+
+       * debugfs.c (do_testb, do_testi): Call check_fs_bitmaps to avoid
+               coredumping if the bitmaps aren't loaded.
+
+       * util.c (check_fs_bitmaps): New function which checks whether or
+               not the bitmaps are loaded.
+
+2000-05-23  Aaron Crane  <aaronc@pobox.com>
+
+       * debugfs.8.in: Documented new behaviour.
+
+       * ls.c (ls_l_file): Fix Y2K bug -- was printing 22-May-100 for
+               recent files.  Switched to 4-digit years.
+
+       * dump.c, debug_cmds.ct (do_rdump): Add new debugfs command
+               "rdump", which recursively dumps a directory and its
+               contents.
+               (fix_perms): New function.  Break permission-fixing
+               code out of dump_file() so it can be called by rdump
+               code as well.
+               (dump_file): Call fix_perms().
+
+       * debugfs.c, debug_cmds.ct (do_lcd): Add new debugfs command
+               "lcd", which changes the cwd on the native filesystem.
+
+       * debugfs.c (open_filesystem): Extra args for superblock,
+               blocksize, and catastrophic mode.  Changed callers.
+               (do_open_filesys, main): Accept new -b, -s, -c options
+               for open_filesystem.
+
+2000-02-02  Theodore Ts'o  <tytso@valinux.com>
+
+       * debugfs.c (dump_inode): Remove #ifdef for i_version
+               vs. i_generation since we know it will always be
+               i_generation now.
+
+2000-01-18  Theodore Ts'o  <tytso@valinux.com>
+
+       * debugfs.c (main): Use return instead of exit at the end of main
+               to avoid some compiler warnings.
+
+       * Makefile.in: Since LIBUUID can sometimes include
+               "-lsocket" we need a separate DEPLIBUUID that can be used
+               in Makefile's dependency rules.
+
+1999-11-19    <tytso@valinux.com>
+
+       * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
+               the source directory.
+
+1999-11-10    <tytso@valinux.com>
+
+       * Release of E2fsprogs 1.18
+
+1999-11-08    <tytso@valinux.com>
+
+       * icheck.c (do_icheck): 
+       * ncheck.c (do_ncheck): If ext2fs_open_inode_scan() returns 
+               EXT2_ET_BAD_BLOCK_IN_INODE_TABLE loop to skip over the bad
+               blocks in the inode table.
+
 1999-10-26    <tytso@valinux.com>
 
        * Release of E2fsprogs 1.17