X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=debugfs%2FChangeLog;h=94524fabf256a549c6f3e22913483e2fc0c9b54f;hb=46100e3f6e21a5eb8fbb4d843d4c7fee368b31f5;hp=3518ef8cd77edc523492959d40bb047699c541cb;hpb=42e5b5f987ce869cb50e765bb985dddc5d70d753;p=tools%2Fe2fsprogs.git diff --git a/debugfs/ChangeLog b/debugfs/ChangeLog index 3518ef8..94524fa 100644 --- a/debugfs/ChangeLog +++ b/debugfs/ChangeLog @@ -1,3 +1,474 @@ +2007-05-08 Theodore Tso + + * debugfs.c (internal_dump_inode), ls.c (list_dir_proc), + lsdel.c (do_lsdel): Use inode_uid() and inode_gid() so + that the high bits of the uid/gid are displayed. + +2007-04-19 Theodore Tso + + * set_fields.c: Add the i_version field to the set_inode_field + command. + +2007-04-13 Theodore Tso + + * set_fields.c (do_set_block_group_descriptor), debug_cmds.ct, + debugfs.8.in: Added set_block_group command: + +2007-04-10 Theodore Tso + + * util.c (string_to_time): Fix bug in date parser so that integer + time values can be used. + +2007-04-02 Theodore Tso + + * dump.c (do_rdump): Use O_LARGEFILE when creating files. Add a + #define of GNU_SOURCE so that the dump and rdump commands + work with files > 2GB. (Addresses Debian Bug: #412614) + +2007-03-29 Theodore Tso + + * debugfs.c (do_print_working_directory): Handle the case if + ext2fs_get_pathname returns NULL for the pathname. + + * htree.c (do_htree_dump): Fix coverity use before assignment + warning. (long_opt isn't being used for anything right + now, so this is a no-op) + +2007-03-23 Theodore Tso + + * logdump.c (do_logdump): Fix file handle leak if logdump fails + with an error. + +2007-03-21 Theodore Tso + + * icheck.c (do_icheck): Fix memory leak and clean up error + handling paths. + + * htree.c (htree_dump_int_block): Fix memory leak on error paths. + + * dump.c (rdump_dirent), htree.c (htree_dump_leaf_node), + ls.c (list_dir_proc): Add an extra byte to EXT2_NAME_LEN + to avoid the possibility of an array overrun if the + filename is exactly EXT2_NAME_LEN in size. + +2007-03-07 Theodore Tso + + * debugfs.c (do_lcd): Allow the lcd command when debugfs does not + currently have a filesystem open. + (Addresses LTC Bugzilla #27513) + +2007-01-28 Theodore Tso + + * unused.c: Fix bug so that the dump_unused command segfault if + used without an open filesystem + +2006-12-22 Theodore Tso + + * debugfs.c (main): Use the new {add,remove}_error_table comerr + interfaces instead of initialize_*_error_table. + +2006-11-12 Theodore Tso + + * debugfs.c (do_open_filesys, main): Open filesystems with the + SOFTSUPP flag, to make easier to work on filesystem + features that are still under development. + +2006-11-11 Theodore Tso + + * set_fields.c: Add the ability to use set_super_value to set the + superblock flags field. + + * htree.c (htree_dump_leaf_node): Check the superblock flags to + determine whether to use the signed or unsigned version of + the hash should be used. + +2006-10-01 Theodore Tso + + * Makefile.in (DEPLIBBLKID): Use DEPLIBBLKID not LIBBLKID to + define the dependencies used by the blkid library. + +2006-08-30 Eric Sandeen + + * htree.c (htree_dump_int_node): Fix printf formats. + +2006-08-29 Theodore Tso + + * lsdel.c (do_lsdel): Fix core-dumping bug. Don't depend on + current_fs being non-NULL until after the call to + common_args_process(). (Addresses Debian Bug: #378335) + +2006-05-29 Theodore Tso + + * util.c (reset_getopt): In order to support ancient Linux header + files that don't define __GLIBC__ (but which were using + glibc anyway), assume that any system that defines + __linux__ should use the glibc method of resetting getopt(). + +2006-05-28 Theodore Tso + + * unused.c (do_dump_unused): Use EXT2_MAX_BLOCK_SIZE instead of a + hardcoded blocksize of 32768, since this will fail on a + filesystem with a 64k blocksize. (Addresses SourceForge + bug #1424311) + +2006-05-21 Theodore Tso + + * set_fields.c (parse_time): Fix type warning problem with time_t + +2006-05-08 Theodore Tso + + * debugfs.c (do_show_super_stats): Print out the block group flags + if they are set. + +2006-04-27 Theodore Ts'o + + * htree.c (do_htree_dump, do_dx_hash), ls.c (do_list_dir): Add + missing default case in the getopt() while/switch loop so + that we print a usage() statement when the user specified + an illegal option. + +2006-03-18 Theodore Ts'o + + * debugfs.c, htree.c, unused.c: Change printf statements to use + %u instead of %d when printing block numbers. + + * debugfs.c (do_open_filesys), debugfs.8.in: Add the -e option to + the open_filesystem command, which requests that the + filesystem be opened in exclusive mode. + +2006-03-08 Theodore Ts'o + + * Fix bug in icheck which incorrectly reports the last valid inode + number as the owner for an EA block. + +2005-12-10 Theodore Ts'o + + * debugfs.c, debugfs.h, logdump.c, ls.c: Clean up various gcc + -Wall complaints. + +2005-09-24 Theodore Ts'o + + * set_fields.c (parse_time), util.c (string_to_time), debugfs.c + (do_set_current_time): Generalize the time parsing code + and move it to util.c:string_to_time(). Add new command, + set_current_time, which sets the time used to set the + filesystems's time fields. + +2005-09-06 Theodore Ts'o + + * set_fields.c: Fix set_inode_field so it can properly set the + i_size field. Thanks to James Nelson for pointing this + out. + +2005-07-04 Theodore Ts'o + + * set_fields.c: Fix a bug which caused set_inode_field to silently + fail when setting the following fields: frag, fsize, + uid_high, gid_high, and author. + +2006-06-30 Theodore Ts'o + + * Release of E2fsprogs 1.38 + +2005-05-05 Theodore Ts'o + + * debugfs.c (do_stat): Check to make sure a filesystem is open + and abort if with an error if not, to prevent a seg fault + in that case. + +2005-03-21 Theodore Ts'o + + * Release of E2fsprogs 1.37 + +2005-03-21 Theodore Ts'o + + * debugfs.c (internal_dump_inode_extra): Print the size of + the inode's extra fields. + +2005-03-20 Theodore Ts'o + + * util.c (debugfs_write_new_inode): New function + + * debgufs.c (do_write, do_mknod): Call ext2fs_write_new_inode() + instead of ext2fs_write_inode(). + + * debugfs.c (do_stat): Add support for dumping extended attributes + which are stored in the inode body. + + * util.c (debugfs_read_inode_full): new function + +2006-02-05 Theodore Ts'o + + * Release of E2fsprogs 1.36 + +2005-02-03 Theodore Ts'o + + * set_fields.c: Define _XOPEN_SOURCE to be 500 to fix compilation + problems on Solaris. + +2005-01-20 Theodore Ts'o + + * set_fields.c: Add support for the jnl_blocks[] for set_super_value + +2005-01-19 Matthias Andree + + * set_fields.c: Add _XOPEN_SOURCE #define on all but Solaris + systems so that strptime() gets defined. + (parse_bmap): Add missing return statement. + +2005-01-07 Theodore Ts'o + + * debug_cmds.ct: Make the official name of set_inode be + set_inode_field, since it is more intuitive. + + * set_fields.c (print_possible_fields): Document bmap[] in + "set_inode_field -l" listing. Change name of set_inode to + set_inode_field in usage message. + +2004-12-23 Theodore Ts'o + + * set_fields.c: Add support for array indexes, which we use for + the i_block[] array. Also add the pseudo inode field + bmap, which can be used for setting logical->physical + mappings directly. + +2004-12-21 Theodore Ts'o + + * setfields.c: Renamed from setsuper.c + Added support to set date/time fields. + Added support for setting superblock values wtime, mtime, + lastcheck, and mkfs_time as date/time fields. + Added support for the set_inode command. + * debugfs.h, debug_cmds.ct, debugfs.8.in: Added set_inode command + +2004-12-16 Theodore Ts'o + + * setsuper.c: Add definitions for newer superblock fields: + reserved_gdt_blocks, jnl_backup_type, default_mount_opts, + first_meta_bg, and mkfs_time. + +2004-12-14 Theodore Ts'o + + * Makefile.in: Move strip command to install-strip target. + Use Linux-kernel-style makefile output for "make install" + + * Makefile.in (installdirs): Use $(MKINSTALLDIRS) macro + +2004-11-30 Theodore Ts'o + + * util.c (time_to_string): If the TZ environment variable is set + to GMT, use gmtime() instead of localtime() or ctime() to + force the use of GMT. This is because the dietlibc + doesn't honor the TZ environment variable. + + * Makefile.in: Use Linux-kernel-style makefile output to make it + easier to see errors/warnings. + +2004-11-29 Theodore Ts'o + + * debugfs.c (do_open_filesys): Fix obvious uninitialized variable + buglet. + +2004-11-19 Theodore Ts'o + + * debugfs.c (kill_file_by_inode): Only iterate over the inode to + release blocks if the inode has them; otherwise attempting + to rm devices and fast symlinks will lead to errors. + (Addresses Sourceforge Bug #954741 and #957244) + +2004-07-28 Theodore Ts'o + + * debugfs.c, debugfs.8.in: Add new option -d which allows the + system administrator to specify data source of a + filesystem being opened via an e2image file. + +2004-04-11 Theodore Ts'o + + * util.c (open_pager): Use DEBUGFS_PAGER in preference to PAGER + (Addresses Debian Bug #239547) + +2004-04-03 Theodore Ts'o + + * Makefile.in: Update the modtime even if subst doesn't need to + update the debugfs man page, to avoid always re-running + subst, especially since there are no dependencies on the + man page. + +2004-03-20 Theodore Ts'o + + * debugfs.c (make_link): Set the filetype information when + creating a link. + +2004-02-28 Theodore Ts'o + + * Release of E2fsprogs 1.35 + +2004-02-23 Theodore Ts'o + + * debugfs.c (internal_dump_inode): Display the major/minor device + numbers for block/character devices. + (do_mknod): Add support for new-style device numbers (where + the major or minor number is greater than 255 and less + than 65535). (Addresses Sourceforge bug #865289) + +2004-02-21 Theodore Ts'o + + * debugfs.8.in: Fix the debugfs man page to reference the + init_filesys command, instead of "initialize". (Addresses + Debian Bug #232406) + +2004-02-14 Theodore Ts'o + + * debugfs.c (internal_dump_inode): Correctly deal with symlinks + that have extended attribute information. (Addresses + Debian Bug #232328) + +2004-01-24 Theodore Ts'o + + * debugfs.8.in: Document the PAGER and DEBUGFS_PAGER environment + variables. + + * util.c (open_pager): Use the "more" pager in preference to + "less", since "less" doesn't work terribly well for + debugfs's purpose. + +2003-12-25 Theodore Ts'o + + * util.c (open_pager): Try to use the DEBUGFS_PAGER environment + variable first, and then fall back to the PAGER + environment variable. Finally, search for an appropriate + pager executable. + +2003-12-11 Theodore Ts'o + + * debugfs.c (do_write, do_mkdir): If the directory is full, + automatically call ext2fs_expand_dir() and then retry to + add the link to the directory as a convenience to the + user. (Addresses Debian Bug: #217892) + (do_mknod): Clean up expand_dir error handling. + +2003-12-07 Theodore Ts'o + + * debugfs.c (do_write): Mask off the file type bits, and OR in the + regular file information. (Addresses Debian Bug: #217456) + + * util.c (open_pager): Search for the pager to use, starting with + 'pager', and then falling back to 'less' and then 'more'. + (Addresses Debian Bug: #221977) + + * debugfs.c, debugfs.h, dump.c, htree.c, icheck.c, logdump.c, + ls.c, lsdel.c, ncheck.c, setsuper.c, unused.c: Fix gcc + -Wall nitpicks. + +2003-08-24 Theodore Ts'o + + * debugfs.8.in: Adjust description line so that apropos + "ext2" or "ext3" will find the man page. (Addresses + Debian Bug #206845) + +2003-08-21 Theodore Ts'o + + * debugfs.8.in: Fully document the logdump command in the debugfs + man page. + + * logdump.c (do_logdump): Add -s option which will use the journal + inode information in the superblock. + +2003-07-25 Theodore Ts'o + + * Release of E2fsprogs 1.34 + +2003-07-06 Theodore Ts'o + + * debugfs.c (do_imap): Fix gcc -Wall nitpicks (printf format types). + +2003-05-21 Theodore Ts'o + + * unused.c (do_dump_unused): Add new command which dumps the + unused blocks. (Initial implementation; currently only + dumps the output to stdout.) + +2003-05-13 root + + * util.c (reset_getopt), debugfs.c (do_open_filesys, + do_show_super_stats), ls.c (do_list_dir), dump.c (do_dump), + htree.c (do_htree_dump, do_dx_hash), logdump.c (do_logdump): + Define and use a new function, reset_getopt(), which does whatever + is necessary to reset getopt() again. This is different for + different implementations, so the portabilty issues are a bit of a + nightmare. (Addresses Debian bug #192834) + +2003-05-05 Theodore Ts'o + + * debugfs.c (do_imap), debugfs.h, debug_cmds.ct, debugfs.8.in: + Added new command, imap, which prints the location of a + specified inode in the inode table. + +2003-04-21 Theodore Ts'o + + * Release of E2fsprogs 1.33 + +2003-03-16 Theodore Ts'o + + * Makefile.in (DLOPEN_LIB): Link in the libdl library if it is + present on the system. + + * debugfs.c (main): Call ss_get_readline() to attempt to pull in + the readline library. + +2003-03-06 Theodore Tso + + * debugfs.c (do_open_filesys, do_show_super_stats), + ls.c (do_list_dir), dump.c (do_dump), htree.c (do_htree_dump, + do_dx_hash), logdump.c (do_logdump): Reset optind to 1 for better + compatibility with non-glibc implementations of getopt. + +2003-03-01 Theodore Ts'o + + * Makefile.in, logdump.c (do_logdump): Use the blkid functions to + find the external journal device. + +2003-01-21 Theodore Ts'o + + * dump.c (do_dump): Open the output file with O_LARGEFILE so we + can write files larger than 2GB. + +2002-11-09 Theodore Ts'o + + * Release of E2fsprogs 1.32 + +2002-11-08 Theodore Ts'o + + * Release of E2fsprogs 1.31 + +2002-10-31 Theodore Ts'o + + * Release of E2fsprogs 1.30 + +2002-10-31 Theodore Ts'o + + * debugfs.c (do_write): Check to see if the filename exists before + creating it, and give an error if so. Addresses + Sourceforge bug #478195. + +2002-10-30 Theodore Ts'o + + * Makefile.in (install): Search all compression extensions when + deleting old man pages. + +2002-10-13 Theodore Ts'o + + * debugfs.h, htree.c, setsuper.c: Fix gcc -Wall nits. + +2002-10-02 Theodore Y. Ts'o + + * htree.c (htree_dump_leaf_node): Use ext2fs_read_dir_block2 so + that the directory entries are appropriately byte-swapped. + +2001-09-24 Theodore Tso + + * Release of E2fsprogs 1.29 + 2002-09-22 root * htree.c (htree_dump_int_node): Flag continuation hashes to make