Theodore Ts'o | ed909bb | 2002-08-16 17:03:59 -0400 | [diff] [blame] | 1 | 2002-08-16 Theodore Ts'o <tytso@mit.edu> |
| 2 | |
| 3 | * icheck.c (do_icheck): Check to see if the block is listed as |
| 4 | part of the extended attribute block. |
| 5 | |
Theodore Ts'o | 155f577 | 2002-07-21 14:17:45 -0400 | [diff] [blame] | 6 | 2002-07-21 Theodore Ts'o <tytso@mit.edu> |
| 7 | |
| 8 | * htree.c (do_htree_dump): Fix a bug where we were not cleanly |
| 9 | closing the pager after errors, which would leave the |
| 10 | tty in noecho mode. |
| 11 | |
Theodore Ts'o | 621732c | 2002-07-18 22:19:51 -0400 | [diff] [blame] | 12 | 2002-07-18 Theodore Ts'o <tytso@mit.edu> |
| 13 | |
| 14 | * htree.c (htree_dump_int_node): Add byte swapping code sot that |
| 15 | the htree dump function works on a big-endian machine. |
| 16 | |
Theodore Ts'o | 34be960 | 2002-07-15 16:56:41 -0400 | [diff] [blame] | 17 | 2002-07-15 Theodore Ts'o <tytso@mit.edu> |
| 18 | |
| 19 | * debugfs.c (do_show_super_stats): Calculate and print the number |
| 20 | of directories on a filesystem --- because we can and |
| 21 | because it can be useful. |
| 22 | |
Theodore Ts'o | d7f64ae | 2002-07-09 01:27:05 -0400 | [diff] [blame] | 23 | 2002-07-09 Theodore Ts'o <tytso@mit.edu> |
| 24 | |
| 25 | * debugfs.c (do_rmdir), debugfs.8.in: Implement the rmdir command. |
| 26 | Addresses Debian bug #138003. |
| 27 | |
Theodore Ts'o | 503f9e7 | 2002-06-26 16:52:10 -0400 | [diff] [blame] | 28 | 2002-06-26 Theodore Ts'o <tytso@mit.edu> |
| 29 | |
| 30 | * htree.c (do_dx_hash): Use new ext2fs_dirhash function signature. |
| 31 | Add getopt support so user can specify the hash version. |
| 32 | |
Theodore Ts'o | b38cd28 | 2002-05-11 22:13:20 -0400 | [diff] [blame] | 33 | 2002-05-11 <tytso@snap.thunk.org> |
| 34 | |
| 35 | * debug_cmds.ct, debugfs.c (do_bmap): Add new command "bmap" which |
| 36 | calculates the logical->physical block mapping for an |
| 37 | inode. |
| 38 | |
| 39 | * debugfs.c (do_init_filsys, main), util.c |
| 40 | (common_block_args_process): Fix bad calling parameter |
| 41 | order when calling parse_ulong. This broke the -b and -s |
| 42 | options to debugfs, as well as do_init, and the testb, |
| 43 | setb, clearb functions. |
| 44 | |
Theodore Ts'o | e5b3b27 | 2002-04-01 15:42:21 -0500 | [diff] [blame] | 45 | 2002-04-01 <tytso@snap.thunk.org> |
| 46 | |
| 47 | * util.c (parse_ulong): Fix typo which cases parse_ulong to |
| 48 | coredump if the err variable is filled in (for example, if |
| 49 | the -b or -s options are passed to the debugfs's |
| 50 | command-line invocation). |
| 51 | |
Theodore Ts'o | 52783e0 | 2002-03-11 15:04:45 -0500 | [diff] [blame] | 52 | 2002-03-11 Theodore Tso <tytso@mit.edu> |
| 53 | |
Theodore Ts'o | f9190c8 | 2002-03-12 01:05:06 -0500 | [diff] [blame] | 54 | * ls.c (list_dir_proc): Fix bug: ls -l fails to print the file |
| 55 | type correctly if running on big-endian systems. |
| 56 | |
Theodore Ts'o | 52783e0 | 2002-03-11 15:04:45 -0500 | [diff] [blame] | 57 | * htree.c (htree_dump_leaf_node): Use the ext2_dirhash function |
| 58 | instead of a local static function. |
| 59 | |
Theodore Ts'o | a8e7724 | 2002-03-08 03:12:14 -0500 | [diff] [blame] | 60 | 2002-03-08 Theodore Tso <tytso@mit.edu> |
| 61 | |
| 62 | * Release of E2fsprogs 1.27 |
| 63 | |
Theodore Ts'o | 3f83020 | 2002-03-07 02:56:53 -0500 | [diff] [blame] | 64 | 2002-03-07 <tytso@snap.thunk.org> |
| 65 | |
| 66 | * ls.c (list_dir_proc): Fix typo in debugfs which was causing a |
| 67 | compiler warning. |
| 68 | |
Theodore Ts'o | 7380ac9 | 2002-03-05 01:57:53 -0500 | [diff] [blame] | 69 | 2002-03-05 Theodore Tso <tytso@mit.edu> |
| 70 | |
| 71 | * lsdel.c (do_lsdel): lsdel uses the pager to print out the list |
| 72 | of potentially deleted inode. Thanks to Jaroslav Drzik |
| 73 | <jdrzik@host.sk> for suggesting this enhancement. |
| 74 | |
| 75 | * debugfs.c (do_modify_inode): Fix bug which caused modify_inode |
| 76 | to core dump if a fliesystem isn't open. Thanks to |
| 77 | Jaroslav Drzik <jdrzik@host.sk> for finding and reporting |
| 78 | the bug and his proposed fix. |
| 79 | |
Theodore Ts'o | fa7c302 | 2002-02-26 17:13:12 -0500 | [diff] [blame] | 80 | 2002-02-26 Theodore Tso <tytso@mit.edu> |
| 81 | |
| 82 | * ls.c (list_dir_proc): When listing the directory entry in long |
| 83 | format, include the file type of the directory entry in |
| 84 | parenthesis. |
| 85 | |
Theodore Ts'o | 57173d0 | 2002-02-26 14:59:39 -0500 | [diff] [blame] | 86 | 2002-02-25 Theodore Tso <tytso@mit.edu> |
Theodore Ts'o | df614db | 2002-02-25 04:28:45 -0500 | [diff] [blame] | 87 | |
| 88 | * util.c (open_pager): If the PAGER environment is set to __none__ |
| 89 | then don't use a pager at all, and ship it all to stdout. |
| 90 | |
| 91 | * Makefile.in, debug_cmds.ct, htree.c: Add new file htree.c, which |
| 92 | implements the three new commands, htree_dump, dx_hash, |
| 93 | and dirsearch. |
| 94 | |
Theodore Ts'o | 57173d0 | 2002-02-26 14:59:39 -0500 | [diff] [blame] | 95 | 2002-02-24 Theodore Tso <tytso@mit.edu> |
Theodore Ts'o | b9f4092 | 2002-02-24 03:08:57 -0500 | [diff] [blame] | 96 | |
| 97 | * Makefile.in (install): Remove any compressed man pages before |
| 98 | installing the man pages. |
| 99 | |
Theodore Ts'o | a5f3f5c | 2002-02-03 01:00:22 -0500 | [diff] [blame] | 100 | 2002-02-03 Theodore Tso <tytso@thunk.org> |
| 101 | |
| 102 | * Release of E2fsprogs 1.26 |
| 103 | |
Theodore Ts'o | 57173d0 | 2002-02-26 14:59:39 -0500 | [diff] [blame] | 104 | 2002-01-03 Theodore Tso <tytso@mit.edu> |
Theodore Ts'o | e1018ee | 2002-01-03 04:55:25 -0500 | [diff] [blame] | 105 | |
| 106 | * lsdel.c (do_lsdel): New optional argument which allows the user |
| 107 | to only see the most recently deleted files. |
| 108 | |
| 109 | * debugfs.c (do_undel, do_testb, do_freeb, do_setb, do_ffb): Add |
| 110 | new command, undelete, which automates undeleting a |
| 111 | deleted inode and linking it back to a directory. Add a |
| 112 | count argument to the testb, freeb, setb, and ffb commands. |
| 113 | |
| 114 | * ls.c (list_dir_proc, do_list_dir): Add support for -d option |
| 115 | which lists deleted directory entries. |
| 116 | |
| 117 | * debug_cmds.ct: Add new command, undelete. |
| 118 | |
| 119 | * dump.c, icheck.c, logdump.c, ls.c, lsdel.c, setsuper.c, |
| 120 | debugfs.c: Use new utility functions which factor out |
| 121 | commonly used code. |
| 122 | |
| 123 | * util.c (debugfs_read_inode, debugfs_write_inode, |
| 124 | common_block_args_process, common_inode_args_process, |
| 125 | common_args_process, strtoblk, parse_ulong): New |
| 126 | functions which factor out commonly used code into |
| 127 | subroutines for ease of maintenance and to make the |
| 128 | executable size smaller. |
| 129 | |
Theodore Ts'o | 57173d0 | 2002-02-26 14:59:39 -0500 | [diff] [blame] | 130 | 2001-12-23 Theodore Tso <tytso@mit.edu> |
Theodore Ts'o | 19007e5 | 2001-12-23 19:33:51 -0500 | [diff] [blame] | 131 | |
| 132 | * Makefile.in, jfs_user.h: Move linux/jbd.h to |
| 133 | ext2fs/kernel-jbd.h, to avoid using the system header |
| 134 | file version of hbd.h when using diet glibc (since it |
| 135 | forcibly adds /usr/include to the beginning of the |
| 136 | include search path.) |
| 137 | |
Theodore Ts'o | 57173d0 | 2002-02-26 14:59:39 -0500 | [diff] [blame] | 138 | 2001-12-22 Theodore Tso <tytso@mit.edu> |
Theodore Ts'o | 3443689 | 2001-12-22 13:06:02 -0500 | [diff] [blame] | 139 | |
| 140 | * debugfs.c (kill_file_by_inode, release_blocks_proc): Update the |
| 141 | group descriptor free block and inode counts when deleting |
| 142 | or killing a file. |
| 143 | |
Theodore Ts'o | 57173d0 | 2002-02-26 14:59:39 -0500 | [diff] [blame] | 144 | 2001-12-16 Theodore Tso <tytso@mit.edu> |
Theodore Ts'o | 8cf9333 | 2001-12-16 02:23:36 -0500 | [diff] [blame] | 145 | |
Theodore Ts'o | 4ea7bd0 | 2001-12-16 23:23:37 -0500 | [diff] [blame] | 146 | * setsuper.c (print_possible_fields), |
| 147 | logdump.c (dump_journal): Fix gcc -Wall nits |
| 148 | |
Theodore Ts'o | 8cf9333 | 2001-12-16 02:23:36 -0500 | [diff] [blame] | 149 | * Makefile.in, jfs_user.h: linux/jfs.h has been renamed to |
| 150 | linux/jbd.h |
| 151 | |
Theodore Ts'o | 57173d0 | 2002-02-26 14:59:39 -0500 | [diff] [blame] | 152 | 2001-12-02 Theodore Tso <tytso@mit.edu> |
Theodore Ts'o | 571fc5a | 2001-12-02 17:23:27 +0100 | [diff] [blame] | 153 | |
| 154 | * util.c (close_pager): Use pclose() instead of fclose() when |
| 155 | closing the pager stream. |
| 156 | |
Theodore Ts'o | 57173d0 | 2002-02-26 14:59:39 -0500 | [diff] [blame] | 157 | 2001-11-30 Theodore Tso <tytso@mit.edu> |
Theodore Ts'o | e898188 | 2001-11-30 11:51:30 +0100 | [diff] [blame] | 158 | |
| 159 | * debugfs.c (finish_range, dump_blocks): Fixed bug in Andreas's > |
| 160 | 2GB support changes: you need to use %lld when printf'ing |
| 161 | an long long variable. |
| 162 | |
Theodore Ts'o | 57173d0 | 2002-02-26 14:59:39 -0500 | [diff] [blame] | 163 | 2001-11-24 Theodore Tso <tytso@mit.edu> |
Theodore Ts'o | 6e96adc | 2001-11-24 16:10:52 -0500 | [diff] [blame] | 164 | |
| 165 | * debugfs.8.in: Update manual page to document the set_super_value |
| 166 | and logdump commands, and move the "specifying files" |
| 167 | section closer to the beginning of the man page so people |
| 168 | won't miss it. |
| 169 | |
| 170 | * setsuper.c (print_possible_fields): "set_super_value -l" now |
| 171 | prints out the list of valid superblock fields which the |
| 172 | ssv command can set. |
| 173 | |
Theodore Ts'o | fbf9111 | 2001-09-20 10:47:47 -0400 | [diff] [blame] | 174 | 2001-09-20 Theodore Tso <tytso@thunk.org> |
| 175 | |
| 176 | * Release of E2fsprogs 1.25 |
| 177 | |
Theodore Ts'o | fb70775 | 2001-09-04 15:00:37 -0400 | [diff] [blame] | 178 | 2001-09-02 Theodore Tso <tytso@thunk.org> |
| 179 | |
| 180 | * Release of E2fsprogs 1.24a |
| 181 | |
Theodore Ts'o | 109624a | 2001-08-31 00:59:55 -0400 | [diff] [blame] | 182 | 2001-08-30 Theodore Tso <tytso@thunk.org> |
| 183 | |
| 184 | * Release of E2fsprogs 1.24 |
| 185 | |
Theodore Ts'o | 0f8973f | 2001-08-27 12:44:23 -0400 | [diff] [blame] | 186 | 2001-08-27 Theodore Tso <tytso@valinux.com> |
| 187 | |
| 188 | * debugfs.c (main): Remove EXT2FS_VERSION from the version |
| 189 | display, since it only confuses people. |
| 190 | |
Theodore Ts'o | 943ed87 | 2001-08-27 12:29:22 -0400 | [diff] [blame] | 191 | 2001-08-15 Theodore Tso <tytso@valinux.com> |
| 192 | |
| 193 | * Release of E2fsprogs 1.23 |
| 194 | |
Theodore Ts'o | 5faba3a | 2001-08-12 03:38:51 -0400 | [diff] [blame] | 195 | 2001-08-12 Theodore Tso <tytso@valinux.com> |
| 196 | |
| 197 | * logdump.c (do_logdump, dump_journal): Add support for dumping |
| 198 | external journals. |
| 199 | |
Theodore Ts'o | 6796013 | 2001-06-23 00:16:37 -0400 | [diff] [blame] | 200 | 2001-06-23 Theodore Tso <tytso@valinux.com> |
| 201 | |
| 202 | * Release of E2fsprogs 1.22 |
| 203 | |
Theodore Ts'o | f4f75ba | 2001-06-16 01:14:28 +0000 | [diff] [blame] | 204 | 2001-06-15 Theodore Tso <tytso@valinux.com> |
| 205 | |
| 206 | * Release of E2fsprogs 1.21 |
| 207 | |
Theodore Ts'o | 364a373 | 2001-06-13 23:46:39 +0000 | [diff] [blame] | 208 | 2001-06-13 Theodore Tso <tytso@valinux.com> |
| 209 | |
| 210 | * setsuper.c: Add s_lastcheck field to the fields which can be |
| 211 | modified using set_super_value. (Suggested by Andreas |
| 212 | Dilger) |
| 213 | |
Theodore Ts'o | b784640 | 2001-06-03 23:27:56 +0000 | [diff] [blame] | 214 | 2001-06-03 Theodore Tso <tytso@valinux.com> |
| 215 | |
| 216 | * debugfs.c (copy_file): Fixed signed vs unsigned bug which causes |
| 217 | read errors to not be noticed. |
| 218 | |
Theodore Ts'o | 4bb0c04 | 2001-06-01 15:22:38 +0000 | [diff] [blame] | 219 | 2001-06-01 Theodore Tso <tytso@valinux.com> |
| 220 | |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 221 | * Makefile.in: Move include/asm/types.h.in to |
Theodore Ts'o | 36a23e1 | 2001-06-02 00:54:10 +0000 | [diff] [blame] | 222 | lib/ext2fs/ext2_types.h.in. |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 223 | |
Theodore Ts'o | 5e4f070 | 2001-06-01 15:36:05 +0000 | [diff] [blame] | 224 | * debugfs.c, debugfs.h, logdump.c: Fix various gcc -Wall nitpicks. |
| 225 | |
Theodore Ts'o | 4bb0c04 | 2001-06-01 15:22:38 +0000 | [diff] [blame] | 226 | * logdump.c (read_journal_block): Replace pread with lseek/read |
| 227 | combination. |
| 228 | |
Theodore Ts'o | bb18586 | 2001-05-25 17:35:00 +0000 | [diff] [blame] | 229 | 2001-05-25 Theodore Tso <tytso@valinux.com> |
| 230 | |
| 231 | * Release of E2fsprogs 1.20 |
| 232 | |
Theodore Ts'o | 54c637d | 2001-05-14 11:45:38 +0000 | [diff] [blame] | 233 | 2001-05-14 Theodore Tso <tytso@valinux.com> |
| 234 | |
| 235 | * debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h |
| 236 | |
Theodore Ts'o | 777ebb3 | 2001-05-13 02:45:15 +0000 | [diff] [blame] | 237 | 2001-05-12 Theodore Tso <tytso@valinux.com> |
| 238 | |
| 239 | * debugfs.c (print_features): Use fputs instead of printf to |
| 240 | output using the passed-in FILE *. |
| 241 | |
Theodore Ts'o | 085cb19 | 2001-05-09 06:09:12 +0000 | [diff] [blame] | 242 | 2001-05-09 Theodore Tso <tytso@valinux.com> |
| 243 | |
| 244 | * debugfs.c (do_write, do_mknod): Set the file type information |
| 245 | when creating the inode. |
| 246 | |
Theodore Ts'o | 59cf7e0 | 2001-05-03 15:05:55 +0000 | [diff] [blame] | 247 | 2001-05-03 Theodore Tso <tytso@valinux.com> |
| 248 | |
| 249 | * debugfs.c (do_open_filesys, main): Add -i option which will |
| 250 | allow debugfs to examine ext2 image files. |
| 251 | |
Theodore Ts'o | da81e3f | 2001-03-29 20:49:58 +0000 | [diff] [blame] | 252 | 2001-03-29 Theodore Tso <tytso@valinux.com> |
| 253 | |
| 254 | * debugfs.c (dump_blocks, dump_inode, internal_dump_inode): Add |
| 255 | internal_dump_inode() interface for the logdump command. |
| 256 | |
| 257 | * logdump.c: Imported code from Stephen Tweedie to dump the ext3 |
| 258 | journal. |
| 259 | |
Theodore Ts'o | 0a24c00 | 2001-03-18 18:16:18 +0000 | [diff] [blame] | 260 | 2001-03-18 Theodore Tso <tytso@valinux.com> |
| 261 | |
| 262 | * debugfs.c (do_write, do_mknod): Remove extra (useless) call to |
| 263 | ext2fs_write_inode. |
| 264 | |
Theodore Ts'o | b74d1d8 | 2001-01-12 17:23:52 +0000 | [diff] [blame] | 265 | 2001-01-12 Theodore Ts'o <tytso@valinux.com> |
| 266 | |
Theodore Ts'o | 426d734 | 2001-01-13 01:29:05 +0000 | [diff] [blame] | 267 | * setsuper.c: Cleaned up some random whitespace problems. |
| 268 | |
| 269 | * debugfs.h, debugfs.c (do_show_super_stats): Use full words |
Theodore Ts'o | b74d1d8 | 2001-01-12 17:23:52 +0000 | [diff] [blame] | 270 | instead of pluralism hack to make I18N conversion easier. |
| 271 | Clean up gcc -Wall complaints. |
| 272 | |
Theodore Ts'o | b044c2e | 2001-01-11 15:26:39 +0000 | [diff] [blame] | 273 | 2001-01-11 <tytso@snap.thunk.org> |
| 274 | |
| 275 | * debugfs.c, debugfs.h, dump.c, icheck.c, ls.c, lsdel.c, ncheck.c, |
| 276 | setsuper.c, util.c: Change ino_t to ext2_ino_t. Fix a few |
| 277 | minor gcc-wall complaints while we're at it. |
| 278 | |
Theodore Ts'o | 5dd8f96 | 2001-01-01 15:51:50 +0000 | [diff] [blame] | 279 | 2001-01-01 <tytso@snap.thunk.org> |
| 280 | |
| 281 | * debugfs.c Replace use of struct ext2fs_sb with struct |
| 282 | ext2_super_block. |
| 283 | |
Theodore Ts'o | 3db9305 | 2000-12-30 20:26:31 +0000 | [diff] [blame] | 284 | 2000-12-30 <tytso@snap.thunk.org> |
| 285 | |
Theodore Ts'o | c5de1d4 | 2000-12-31 01:39:54 +0000 | [diff] [blame] | 286 | * dump.c (fix_perms): Fix bug for systems which don't have fchown; |
| 287 | was incorrectly using chmod instead of chown. |
| 288 | |
Theodore Ts'o | 3db9305 | 2000-12-30 20:26:31 +0000 | [diff] [blame] | 289 | * setsuper.c (find_field): Strip the s_prefix if given for ssv |
Theodore Ts'o | c5de1d4 | 2000-12-31 01:39:54 +0000 | [diff] [blame] | 290 | fields. Remove hard-coded s_ from inode_size |
| 291 | field. (Suggested by Andreas Dilger) |
Theodore Ts'o | 3db9305 | 2000-12-30 20:26:31 +0000 | [diff] [blame] | 292 | |
| 293 | * debugfs.c (do_modify_inode): Add the ability to set the inode |
| 294 | generation number. (Suggested by Andreas Dilger) |
| 295 | |
Theodore Ts'o | 9131a75 | 2000-08-23 04:36:25 +0000 | [diff] [blame] | 296 | 2000-08-23 <tytso@valinux.com> |
| 297 | |
| 298 | * util.c (string_to_inode): Use strtoul instead of atoi, so that |
| 299 | hex inode numbers will be accepted. |
| 300 | |
Theodore Ts'o | 2c4a540 | 2000-08-19 17:33:28 +0000 | [diff] [blame] | 301 | 2000-08-19 <tytso@valinux.com> |
| 302 | |
| 303 | * util.c (open_pager): Set SIGPIPE to be ignored, so that quitting |
| 304 | out of the pager doesn't blow away debugfs. |
| 305 | |
Theodore Ts'o | 0a3db93 | 2000-08-14 17:06:05 +0000 | [diff] [blame] | 306 | 2000-08-14 <tytso@valinux.com> |
| 307 | |
Theodore Ts'o | bd09eff | 2000-08-14 20:39:17 +0000 | [diff] [blame] | 308 | * debugfs.c (do_show_super_stats): Use list_super2() instead of |
| 309 | using explicit printf statements. (We get a more complete |
| 310 | printout this way.) |
| 311 | |
Theodore Ts'o | c6bd0c9 | 2000-08-14 20:37:09 +0000 | [diff] [blame] | 312 | * util.c (open_pager): If the PAGER environment variable is not |
| 313 | set, default to using "more". |
| 314 | |
| 315 | * setsuper.c: New function which implements the set_super_value |
| 316 | command. Allows the user to set arbitrary superblock |
| 317 | fields. |
| 318 | |
Theodore Ts'o | 0a3db93 | 2000-08-14 17:06:05 +0000 | [diff] [blame] | 319 | * debugfs.c (dump_inode): Cap the length when printing a fast |
| 320 | symbolic link to inode.i_size. |
| 321 | (list_blocks_proc): Print block ranges (4510-4533) to make |
| 322 | the stat output easier to read. |
| 323 | |
Theodore Ts'o | a5eef73 | 2000-08-14 15:47:15 +0000 | [diff] [blame] | 324 | 2000-06-27 Andreas Dilger <adilger@turbolabs.com> |
| 325 | |
| 326 | * debugfs.c (list_blocks_proc): show relative inode block numbers |
| 327 | and/or indirect block status |
| 328 | |
Theodore Ts'o | f9e6706 | 2000-07-13 23:25:54 +0000 | [diff] [blame] | 329 | 2000-07-13 <tytso@valinux.com> |
| 330 | |
| 331 | * Release of E2fsprogs 1.19 |
| 332 | |
Theodore Ts'o | 1419717 | 2000-07-05 17:48:34 +0000 | [diff] [blame] | 333 | 2000-07-05 Theodore Ts'o <tytso@valinux.com> |
| 334 | |
| 335 | * debugfs.c (dump_inode): Make the generation field be printed as |
| 336 | an unsigned integer. |
| 337 | |
Theodore Ts'o | 619dd19 | 2000-07-04 12:37:55 +0000 | [diff] [blame] | 338 | 2000-07-04 <tytso@snap.thunk.org> |
| 339 | |
| 340 | * Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the |
| 341 | mk_cmds support files from the source tree. |
| 342 | |
Theodore Ts'o | ee75309 | 2000-06-09 04:24:36 +0000 | [diff] [blame] | 343 | 2000-06-09 <tytso@snap.thunk.org> |
| 344 | |
| 345 | * lsdel.c (do_lsdel): Handle bad bad blocks in inode table. |
| 346 | |
Theodore Ts'o | d61f617 | 2000-05-27 16:04:00 +0000 | [diff] [blame] | 347 | 2000-05-27 Theodore Ts'o <tytso@valinux.com> |
| 348 | |
| 349 | * debugfs.c (do_testb, do_testi): Call check_fs_bitmaps to avoid |
| 350 | coredumping if the bitmaps aren't loaded. |
| 351 | |
| 352 | * util.c (check_fs_bitmaps): New function which checks whether or |
| 353 | not the bitmaps are loaded. |
| 354 | |
Theodore Ts'o | 2e8d40d | 2000-05-27 15:15:40 +0000 | [diff] [blame] | 355 | 2000-05-23 Aaron Crane <aaronc@pobox.com> |
| 356 | |
| 357 | * debugfs.8.in: Documented new behaviour. |
| 358 | |
| 359 | * ls.c (ls_l_file): Fix Y2K bug -- was printing 22-May-100 for |
| 360 | recent files. Switched to 4-digit years. |
| 361 | |
| 362 | * dump.c, debug_cmds.ct (do_rdump): Add new debugfs command |
| 363 | "rdump", which recursively dumps a directory and its |
| 364 | contents. |
| 365 | (fix_perms): New function. Break permission-fixing |
| 366 | code out of dump_file() so it can be called by rdump |
| 367 | code as well. |
| 368 | (dump_file): Call fix_perms(). |
| 369 | |
| 370 | * debugfs.c, debug_cmds.ct (do_lcd): Add new debugfs command |
| 371 | "lcd", which changes the cwd on the native filesystem. |
| 372 | |
| 373 | * debugfs.c (open_filesystem): Extra args for superblock, |
| 374 | blocksize, and catastrophic mode. Changed callers. |
| 375 | (do_open_filesys, main): Accept new -b, -s, -c options |
| 376 | for open_filesystem. |
| 377 | |
Theodore Ts'o | 80e808f | 2000-02-02 16:19:59 +0000 | [diff] [blame] | 378 | 2000-02-02 Theodore Ts'o <tytso@valinux.com> |
| 379 | |
| 380 | * debugfs.c (dump_inode): Remove #ifdef for i_version |
| 381 | vs. i_generation since we know it will always be |
| 382 | i_generation now. |
| 383 | |
Theodore Ts'o | 77200f4 | 2000-01-18 17:53:27 +0000 | [diff] [blame] | 384 | 2000-01-18 Theodore Ts'o <tytso@valinux.com> |
| 385 | |
Theodore Ts'o | e597304 | 2000-01-18 17:58:34 +0000 | [diff] [blame] | 386 | * debugfs.c (main): Use return instead of exit at the end of main |
| 387 | to avoid some compiler warnings. |
| 388 | |
Theodore Ts'o | 77200f4 | 2000-01-18 17:53:27 +0000 | [diff] [blame] | 389 | * Makefile.in: Since LIBUUID can sometimes include |
| 390 | "-lsocket" we need a separate DEPLIBUUID that can be used |
| 391 | in Makefile's dependency rules. |
| 392 | |
Theodore Ts'o | 5c36a2f | 1999-11-19 18:42:30 +0000 | [diff] [blame] | 393 | 1999-11-19 <tytso@valinux.com> |
| 394 | |
| 395 | * Makefile.in (distclean): Remove TAGS and Makefile.in.old from |
| 396 | the source directory. |
| 397 | |
Theodore Ts'o | cd08636 | 1999-11-10 16:00:39 +0000 | [diff] [blame] | 398 | 1999-11-10 <tytso@valinux.com> |
| 399 | |
| 400 | * Release of E2fsprogs 1.18 |
| 401 | |
Theodore Ts'o | 643efb8 | 1999-11-08 19:27:13 +0000 | [diff] [blame] | 402 | 1999-11-08 <tytso@valinux.com> |
| 403 | |
| 404 | * icheck.c (do_icheck): |
| 405 | * ncheck.c (do_ncheck): If ext2fs_open_inode_scan() returns |
| 406 | EXT2_ET_BAD_BLOCK_IN_INODE_TABLE loop to skip over the bad |
| 407 | blocks in the inode table. |
| 408 | |
Theodore Ts'o | f68aa41 | 1999-10-26 14:20:22 +0000 | [diff] [blame] | 409 | 1999-10-26 <tytso@valinux.com> |
| 410 | |
Theodore Ts'o | 28e1194 | 1999-10-26 18:17:20 +0000 | [diff] [blame] | 411 | * Release of E2fsprogs 1.17 |
| 412 | |
| 413 | 1999-10-26 <tytso@valinux.com> |
| 414 | |
Theodore Ts'o | f68aa41 | 1999-10-26 14:20:22 +0000 | [diff] [blame] | 415 | * debugfs.h: Add declaration for do_features() |
| 416 | |
| 417 | * debugfs.c: Add #incldue of e2p.h to fix gcc warnings. |
| 418 | |
Theodore Ts'o | 601002b | 1999-10-26 02:06:39 +0000 | [diff] [blame] | 419 | 1999-10-25 <tytso@valinux.com> |
| 420 | |
| 421 | * debugfs.c (do_dirty_filesys): Make the "dirty" command clear the |
| 422 | valid bit on the superblock. (And with a -clean option to |
| 423 | set the valid bit.) Originally it was used just to set |
| 424 | the "needs to be written" bit in the in-core version of |
| 425 | the fs structure. |
| 426 | |
Theodore Ts'o | 614fdfd | 1999-10-23 03:19:51 +0000 | [diff] [blame] | 427 | 1999-10-22 <tytso@valinux.com> |
| 428 | |
| 429 | * Release of E2fsprogs 1.16 |
| 430 | |
Theodore Ts'o | d3aea7d | 1999-09-14 20:55:37 +0000 | [diff] [blame] | 431 | 1999-09-07 <tytso@rsts-11.mit.edu> |
| 432 | |
| 433 | * debugfs.c, debug_cmds.ct: Add new debugfs command "feature" |
| 434 | which allows the user to set or clear filesystme features. |
| 435 | Add the -f (force) option to the open command. Add the |
| 436 | -h (superblock header only) option to the stats command. |
| 437 | |
Theodore Ts'o | 55376d8 | 1999-07-31 00:32:57 +0000 | [diff] [blame] | 438 | 1999-07-30 <tytso@rsts-11.mit.edu> |
| 439 | |
| 440 | * debugfs.c (dump_inode): Fix debugfs message so it is the same |
| 441 | for when compiled under either Linux 2.2 or 2.3. This |
| 442 | allows for the f_swapfs regression test suite to work |
| 443 | regardless of which OS e2fsprogs was compiled on. |
| 444 | |
Theodore Ts'o | 657cb97 | 1999-07-30 23:19:10 +0000 | [diff] [blame] | 445 | 1999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 446 | |
| 447 | * Release of E2fsprogs 1.15 |
| 448 | |
Theodore Ts'o | b41d360 | 1999-06-25 15:32:37 +0000 | [diff] [blame] | 449 | 1999-06-23 <tytso@valinux.com> |
| 450 | |
| 451 | * debugfs.c (dump_inode): Add compatibility for Linux 2.3 kernels |
| 452 | that use i_generation instead of i_version. Patch |
| 453 | supplied by Jon Bright <sircus@sircus.demon.co.uk>. |
| 454 | |
Theodore Ts'o | ce5ee99 | 1999-02-19 18:56:43 +0000 | [diff] [blame] | 455 | 1999-02-09 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 456 | |
| 457 | * icheck.c (do_icheck): Check to make sure the inode has valid |
| 458 | blocks before iterating over that inode's blocks. |
| 459 | |
Theodore Ts'o | 9e51eca | 1999-01-09 16:32:31 +0000 | [diff] [blame] | 460 | 1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 461 | |
| 462 | * Release of E2fsprogs 1.14 |
| 463 | |
Theodore Ts'o | 556ad13 | 1998-12-19 08:10:58 +0000 | [diff] [blame] | 464 | 1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 465 | |
| 466 | * Release of E2fsprogs 1.13 |
| 467 | |
Theodore Ts'o | dba838b | 1998-12-04 06:15:12 +0000 | [diff] [blame] | 468 | 1998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 469 | |
| 470 | * Makefile.in: Updated dependencies. |
| 471 | |
Theodore Ts'o | 91d6d48 | 1998-08-01 01:03:39 +0000 | [diff] [blame] | 472 | 1998-07-31 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 473 | |
| 474 | * debugfs.c (do_stat, do_clri): Fix bug where debugfs wasn't |
| 475 | displaying the error message if ext2fs_read_inode() failed. |
| 476 | (do_rm): Fix similar problem for call to ext2fs_namei(). |
| 477 | |
Theodore Ts'o | 4a5fa19 | 1998-07-09 05:42:45 +0000 | [diff] [blame] | 478 | 1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 479 | |
| 480 | * Release of E2fsprogs 1.12 |
| 481 | |
Theodore Ts'o | 818180c | 1998-06-27 05:11:14 +0000 | [diff] [blame] | 482 | 1998-06-27 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 483 | |
| 484 | * debugfs.c: Add a -V option which displays the current version. |
| 485 | |
Theodore Ts'o | 7e44f24 | 1998-04-01 03:16:29 +0000 | [diff] [blame] | 486 | 1998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 487 | |
| 488 | * Makefile.in: Change to use new installation directory variables |
| 489 | convention. Fix installdirs and uninstall rules to reflect |
| 490 | the fact that debugfs has been installed in the root |
| 491 | filesystem. Fix uninstall rules to take $(DESTDIR) into |
| 492 | account. |
| 493 | |
Theodore Ts'o | 4a31c48 | 1998-03-30 01:27:25 +0000 | [diff] [blame] | 494 | 1998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 495 | |
| 496 | * debugfs.h: Add declaration for do_dirty_filsys() to prevent |
| 497 | -Wall warnings. |
| 498 | |
| 499 | * debugfs.c (copy_file): |
| 500 | * dump.c (dump_file): Fix -Wall warning caused by |
| 501 | signed/unsigned mismatch. |
| 502 | |
Theodore Ts'o | 36a43d6 | 1998-03-24 16:17:51 +0000 | [diff] [blame] | 503 | 1998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 504 | |
| 505 | * debugfs.c, ls.c, lsdel.c: Add support for large files. (The |
| 506 | high 32 bits share space with the i_dir_acl field.) |
| 507 | |
Theodore Ts'o | cce382b | 1998-03-09 13:07:09 +0000 | [diff] [blame] | 508 | Sun Mar 8 22:53:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 509 | |
| 510 | * ls.c (list_dir_proc): Mask off high 8 bits from |
| 511 | dirent->name_len. |
| 512 | |
Theodore Ts'o | 5be8dc2 | 1997-12-01 18:24:10 +0000 | [diff] [blame] | 513 | Mon Dec 1 13:21:09 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 514 | |
| 515 | * Makefile.in: Install debugfs in /sbin, instead of /usr/sbin. |
| 516 | |
Theodore Ts'o | 5a51384 | 1997-10-25 22:41:14 +0000 | [diff] [blame] | 517 | Sat Oct 25 18:35:30 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 518 | |
| 519 | * debugfs.c (copy_file), dump.c (dump_file): Change to use the new |
| 520 | fileio primitives in libext2. |
| 521 | |
Theodore Ts'o | f130481 | 1997-10-25 03:51:53 +0000 | [diff] [blame] | 522 | Fri Oct 24 23:47:43 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 523 | |
| 524 | * debugfs.c (main, do_open_filesys): |
| 525 | * dump.c (do_dump): Make the variable which getopt returns into be |
| 526 | an int, so that it won't lose on platforms where char is |
| 527 | unsigned. |
| 528 | |
Theodore Ts'o | b4ac9cc | 1997-10-15 01:54:48 +0000 | [diff] [blame] | 529 | Tue Oct 14 21:50:24 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 530 | |
| 531 | * debugfs.c (main): When printing a usage message, have main |
| 532 | return 1 (instead of not specifying a return value, bad!) |
| 533 | |
Theodore Ts'o | a8859ca | 1997-09-16 02:08:28 +0000 | [diff] [blame] | 534 | Mon Sep 15 22:03:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 535 | |
| 536 | * debugfs.c (main): Fix declaration of main so that it returns an int. |
| 537 | |
Theodore Ts'o | 024996c | 1997-06-17 05:38:35 +0000 | [diff] [blame] | 538 | Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 539 | |
| 540 | * Release of E2fsprogs 1.11 |
| 541 | |
Theodore Ts'o | 583ccdc | 1997-05-09 03:06:31 +0000 | [diff] [blame] | 542 | Thu May 8 23:05:40 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 543 | |
| 544 | * debugfs.8.in: Fix minor typos and grammer oops found by Bill |
| 545 | Hawes (whawes@star.net). |
| 546 | |
Theodore Ts'o | a29f4d3 | 1997-04-29 21:26:48 +0000 | [diff] [blame] | 547 | Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu> |
| 548 | |
| 549 | * Release of E2fsprogs version 1.10 |
| 550 | |
| 551 | Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 552 | |
| 553 | * Release of E2fsprogs version 1.09 |
| 554 | |
Theodore Ts'o | 2ecc6fe | 1997-04-29 17:57:00 +0000 | [diff] [blame] | 555 | Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 556 | |
| 557 | * Release of E2fsprogs version 1.08 |
| 558 | |
Theodore Ts'o | 521e368 | 1997-04-29 17:48:10 +0000 | [diff] [blame] | 559 | Thu Apr 10 14:36:05 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 560 | |
| 561 | * ls.c: New file which implements the ls command. Added the -l |
| 562 | option. |
| 563 | |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 564 | Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu> |
| 565 | |
| 566 | * Release of E2fsprogs version 1.07 |
| 567 | |
| 568 | Wed Jan 1 23:53:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 569 | |
| 570 | * lsdel.c (do_lsdel): Use time_to_string() instead of ctime(). |
| 571 | |
| 572 | Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 573 | |
| 574 | * Release of E2fsprogs version 1.06 |
| 575 | |
Theodore Ts'o | 5c57647 | 1997-04-29 15:29:49 +0000 | [diff] [blame] | 576 | Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 577 | |
| 578 | * Release of E2fsprogs version 1.05 |
| 579 | |
Theodore Ts'o | fc6d9d5 | 1997-04-29 14:51:31 +0000 | [diff] [blame] | 580 | Mon Sep 9 23:05:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 581 | |
| 582 | * debugfs.c (unlink_file_by_name): If unlinking a file with a |
| 583 | directory path, correctly replace the slash with a NULL. |
| 584 | (do_show_debugfs_params): Don't try to print the open mode |
| 585 | if there's no filesystem opened (since that will cause a |
| 586 | core dump). |
| 587 | (main): Fix usage string; the -w and device elements are |
| 588 | independently optional. |
| 589 | |
| 590 | Tu Sep 3 15:09:39 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 591 | |
| 592 | * debugfs.c (main): Added -f option to debugfs, which takes a |
| 593 | command file of debugfs commands and executes them. |
| 594 | |
| 595 | Sat Aug 31 01:18:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 596 | |
| 597 | * debugfs.8.in: Heavily edited and improved manual page. |
| 598 | |
| 599 | * dump.c (dump_file): Improve the write function for writing out |
| 600 | the file, so that it is limited to the actual size of the |
| 601 | file, instead of outputing the nulls following the EOF. |
| 602 | Make sure dump_file does the right thing for files with holes. |
| 603 | (do_dump): Add support for the -p option to the dump |
| 604 | command, which attempts to preserve the owner and |
| 605 | permissions field. |
| 606 | |
| 607 | Fri Aug 30 14:56:59 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 608 | |
| 609 | * debugfs.c (main): Add -R option to debugfs, which allows it to |
| 610 | take a single debugfs command on the command line. |
| 611 | |
| 612 | Fri Aug 9 09:03:31 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 613 | |
| 614 | * debugfs.c (do_open_filesys): Set optind to 0 to reset getopt(), |
| 615 | to be complete correct. |
| 616 | (do_show_super_stats): Print OS type, volume label, last |
| 617 | mounted directory, and UUID. |
| 618 | (dump_inode): Print the fragment information in a |
| 619 | filesystem independent way. |
| 620 | (do_modify_inode): Modify the fragement information in a |
| 621 | filesystem independent way. |
| 622 | |
Theodore Ts'o | 62c06f7 | 1997-04-29 14:34:47 +0000 | [diff] [blame] | 623 | Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 624 | |
| 625 | * Release of E2fsprogs version 1.04 |
| 626 | |
| 627 | Wed May 3 20:41:26 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 628 | |
| 629 | * debugfs.c (dump_inode): Correctly print the translator on the hurd. |
| 630 | (do_modify_inode): Modify the translator block on the hurd. |
| 631 | |
Theodore Ts'o | 7f88b04 | 1997-04-26 14:48:50 +0000 | [diff] [blame] | 632 | Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu> |
| 633 | |
| 634 | * Release of E2fsprogs version 1.03 |
| 635 | |
Theodore Ts'o | 74becf3 | 1997-04-26 14:37:06 +0000 | [diff] [blame] | 636 | Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu> |
| 637 | |
| 638 | * Release of E2fsprogs version 1.02 |
| 639 | |
| 640 | Fri Dec 1 22:42:31 1995 <tytso@rsts-11.mit.edu> |
| 641 | |
| 642 | * Makefile.in (LIBS): Rearrange the order of the libraries to be |
| 643 | linked, so that -lext2fs is before -lcom_err. |
| 644 | |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 645 | Thu Oct 26 12:05:06 1995 <tytso@rsts-11.mit.edu> |
| 646 | |
| 647 | * Makefile.in (install): Strip programs when they are installed. |
| 648 | |
| 649 | Fri Aug 18 15:09:08 1995 Theodore Y. Ts'o <tytso@dcl> |
| 650 | |
| 651 | * debugfs.c (do_find_free_block): Fix typo in code which checked |
| 652 | to see if the usage message should be printed. |
| 653 | |
| 654 | Thu Aug 17 22:55:58 1995 <tytso@rsts-11.mit.edu> |
| 655 | |
| 656 | * debugfs.c (do_open_filesys): Change to always set optreset to 1, |
| 657 | to make BSD getopt()'s happy. Also set optind to 1, which |
| 658 | should make more getopt()'s happy. |
| 659 | |
| 660 | Fri Aug 11 08:45:01 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> |
| 661 | |
| 662 | * debugfs.c (do_find_free_block, do_find_free_inode): Fix bug in |
| 663 | the usage handling where "ffi ?" or "ffb ?" would |
| 664 | dereference a NULL pointer. |
| 665 | |
| 666 | Fri Aug 11 14:21:07 1995 Remy Card <card@bbj> |
| 667 | |
| 668 | * debugfs.8: Updated date and version number. |
| 669 | |
| 670 | Thu Aug 10 14:28:50 1995 Remy Card <card@bbj> |
| 671 | |
| 672 | * debugfs.8: Fixed a spelling error in Ted's name :-) |
| 673 | |
| 674 | Mon Jun 12 19:08:25 1995 Theodore Y. Ts'o (tytso@dcl) |
| 675 | |
| 676 | * debugfs.c, ncheck.c, icheck.c, lsdel.c, dump.c: Include |
| 677 | <errno.h> (if it exists) |
| 678 | |
| 679 | * debugfs.c, dump.c, icheck.c, lsdel.c, ncheck.c: Don't include |
| 680 | <getopt.h> if it doesn't exist. |
| 681 | |
| 682 | Sun Jun 11 15:21:07 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> |
| 683 | |
| 684 | * ncheck.c (do_ncheck): Use LINUX_S_ISDIR instead of S_ISDIR |
| 685 | |
| 686 | * debugfs.c: Implement the mknod and write commands (from Linus). |
| 687 | |
| 688 | Change names of modify_char, modify_short, and modify_long |
| 689 | to be modify_u8, modify_u16, and modify_u32, respectively. |
| 690 | |
| 691 | Thu Jun 8 12:29:15 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> |
| 692 | |
| 693 | * debugfs.c (dump_inode): Only print out inode frag fields if |
| 694 | HAVE_EXT2_FRAGS is defined (by configure). Don't print out the |
| 695 | reserved field at all for now. |
| 696 | |
| 697 | * Makefile.in: Rewritten to conform to GNU coding standards and |
| 698 | support separate compilation directories. |
| 699 | |
Theodore Ts'o | 6f4a109 | 1997-04-26 13:32:25 +0000 | [diff] [blame] | 700 | Thu Nov 24 17:46:23 1994 Theodore Y. Ts'o (tytso@rt-11) |
| 701 | |
| 702 | * dump.c: Added two new commands, "dump" and "cat", which allow |
| 703 | the user to dump the contents of an inode to a file or to |
| 704 | stdout, respectively. |
| 705 | |
| 706 | |