Theodore Ts'o | 08fd3f3 | 2004-12-23 14:11:34 -0500 | [diff] [blame] | 1 | 2004-12-23 Theodore Ts'o <tytso@mit.edu> |
| 2 | |
| 3 | * set_fields.c: Add support for array indexes, which we use for |
| 4 | the i_block[] array. Also add the pseudo inode field |
| 5 | bmap, which can be used for setting logical->physical |
| 6 | mappings directly. |
| 7 | |
Theodore Ts'o | 7dec050 | 2004-12-21 20:37:36 -0500 | [diff] [blame] | 8 | 2004-12-21 Theodore Ts'o <tytso@mit.edu> |
| 9 | |
| 10 | * setfields.c: Renamed from setsuper.c |
| 11 | Added support to set date/time fields. |
| 12 | Added support for setting superblock values wtime, mtime, |
| 13 | lastcheck, and mkfs_time as date/time fields. |
| 14 | Added support for the set_inode command. |
| 15 | * debugfs.h, debug_cmds.ct, debugfs.8.in: Added set_inode command |
| 16 | |
Theodore Ts'o | a06bd02 | 2004-12-16 20:15:35 -0500 | [diff] [blame] | 17 | 2004-12-16 Theodore Ts'o <tytso@mit.edu> |
| 18 | |
| 19 | * setsuper.c: Add definitions for newer superblock fields: |
| 20 | reserved_gdt_blocks, jnl_backup_type, default_mount_opts, |
| 21 | first_meta_bg, and mkfs_time. |
| 22 | |
Theodore Ts'o | 6d40227 | 2004-12-14 21:46:26 -0500 | [diff] [blame] | 23 | 2004-12-14 Theodore Ts'o <tytso@mit.edu> |
| 24 | |
Theodore Ts'o | 522798d | 2004-12-15 11:28:55 -0500 | [diff] [blame] | 25 | * Makefile.in: Move strip command to install-strip target. |
| 26 | Use Linux-kernel-style makefile output for "make install" |
| 27 | |
Theodore Ts'o | 6d40227 | 2004-12-14 21:46:26 -0500 | [diff] [blame] | 28 | * Makefile.in (installdirs): Use $(MKINSTALLDIRS) macro |
| 29 | |
Theodore Ts'o | 47204ff | 2004-11-30 10:52:27 -0500 | [diff] [blame] | 30 | 2004-11-30 Theodore Ts'o <tytso@mit.edu> |
| 31 | |
Theodore Ts'o | 8ff1a86 | 2004-11-30 19:57:20 -0500 | [diff] [blame] | 32 | * util.c (time_to_string): If the TZ environment variable is set |
| 33 | to GMT, use gmtime() instead of localtime() or ctime() to |
| 34 | force the use of GMT. This is because the dietlibc |
| 35 | doesn't honor the TZ environment variable. |
| 36 | |
Theodore Ts'o | 47204ff | 2004-11-30 10:52:27 -0500 | [diff] [blame] | 37 | * Makefile.in: Use Linux-kernel-style makefile output to make it |
| 38 | easier to see errors/warnings. |
| 39 | |
Theodore Ts'o | b0d17e0 | 2004-11-29 17:35:58 -0500 | [diff] [blame] | 40 | 2004-11-29 Theodore Ts'o <tytso@mit.edu> |
| 41 | |
| 42 | * debugfs.c (do_open_filesys): Fix obvious uninitialized variable |
| 43 | buglet. |
| 44 | |
Theodore Ts'o | 9c92d84 | 2004-11-19 14:39:14 -0500 | [diff] [blame] | 45 | 2004-11-19 Theodore Ts'o <tytso@mit.edu> |
| 46 | |
| 47 | * debugfs.c (kill_file_by_inode): Only iterate over the inode to |
| 48 | release blocks if the inode has them; otherwise attempting |
| 49 | to rm devices and fast symlinks will lead to errors. |
| 50 | (Addresses Sourceforge Bug #954741 and #957244) |
| 51 | |
Theodore Ts'o | 1ad54a9 | 2004-07-28 21:11:48 -0400 | [diff] [blame] | 52 | 2004-07-28 Theodore Ts'o <tytso@mit.edu> |
| 53 | |
| 54 | * debugfs.c, debugfs.8.in: Add new option -d which allows the |
| 55 | system administrator to specify data source of a |
| 56 | filesystem being opened via an e2image file. |
| 57 | |
Theodore Ts'o | 0f72ab6 | 2004-04-11 17:06:58 -0400 | [diff] [blame] | 58 | 2004-04-11 Theodore Ts'o <tytso@mit.edu> |
| 59 | |
| 60 | * util.c (open_pager): Use DEBUGFS_PAGER in preference to PAGER |
| 61 | (Addresses Debian Bug #239547) |
| 62 | |
Theodore Ts'o | dd60705 | 2004-04-03 13:53:46 -0500 | [diff] [blame] | 63 | 2004-04-03 Theodore Ts'o <tytso@mit.edu> |
| 64 | |
| 65 | * Makefile.in: Update the modtime even if subst doesn't need to |
| 66 | update the debugfs man page, to avoid always re-running |
| 67 | subst, especially since there are no dependencies on the |
| 68 | man page. |
| 69 | |
Theodore Ts'o | abdf84f | 2004-03-20 16:54:15 -0500 | [diff] [blame] | 70 | 2004-03-20 Theodore Ts'o <tytso@mit.edu> |
| 71 | |
| 72 | * debugfs.c (make_link): Set the filetype information when |
| 73 | creating a link. |
| 74 | |
Theodore Ts'o | b70b116 | 2004-02-28 10:52:35 -0500 | [diff] [blame] | 75 | 2004-02-28 Theodore Ts'o <tytso@mit.edu> |
| 76 | |
| 77 | * Release of E2fsprogs 1.35 |
| 78 | |
Theodore Ts'o | 2d10769 | 2004-02-23 22:30:54 -0500 | [diff] [blame] | 79 | 2004-02-23 Theodore Ts'o <tytso@mit.edu> |
| 80 | |
| 81 | * debugfs.c (internal_dump_inode): Display the major/minor device |
| 82 | numbers for block/character devices. |
| 83 | (do_mknod): Add support for new-style device numbers (where |
| 84 | the major or minor number is greater than 255 and less |
| 85 | than 65535). (Addresses Sourceforge bug #865289) |
| 86 | |
Theodore Ts'o | 90252ca | 2004-02-21 22:20:01 -0500 | [diff] [blame] | 87 | 2004-02-21 Theodore Ts'o <tytso@mit.edu> |
| 88 | |
| 89 | * debugfs.8.in: Fix the debugfs man page to reference the |
| 90 | init_filesys command, instead of "initialize". (Addresses |
| 91 | Debian Bug #232406) |
| 92 | |
Theodore Ts'o | 795afc4 | 2004-02-21 20:54:31 -0500 | [diff] [blame] | 93 | 2004-02-14 Theodore Ts'o <tytso@mit.edu> |
| 94 | |
| 95 | * debugfs.c (internal_dump_inode): Correctly deal with symlinks |
| 96 | that have extended attribute information. (Addresses |
| 97 | Debian Bug #232328) |
| 98 | |
Theodore Ts'o | 2b5ddd7 | 2004-01-24 18:54:41 -0500 | [diff] [blame] | 99 | 2004-01-24 Theodore Ts'o <tytso@mit.edu> |
| 100 | |
| 101 | * debugfs.8.in: Document the PAGER and DEBUGFS_PAGER environment |
| 102 | variables. |
| 103 | |
| 104 | * util.c (open_pager): Use the "more" pager in preference to |
| 105 | "less", since "less" doesn't work terribly well for |
| 106 | debugfs's purpose. |
| 107 | |
Theodore Ts'o | 2b696a9 | 2003-12-25 14:28:55 -0500 | [diff] [blame] | 108 | 2003-12-25 Theodore Ts'o <tytso@mit.edu> |
| 109 | |
| 110 | * util.c (open_pager): Try to use the DEBUGFS_PAGER environment |
| 111 | variable first, and then fall back to the PAGER |
| 112 | environment variable. Finally, search for an appropriate |
| 113 | pager executable. |
| 114 | |
Theodore Ts'o | 2d9f080 | 2003-12-11 11:54:48 -0500 | [diff] [blame] | 115 | 2003-12-11 Theodore Ts'o <tytso@thunk.org> |
| 116 | |
| 117 | * debugfs.c (do_write, do_mkdir): If the directory is full, |
| 118 | automatically call ext2fs_expand_dir() and then retry to |
| 119 | add the link to the directory as a convenience to the |
| 120 | user. (Addresses Debian Bug: #217892) |
| 121 | (do_mknod): Clean up expand_dir error handling. |
| 122 | |
Theodore Ts'o | 5443492 | 2003-12-07 01:28:50 -0500 | [diff] [blame] | 123 | 2003-12-07 Theodore Ts'o <tytso@mit.edu> |
| 124 | |
Theodore Ts'o | 04df491 | 2003-12-07 16:31:45 -0500 | [diff] [blame] | 125 | * debugfs.c (do_write): Mask off the file type bits, and OR in the |
| 126 | regular file information. (Addresses Debian Bug: #217456) |
| 127 | |
Theodore Ts'o | ec7fdb8 | 2003-12-07 13:16:25 -0500 | [diff] [blame] | 128 | * util.c (open_pager): Search for the pager to use, starting with |
| 129 | 'pager', and then falling back to 'less' and then 'more'. |
| 130 | (Addresses Debian Bug: #221977) |
| 131 | |
Theodore Ts'o | 5443492 | 2003-12-07 01:28:50 -0500 | [diff] [blame] | 132 | * debugfs.c, debugfs.h, dump.c, htree.c, icheck.c, logdump.c, |
| 133 | ls.c, lsdel.c, ncheck.c, setsuper.c, unused.c: Fix gcc |
| 134 | -Wall nitpicks. |
| 135 | |
Theodore Ts'o | a7ac1df | 2003-08-24 17:56:41 -0400 | [diff] [blame] | 136 | 2003-08-24 Theodore Ts'o <tytso@mit.edu> |
| 137 | |
| 138 | * debugfs.8.in: Adjust description line so that apropos |
| 139 | "ext2" or "ext3" will find the man page. (Addresses |
| 140 | Debian Bug #206845) |
| 141 | |
Theodore Ts'o | a435ec3 | 2003-08-21 00:40:26 -0400 | [diff] [blame] | 142 | 2003-08-21 Theodore Ts'o <tytso@mit.edu> |
| 143 | |
| 144 | * debugfs.8.in: Fully document the logdump command in the debugfs |
| 145 | man page. |
| 146 | |
| 147 | * logdump.c (do_logdump): Add -s option which will use the journal |
| 148 | inode information in the superblock. |
| 149 | |
Theodore Ts'o | 9c7ec17 | 2003-07-26 01:03:34 -0400 | [diff] [blame] | 150 | 2003-07-25 Theodore Ts'o <tytso@mit.edu> |
| 151 | |
| 152 | * Release of E2fsprogs 1.34 |
| 153 | |
Theodore Ts'o | 48e6e81 | 2003-07-06 00:36:48 -0400 | [diff] [blame] | 154 | 2003-07-06 Theodore Ts'o <tytso@mit.edu> |
| 155 | |
| 156 | * debugfs.c (do_imap): Fix gcc -Wall nitpicks (printf format types). |
| 157 | |
Theodore Ts'o | a5fdcd5 | 2003-05-21 17:58:36 -0400 | [diff] [blame] | 158 | 2003-05-21 Theodore Ts'o <tytso@mit.edu> |
| 159 | |
| 160 | * unused.c (do_dump_unused): Add new command which dumps the |
| 161 | unused blocks. (Initial implementation; currently only |
| 162 | dumps the output to stdout.) |
| 163 | |
Theodore Ts'o | 88494bb | 2003-05-13 23:03:43 -0400 | [diff] [blame] | 164 | 2003-05-13 root <tytso@mit.edu> |
| 165 | |
| 166 | * util.c (reset_getopt), debugfs.c (do_open_filesys, |
| 167 | do_show_super_stats), ls.c (do_list_dir), dump.c (do_dump), |
| 168 | htree.c (do_htree_dump, do_dx_hash), logdump.c (do_logdump): |
| 169 | Define and use a new function, reset_getopt(), which does whatever |
| 170 | is necessary to reset getopt() again. This is different for |
| 171 | different implementations, so the portabilty issues are a bit of a |
| 172 | nightmare. (Addresses Debian bug #192834) |
| 173 | |
Theodore Ts'o | becf36f | 2003-05-05 11:35:04 -0400 | [diff] [blame] | 174 | 2003-05-05 Theodore Ts'o <tytso@mit.edu> |
| 175 | |
| 176 | * debugfs.c (do_imap), debugfs.h, debug_cmds.ct, debugfs.8.in: |
| 177 | Added new command, imap, which prints the location of a |
| 178 | specified inode in the inode table. |
| 179 | |
Theodore Ts'o | 71df0dc | 2003-04-21 16:17:09 -0400 | [diff] [blame] | 180 | 2003-04-21 Theodore Ts'o <tytso@mit.edu> |
| 181 | |
| 182 | * Release of E2fsprogs 1.33 |
| 183 | |
Theodore Ts'o | 3ae497e | 2003-03-16 06:26:25 -0500 | [diff] [blame] | 184 | 2003-03-16 Theodore Ts'o <tytso@mit.edu> |
| 185 | |
| 186 | * Makefile.in (DLOPEN_LIB): Link in the libdl library if it is |
| 187 | present on the system. |
| 188 | |
| 189 | * debugfs.c (main): Call ss_get_readline() to attempt to pull in |
| 190 | the readline library. |
| 191 | |
Theodore Ts'o | ed78c02 | 2003-03-06 11:09:18 -0500 | [diff] [blame] | 192 | 2003-03-06 Theodore Tso <tytso@mit.edu> |
| 193 | |
| 194 | * debugfs.c (do_open_filesys, do_show_super_stats), |
| 195 | ls.c (do_list_dir), dump.c (do_dump), htree.c (do_htree_dump, |
| 196 | do_dx_hash), logdump.c (do_logdump): Reset optind to 1 for better |
| 197 | compatibility with non-glibc implementations of getopt. |
| 198 | |
Theodore Ts'o | f364093 | 2003-03-01 19:47:44 -0500 | [diff] [blame] | 199 | 2003-03-01 Theodore Ts'o <tytso@mit.edu> |
| 200 | |
| 201 | * Makefile.in, logdump.c (do_logdump): Use the blkid functions to |
| 202 | find the external journal device. |
| 203 | |
Theodore Ts'o | 819157d | 2003-01-22 18:25:39 -0500 | [diff] [blame] | 204 | 2003-01-21 Theodore Ts'o <tytso@mit.edu> |
| 205 | |
| 206 | * dump.c (do_dump): Open the output file with O_LARGEFILE so we |
| 207 | can write files larger than 2GB. |
| 208 | |
Theodore Ts'o | 3851301 | 2002-11-09 15:00:56 -0500 | [diff] [blame] | 209 | 2002-11-09 Theodore Ts'o <tytso@mit.edu> |
| 210 | |
| 211 | * Release of E2fsprogs 1.32 |
| 212 | |
Theodore Ts'o | ae65b29 | 2002-11-08 20:08:48 -0500 | [diff] [blame] | 213 | 2002-11-08 Theodore Ts'o <tytso@mit.edu> |
| 214 | |
| 215 | * Release of E2fsprogs 1.31 |
| 216 | |
Theodore Ts'o | 1dd090f | 2002-10-31 11:53:49 -0500 | [diff] [blame] | 217 | 2002-10-31 Theodore Ts'o <tytso@mit.edu> |
| 218 | |
Theodore Ts'o | 5d823a4 | 2002-11-01 02:13:53 -0500 | [diff] [blame] | 219 | * Release of E2fsprogs 1.30 |
| 220 | |
| 221 | 2002-10-31 Theodore Ts'o <tytso@mit.edu> |
| 222 | |
Theodore Ts'o | 1dd090f | 2002-10-31 11:53:49 -0500 | [diff] [blame] | 223 | * debugfs.c (do_write): Check to see if the filename exists before |
| 224 | creating it, and give an error if so. Addresses |
| 225 | Sourceforge bug #478195. |
| 226 | |
Theodore Ts'o | 482afc4 | 2002-10-31 03:32:34 -0500 | [diff] [blame] | 227 | 2002-10-30 Theodore Ts'o <tytso@mit.edu> |
| 228 | |
| 229 | * Makefile.in (install): Search all compression extensions when |
| 230 | deleting old man pages. |
| 231 | |
Theodore Ts'o | 3e69906 | 2002-10-13 23:56:28 -0400 | [diff] [blame] | 232 | 2002-10-13 Theodore Ts'o <tytso@mit.edu> |
| 233 | |
| 234 | * debugfs.h, htree.c, setsuper.c: Fix gcc -Wall nits. |
| 235 | |
Theodore Ts'o | 8132d84 | 2002-10-02 22:07:17 -0400 | [diff] [blame] | 236 | 2002-10-02 Theodore Y. Ts'o <tytso@mit.edu> |
| 237 | |
| 238 | * htree.c (htree_dump_leaf_node): Use ext2fs_read_dir_block2 so |
| 239 | that the directory entries are appropriately byte-swapped. |
| 240 | |
Theodore Ts'o | c663305 | 2002-09-24 01:26:50 -0400 | [diff] [blame] | 241 | 2001-09-24 Theodore Tso <tytso@mit.edu> |
| 242 | |
| 243 | * Release of E2fsprogs 1.29 |
| 244 | |
Theodore Ts'o | 42e5b5f | 2002-09-22 15:27:28 -0400 | [diff] [blame] | 245 | 2002-09-22 root <tytso@mit.edu> |
| 246 | |
| 247 | * htree.c (htree_dump_int_node): Flag continuation hashes to make |
| 248 | them easier to find. |
| 249 | |
Theodore Ts'o | 87ee8dc | 2002-08-31 03:02:57 -0400 | [diff] [blame] | 250 | 2001-08-31 Theodore Tso <tytso@thunk.org> |
| 251 | |
| 252 | * Release of E2fsprogs 1.28 |
| 253 | |
Theodore Ts'o | f61fc0b | 2002-08-24 00:04:03 -0400 | [diff] [blame] | 254 | 2002-08-23 Theodore Ts'o <tytso@mit.edu> |
| 255 | |
| 256 | * setsuper.c: Add support for the fields s_uuid, s_journal_uuid, |
| 257 | s_hash_seed, s_def_hash_version. Add routines for parsing |
| 258 | UUID's and hash algorithm identifiers. |
| 259 | |
Theodore Ts'o | ed909bb | 2002-08-16 17:03:59 -0400 | [diff] [blame] | 260 | 2002-08-16 Theodore Ts'o <tytso@mit.edu> |
| 261 | |
| 262 | * icheck.c (do_icheck): Check to see if the block is listed as |
| 263 | part of the extended attribute block. |
| 264 | |
Theodore Ts'o | 155f577 | 2002-07-21 14:17:45 -0400 | [diff] [blame] | 265 | 2002-07-21 Theodore Ts'o <tytso@mit.edu> |
| 266 | |
| 267 | * htree.c (do_htree_dump): Fix a bug where we were not cleanly |
| 268 | closing the pager after errors, which would leave the |
| 269 | tty in noecho mode. |
| 270 | |
Theodore Ts'o | 621732c | 2002-07-18 22:19:51 -0400 | [diff] [blame] | 271 | 2002-07-18 Theodore Ts'o <tytso@mit.edu> |
| 272 | |
| 273 | * htree.c (htree_dump_int_node): Add byte swapping code sot that |
| 274 | the htree dump function works on a big-endian machine. |
| 275 | |
Theodore Ts'o | 34be960 | 2002-07-15 16:56:41 -0400 | [diff] [blame] | 276 | 2002-07-15 Theodore Ts'o <tytso@mit.edu> |
| 277 | |
| 278 | * debugfs.c (do_show_super_stats): Calculate and print the number |
| 279 | of directories on a filesystem --- because we can and |
| 280 | because it can be useful. |
| 281 | |
Theodore Ts'o | d7f64ae | 2002-07-09 01:27:05 -0400 | [diff] [blame] | 282 | 2002-07-09 Theodore Ts'o <tytso@mit.edu> |
| 283 | |
| 284 | * debugfs.c (do_rmdir), debugfs.8.in: Implement the rmdir command. |
| 285 | Addresses Debian bug #138003. |
| 286 | |
Theodore Ts'o | 503f9e7 | 2002-06-26 16:52:10 -0400 | [diff] [blame] | 287 | 2002-06-26 Theodore Ts'o <tytso@mit.edu> |
| 288 | |
| 289 | * htree.c (do_dx_hash): Use new ext2fs_dirhash function signature. |
| 290 | Add getopt support so user can specify the hash version. |
| 291 | |
Theodore Ts'o | b38cd28 | 2002-05-11 22:13:20 -0400 | [diff] [blame] | 292 | 2002-05-11 <tytso@snap.thunk.org> |
| 293 | |
| 294 | * debug_cmds.ct, debugfs.c (do_bmap): Add new command "bmap" which |
| 295 | calculates the logical->physical block mapping for an |
| 296 | inode. |
| 297 | |
| 298 | * debugfs.c (do_init_filsys, main), util.c |
| 299 | (common_block_args_process): Fix bad calling parameter |
| 300 | order when calling parse_ulong. This broke the -b and -s |
| 301 | options to debugfs, as well as do_init, and the testb, |
| 302 | setb, clearb functions. |
| 303 | |
Theodore Ts'o | e5b3b27 | 2002-04-01 15:42:21 -0500 | [diff] [blame] | 304 | 2002-04-01 <tytso@snap.thunk.org> |
| 305 | |
| 306 | * util.c (parse_ulong): Fix typo which cases parse_ulong to |
| 307 | coredump if the err variable is filled in (for example, if |
| 308 | the -b or -s options are passed to the debugfs's |
| 309 | command-line invocation). |
| 310 | |
Theodore Ts'o | 52783e0 | 2002-03-11 15:04:45 -0500 | [diff] [blame] | 311 | 2002-03-11 Theodore Tso <tytso@mit.edu> |
| 312 | |
Theodore Ts'o | f9190c8 | 2002-03-12 01:05:06 -0500 | [diff] [blame] | 313 | * ls.c (list_dir_proc): Fix bug: ls -l fails to print the file |
| 314 | type correctly if running on big-endian systems. |
| 315 | |
Theodore Ts'o | 52783e0 | 2002-03-11 15:04:45 -0500 | [diff] [blame] | 316 | * htree.c (htree_dump_leaf_node): Use the ext2_dirhash function |
| 317 | instead of a local static function. |
| 318 | |
Theodore Ts'o | a8e7724 | 2002-03-08 03:12:14 -0500 | [diff] [blame] | 319 | 2002-03-08 Theodore Tso <tytso@mit.edu> |
| 320 | |
| 321 | * Release of E2fsprogs 1.27 |
| 322 | |
Theodore Ts'o | 3f83020 | 2002-03-07 02:56:53 -0500 | [diff] [blame] | 323 | 2002-03-07 <tytso@snap.thunk.org> |
| 324 | |
| 325 | * ls.c (list_dir_proc): Fix typo in debugfs which was causing a |
| 326 | compiler warning. |
| 327 | |
Theodore Ts'o | 7380ac9 | 2002-03-05 01:57:53 -0500 | [diff] [blame] | 328 | 2002-03-05 Theodore Tso <tytso@mit.edu> |
| 329 | |
| 330 | * lsdel.c (do_lsdel): lsdel uses the pager to print out the list |
| 331 | of potentially deleted inode. Thanks to Jaroslav Drzik |
| 332 | <jdrzik@host.sk> for suggesting this enhancement. |
| 333 | |
| 334 | * debugfs.c (do_modify_inode): Fix bug which caused modify_inode |
| 335 | to core dump if a fliesystem isn't open. Thanks to |
| 336 | Jaroslav Drzik <jdrzik@host.sk> for finding and reporting |
| 337 | the bug and his proposed fix. |
| 338 | |
Theodore Ts'o | fa7c302 | 2002-02-26 17:13:12 -0500 | [diff] [blame] | 339 | 2002-02-26 Theodore Tso <tytso@mit.edu> |
| 340 | |
| 341 | * ls.c (list_dir_proc): When listing the directory entry in long |
| 342 | format, include the file type of the directory entry in |
| 343 | parenthesis. |
| 344 | |
Theodore Ts'o | 57173d0 | 2002-02-26 14:59:39 -0500 | [diff] [blame] | 345 | 2002-02-25 Theodore Tso <tytso@mit.edu> |
Theodore Ts'o | df614db | 2002-02-25 04:28:45 -0500 | [diff] [blame] | 346 | |
| 347 | * util.c (open_pager): If the PAGER environment is set to __none__ |
| 348 | then don't use a pager at all, and ship it all to stdout. |
| 349 | |
| 350 | * Makefile.in, debug_cmds.ct, htree.c: Add new file htree.c, which |
| 351 | implements the three new commands, htree_dump, dx_hash, |
| 352 | and dirsearch. |
| 353 | |
Theodore Ts'o | 57173d0 | 2002-02-26 14:59:39 -0500 | [diff] [blame] | 354 | 2002-02-24 Theodore Tso <tytso@mit.edu> |
Theodore Ts'o | b9f4092 | 2002-02-24 03:08:57 -0500 | [diff] [blame] | 355 | |
| 356 | * Makefile.in (install): Remove any compressed man pages before |
| 357 | installing the man pages. |
| 358 | |
Theodore Ts'o | a5f3f5c | 2002-02-03 01:00:22 -0500 | [diff] [blame] | 359 | 2002-02-03 Theodore Tso <tytso@thunk.org> |
| 360 | |
| 361 | * Release of E2fsprogs 1.26 |
| 362 | |
Theodore Ts'o | 57173d0 | 2002-02-26 14:59:39 -0500 | [diff] [blame] | 363 | 2002-01-03 Theodore Tso <tytso@mit.edu> |
Theodore Ts'o | e1018ee | 2002-01-03 04:55:25 -0500 | [diff] [blame] | 364 | |
| 365 | * lsdel.c (do_lsdel): New optional argument which allows the user |
| 366 | to only see the most recently deleted files. |
| 367 | |
| 368 | * debugfs.c (do_undel, do_testb, do_freeb, do_setb, do_ffb): Add |
| 369 | new command, undelete, which automates undeleting a |
| 370 | deleted inode and linking it back to a directory. Add a |
| 371 | count argument to the testb, freeb, setb, and ffb commands. |
| 372 | |
| 373 | * ls.c (list_dir_proc, do_list_dir): Add support for -d option |
| 374 | which lists deleted directory entries. |
| 375 | |
| 376 | * debug_cmds.ct: Add new command, undelete. |
| 377 | |
| 378 | * dump.c, icheck.c, logdump.c, ls.c, lsdel.c, setsuper.c, |
| 379 | debugfs.c: Use new utility functions which factor out |
| 380 | commonly used code. |
| 381 | |
| 382 | * util.c (debugfs_read_inode, debugfs_write_inode, |
| 383 | common_block_args_process, common_inode_args_process, |
| 384 | common_args_process, strtoblk, parse_ulong): New |
| 385 | functions which factor out commonly used code into |
| 386 | subroutines for ease of maintenance and to make the |
| 387 | executable size smaller. |
| 388 | |
Theodore Ts'o | 57173d0 | 2002-02-26 14:59:39 -0500 | [diff] [blame] | 389 | 2001-12-23 Theodore Tso <tytso@mit.edu> |
Theodore Ts'o | 19007e5 | 2001-12-23 19:33:51 -0500 | [diff] [blame] | 390 | |
| 391 | * Makefile.in, jfs_user.h: Move linux/jbd.h to |
| 392 | ext2fs/kernel-jbd.h, to avoid using the system header |
| 393 | file version of hbd.h when using diet glibc (since it |
| 394 | forcibly adds /usr/include to the beginning of the |
| 395 | include search path.) |
| 396 | |
Theodore Ts'o | 57173d0 | 2002-02-26 14:59:39 -0500 | [diff] [blame] | 397 | 2001-12-22 Theodore Tso <tytso@mit.edu> |
Theodore Ts'o | 3443689 | 2001-12-22 13:06:02 -0500 | [diff] [blame] | 398 | |
| 399 | * debugfs.c (kill_file_by_inode, release_blocks_proc): Update the |
| 400 | group descriptor free block and inode counts when deleting |
| 401 | or killing a file. |
| 402 | |
Theodore Ts'o | 57173d0 | 2002-02-26 14:59:39 -0500 | [diff] [blame] | 403 | 2001-12-16 Theodore Tso <tytso@mit.edu> |
Theodore Ts'o | 8cf9333 | 2001-12-16 02:23:36 -0500 | [diff] [blame] | 404 | |
Theodore Ts'o | 4ea7bd0 | 2001-12-16 23:23:37 -0500 | [diff] [blame] | 405 | * setsuper.c (print_possible_fields), |
| 406 | logdump.c (dump_journal): Fix gcc -Wall nits |
| 407 | |
Theodore Ts'o | 8cf9333 | 2001-12-16 02:23:36 -0500 | [diff] [blame] | 408 | * Makefile.in, jfs_user.h: linux/jfs.h has been renamed to |
| 409 | linux/jbd.h |
| 410 | |
Theodore Ts'o | 57173d0 | 2002-02-26 14:59:39 -0500 | [diff] [blame] | 411 | 2001-12-02 Theodore Tso <tytso@mit.edu> |
Theodore Ts'o | 571fc5a | 2001-12-02 17:23:27 +0100 | [diff] [blame] | 412 | |
| 413 | * util.c (close_pager): Use pclose() instead of fclose() when |
| 414 | closing the pager stream. |
| 415 | |
Theodore Ts'o | 57173d0 | 2002-02-26 14:59:39 -0500 | [diff] [blame] | 416 | 2001-11-30 Theodore Tso <tytso@mit.edu> |
Theodore Ts'o | e898188 | 2001-11-30 11:51:30 +0100 | [diff] [blame] | 417 | |
| 418 | * debugfs.c (finish_range, dump_blocks): Fixed bug in Andreas's > |
| 419 | 2GB support changes: you need to use %lld when printf'ing |
| 420 | an long long variable. |
| 421 | |
Theodore Ts'o | 57173d0 | 2002-02-26 14:59:39 -0500 | [diff] [blame] | 422 | 2001-11-24 Theodore Tso <tytso@mit.edu> |
Theodore Ts'o | 6e96adc | 2001-11-24 16:10:52 -0500 | [diff] [blame] | 423 | |
| 424 | * debugfs.8.in: Update manual page to document the set_super_value |
| 425 | and logdump commands, and move the "specifying files" |
| 426 | section closer to the beginning of the man page so people |
| 427 | won't miss it. |
| 428 | |
| 429 | * setsuper.c (print_possible_fields): "set_super_value -l" now |
| 430 | prints out the list of valid superblock fields which the |
| 431 | ssv command can set. |
| 432 | |
Theodore Ts'o | fbf9111 | 2001-09-20 10:47:47 -0400 | [diff] [blame] | 433 | 2001-09-20 Theodore Tso <tytso@thunk.org> |
| 434 | |
| 435 | * Release of E2fsprogs 1.25 |
| 436 | |
Theodore Ts'o | fb70775 | 2001-09-04 15:00:37 -0400 | [diff] [blame] | 437 | 2001-09-02 Theodore Tso <tytso@thunk.org> |
| 438 | |
| 439 | * Release of E2fsprogs 1.24a |
| 440 | |
Theodore Ts'o | 109624a | 2001-08-31 00:59:55 -0400 | [diff] [blame] | 441 | 2001-08-30 Theodore Tso <tytso@thunk.org> |
| 442 | |
| 443 | * Release of E2fsprogs 1.24 |
| 444 | |
Theodore Ts'o | 0f8973f | 2001-08-27 12:44:23 -0400 | [diff] [blame] | 445 | 2001-08-27 Theodore Tso <tytso@valinux.com> |
| 446 | |
| 447 | * debugfs.c (main): Remove EXT2FS_VERSION from the version |
| 448 | display, since it only confuses people. |
| 449 | |
Theodore Ts'o | 943ed87 | 2001-08-27 12:29:22 -0400 | [diff] [blame] | 450 | 2001-08-15 Theodore Tso <tytso@valinux.com> |
| 451 | |
| 452 | * Release of E2fsprogs 1.23 |
| 453 | |
Theodore Ts'o | 5faba3a | 2001-08-12 03:38:51 -0400 | [diff] [blame] | 454 | 2001-08-12 Theodore Tso <tytso@valinux.com> |
| 455 | |
| 456 | * logdump.c (do_logdump, dump_journal): Add support for dumping |
| 457 | external journals. |
| 458 | |
Theodore Ts'o | 6796013 | 2001-06-23 00:16:37 -0400 | [diff] [blame] | 459 | 2001-06-23 Theodore Tso <tytso@valinux.com> |
| 460 | |
| 461 | * Release of E2fsprogs 1.22 |
| 462 | |
Theodore Ts'o | f4f75ba | 2001-06-16 01:14:28 +0000 | [diff] [blame] | 463 | 2001-06-15 Theodore Tso <tytso@valinux.com> |
| 464 | |
| 465 | * Release of E2fsprogs 1.21 |
| 466 | |
Theodore Ts'o | 364a373 | 2001-06-13 23:46:39 +0000 | [diff] [blame] | 467 | 2001-06-13 Theodore Tso <tytso@valinux.com> |
| 468 | |
| 469 | * setsuper.c: Add s_lastcheck field to the fields which can be |
| 470 | modified using set_super_value. (Suggested by Andreas |
| 471 | Dilger) |
| 472 | |
Theodore Ts'o | b784640 | 2001-06-03 23:27:56 +0000 | [diff] [blame] | 473 | 2001-06-03 Theodore Tso <tytso@valinux.com> |
| 474 | |
| 475 | * debugfs.c (copy_file): Fixed signed vs unsigned bug which causes |
| 476 | read errors to not be noticed. |
| 477 | |
Theodore Ts'o | 4bb0c04 | 2001-06-01 15:22:38 +0000 | [diff] [blame] | 478 | 2001-06-01 Theodore Tso <tytso@valinux.com> |
| 479 | |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 480 | * Makefile.in: Move include/asm/types.h.in to |
Theodore Ts'o | 36a23e1 | 2001-06-02 00:54:10 +0000 | [diff] [blame] | 481 | lib/ext2fs/ext2_types.h.in. |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 482 | |
Theodore Ts'o | 5e4f070 | 2001-06-01 15:36:05 +0000 | [diff] [blame] | 483 | * debugfs.c, debugfs.h, logdump.c: Fix various gcc -Wall nitpicks. |
| 484 | |
Theodore Ts'o | 4bb0c04 | 2001-06-01 15:22:38 +0000 | [diff] [blame] | 485 | * logdump.c (read_journal_block): Replace pread with lseek/read |
| 486 | combination. |
| 487 | |
Theodore Ts'o | bb18586 | 2001-05-25 17:35:00 +0000 | [diff] [blame] | 488 | 2001-05-25 Theodore Tso <tytso@valinux.com> |
| 489 | |
| 490 | * Release of E2fsprogs 1.20 |
| 491 | |
Theodore Ts'o | 54c637d | 2001-05-14 11:45:38 +0000 | [diff] [blame] | 492 | 2001-05-14 Theodore Tso <tytso@valinux.com> |
| 493 | |
| 494 | * debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h |
| 495 | |
Theodore Ts'o | 777ebb3 | 2001-05-13 02:45:15 +0000 | [diff] [blame] | 496 | 2001-05-12 Theodore Tso <tytso@valinux.com> |
| 497 | |
| 498 | * debugfs.c (print_features): Use fputs instead of printf to |
| 499 | output using the passed-in FILE *. |
| 500 | |
Theodore Ts'o | 085cb19 | 2001-05-09 06:09:12 +0000 | [diff] [blame] | 501 | 2001-05-09 Theodore Tso <tytso@valinux.com> |
| 502 | |
| 503 | * debugfs.c (do_write, do_mknod): Set the file type information |
| 504 | when creating the inode. |
| 505 | |
Theodore Ts'o | 59cf7e0 | 2001-05-03 15:05:55 +0000 | [diff] [blame] | 506 | 2001-05-03 Theodore Tso <tytso@valinux.com> |
| 507 | |
| 508 | * debugfs.c (do_open_filesys, main): Add -i option which will |
| 509 | allow debugfs to examine ext2 image files. |
| 510 | |
Theodore Ts'o | da81e3f | 2001-03-29 20:49:58 +0000 | [diff] [blame] | 511 | 2001-03-29 Theodore Tso <tytso@valinux.com> |
| 512 | |
| 513 | * debugfs.c (dump_blocks, dump_inode, internal_dump_inode): Add |
| 514 | internal_dump_inode() interface for the logdump command. |
| 515 | |
| 516 | * logdump.c: Imported code from Stephen Tweedie to dump the ext3 |
| 517 | journal. |
| 518 | |
Theodore Ts'o | 0a24c00 | 2001-03-18 18:16:18 +0000 | [diff] [blame] | 519 | 2001-03-18 Theodore Tso <tytso@valinux.com> |
| 520 | |
| 521 | * debugfs.c (do_write, do_mknod): Remove extra (useless) call to |
| 522 | ext2fs_write_inode. |
| 523 | |
Theodore Ts'o | b74d1d8 | 2001-01-12 17:23:52 +0000 | [diff] [blame] | 524 | 2001-01-12 Theodore Ts'o <tytso@valinux.com> |
| 525 | |
Theodore Ts'o | 426d734 | 2001-01-13 01:29:05 +0000 | [diff] [blame] | 526 | * setsuper.c: Cleaned up some random whitespace problems. |
| 527 | |
| 528 | * debugfs.h, debugfs.c (do_show_super_stats): Use full words |
Theodore Ts'o | b74d1d8 | 2001-01-12 17:23:52 +0000 | [diff] [blame] | 529 | instead of pluralism hack to make I18N conversion easier. |
| 530 | Clean up gcc -Wall complaints. |
| 531 | |
Theodore Ts'o | b044c2e | 2001-01-11 15:26:39 +0000 | [diff] [blame] | 532 | 2001-01-11 <tytso@snap.thunk.org> |
| 533 | |
| 534 | * debugfs.c, debugfs.h, dump.c, icheck.c, ls.c, lsdel.c, ncheck.c, |
| 535 | setsuper.c, util.c: Change ino_t to ext2_ino_t. Fix a few |
| 536 | minor gcc-wall complaints while we're at it. |
| 537 | |
Theodore Ts'o | 5dd8f96 | 2001-01-01 15:51:50 +0000 | [diff] [blame] | 538 | 2001-01-01 <tytso@snap.thunk.org> |
| 539 | |
| 540 | * debugfs.c Replace use of struct ext2fs_sb with struct |
| 541 | ext2_super_block. |
| 542 | |
Theodore Ts'o | 3db9305 | 2000-12-30 20:26:31 +0000 | [diff] [blame] | 543 | 2000-12-30 <tytso@snap.thunk.org> |
| 544 | |
Theodore Ts'o | c5de1d4 | 2000-12-31 01:39:54 +0000 | [diff] [blame] | 545 | * dump.c (fix_perms): Fix bug for systems which don't have fchown; |
| 546 | was incorrectly using chmod instead of chown. |
| 547 | |
Theodore Ts'o | 3db9305 | 2000-12-30 20:26:31 +0000 | [diff] [blame] | 548 | * 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] | 549 | fields. Remove hard-coded s_ from inode_size |
| 550 | field. (Suggested by Andreas Dilger) |
Theodore Ts'o | 3db9305 | 2000-12-30 20:26:31 +0000 | [diff] [blame] | 551 | |
| 552 | * debugfs.c (do_modify_inode): Add the ability to set the inode |
| 553 | generation number. (Suggested by Andreas Dilger) |
| 554 | |
Theodore Ts'o | 9131a75 | 2000-08-23 04:36:25 +0000 | [diff] [blame] | 555 | 2000-08-23 <tytso@valinux.com> |
| 556 | |
| 557 | * util.c (string_to_inode): Use strtoul instead of atoi, so that |
| 558 | hex inode numbers will be accepted. |
| 559 | |
Theodore Ts'o | 2c4a540 | 2000-08-19 17:33:28 +0000 | [diff] [blame] | 560 | 2000-08-19 <tytso@valinux.com> |
| 561 | |
| 562 | * util.c (open_pager): Set SIGPIPE to be ignored, so that quitting |
| 563 | out of the pager doesn't blow away debugfs. |
| 564 | |
Theodore Ts'o | 0a3db93 | 2000-08-14 17:06:05 +0000 | [diff] [blame] | 565 | 2000-08-14 <tytso@valinux.com> |
| 566 | |
Theodore Ts'o | bd09eff | 2000-08-14 20:39:17 +0000 | [diff] [blame] | 567 | * debugfs.c (do_show_super_stats): Use list_super2() instead of |
| 568 | using explicit printf statements. (We get a more complete |
| 569 | printout this way.) |
| 570 | |
Theodore Ts'o | c6bd0c9 | 2000-08-14 20:37:09 +0000 | [diff] [blame] | 571 | * util.c (open_pager): If the PAGER environment variable is not |
| 572 | set, default to using "more". |
| 573 | |
| 574 | * setsuper.c: New function which implements the set_super_value |
| 575 | command. Allows the user to set arbitrary superblock |
| 576 | fields. |
| 577 | |
Theodore Ts'o | 0a3db93 | 2000-08-14 17:06:05 +0000 | [diff] [blame] | 578 | * debugfs.c (dump_inode): Cap the length when printing a fast |
| 579 | symbolic link to inode.i_size. |
| 580 | (list_blocks_proc): Print block ranges (4510-4533) to make |
| 581 | the stat output easier to read. |
| 582 | |
Theodore Ts'o | a5eef73 | 2000-08-14 15:47:15 +0000 | [diff] [blame] | 583 | 2000-06-27 Andreas Dilger <adilger@turbolabs.com> |
| 584 | |
| 585 | * debugfs.c (list_blocks_proc): show relative inode block numbers |
| 586 | and/or indirect block status |
| 587 | |
Theodore Ts'o | f9e6706 | 2000-07-13 23:25:54 +0000 | [diff] [blame] | 588 | 2000-07-13 <tytso@valinux.com> |
| 589 | |
| 590 | * Release of E2fsprogs 1.19 |
| 591 | |
Theodore Ts'o | 1419717 | 2000-07-05 17:48:34 +0000 | [diff] [blame] | 592 | 2000-07-05 Theodore Ts'o <tytso@valinux.com> |
| 593 | |
| 594 | * debugfs.c (dump_inode): Make the generation field be printed as |
| 595 | an unsigned integer. |
| 596 | |
Theodore Ts'o | 619dd19 | 2000-07-04 12:37:55 +0000 | [diff] [blame] | 597 | 2000-07-04 <tytso@snap.thunk.org> |
| 598 | |
| 599 | * Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the |
| 600 | mk_cmds support files from the source tree. |
| 601 | |
Theodore Ts'o | ee75309 | 2000-06-09 04:24:36 +0000 | [diff] [blame] | 602 | 2000-06-09 <tytso@snap.thunk.org> |
| 603 | |
| 604 | * lsdel.c (do_lsdel): Handle bad bad blocks in inode table. |
| 605 | |
Theodore Ts'o | d61f617 | 2000-05-27 16:04:00 +0000 | [diff] [blame] | 606 | 2000-05-27 Theodore Ts'o <tytso@valinux.com> |
| 607 | |
| 608 | * debugfs.c (do_testb, do_testi): Call check_fs_bitmaps to avoid |
| 609 | coredumping if the bitmaps aren't loaded. |
| 610 | |
| 611 | * util.c (check_fs_bitmaps): New function which checks whether or |
| 612 | not the bitmaps are loaded. |
| 613 | |
Theodore Ts'o | 2e8d40d | 2000-05-27 15:15:40 +0000 | [diff] [blame] | 614 | 2000-05-23 Aaron Crane <aaronc@pobox.com> |
| 615 | |
| 616 | * debugfs.8.in: Documented new behaviour. |
| 617 | |
| 618 | * ls.c (ls_l_file): Fix Y2K bug -- was printing 22-May-100 for |
| 619 | recent files. Switched to 4-digit years. |
| 620 | |
| 621 | * dump.c, debug_cmds.ct (do_rdump): Add new debugfs command |
| 622 | "rdump", which recursively dumps a directory and its |
| 623 | contents. |
| 624 | (fix_perms): New function. Break permission-fixing |
| 625 | code out of dump_file() so it can be called by rdump |
| 626 | code as well. |
| 627 | (dump_file): Call fix_perms(). |
| 628 | |
| 629 | * debugfs.c, debug_cmds.ct (do_lcd): Add new debugfs command |
| 630 | "lcd", which changes the cwd on the native filesystem. |
| 631 | |
| 632 | * debugfs.c (open_filesystem): Extra args for superblock, |
| 633 | blocksize, and catastrophic mode. Changed callers. |
| 634 | (do_open_filesys, main): Accept new -b, -s, -c options |
| 635 | for open_filesystem. |
| 636 | |
Theodore Ts'o | 80e808f | 2000-02-02 16:19:59 +0000 | [diff] [blame] | 637 | 2000-02-02 Theodore Ts'o <tytso@valinux.com> |
| 638 | |
| 639 | * debugfs.c (dump_inode): Remove #ifdef for i_version |
| 640 | vs. i_generation since we know it will always be |
| 641 | i_generation now. |
| 642 | |
Theodore Ts'o | 77200f4 | 2000-01-18 17:53:27 +0000 | [diff] [blame] | 643 | 2000-01-18 Theodore Ts'o <tytso@valinux.com> |
| 644 | |
Theodore Ts'o | e597304 | 2000-01-18 17:58:34 +0000 | [diff] [blame] | 645 | * debugfs.c (main): Use return instead of exit at the end of main |
| 646 | to avoid some compiler warnings. |
| 647 | |
Theodore Ts'o | 77200f4 | 2000-01-18 17:53:27 +0000 | [diff] [blame] | 648 | * Makefile.in: Since LIBUUID can sometimes include |
| 649 | "-lsocket" we need a separate DEPLIBUUID that can be used |
| 650 | in Makefile's dependency rules. |
| 651 | |
Theodore Ts'o | 5c36a2f | 1999-11-19 18:42:30 +0000 | [diff] [blame] | 652 | 1999-11-19 <tytso@valinux.com> |
| 653 | |
| 654 | * Makefile.in (distclean): Remove TAGS and Makefile.in.old from |
| 655 | the source directory. |
| 656 | |
Theodore Ts'o | cd08636 | 1999-11-10 16:00:39 +0000 | [diff] [blame] | 657 | 1999-11-10 <tytso@valinux.com> |
| 658 | |
| 659 | * Release of E2fsprogs 1.18 |
| 660 | |
Theodore Ts'o | 643efb8 | 1999-11-08 19:27:13 +0000 | [diff] [blame] | 661 | 1999-11-08 <tytso@valinux.com> |
| 662 | |
| 663 | * icheck.c (do_icheck): |
| 664 | * ncheck.c (do_ncheck): If ext2fs_open_inode_scan() returns |
| 665 | EXT2_ET_BAD_BLOCK_IN_INODE_TABLE loop to skip over the bad |
| 666 | blocks in the inode table. |
| 667 | |
Theodore Ts'o | f68aa41 | 1999-10-26 14:20:22 +0000 | [diff] [blame] | 668 | 1999-10-26 <tytso@valinux.com> |
| 669 | |
Theodore Ts'o | 28e1194 | 1999-10-26 18:17:20 +0000 | [diff] [blame] | 670 | * Release of E2fsprogs 1.17 |
| 671 | |
| 672 | 1999-10-26 <tytso@valinux.com> |
| 673 | |
Theodore Ts'o | f68aa41 | 1999-10-26 14:20:22 +0000 | [diff] [blame] | 674 | * debugfs.h: Add declaration for do_features() |
| 675 | |
| 676 | * debugfs.c: Add #incldue of e2p.h to fix gcc warnings. |
| 677 | |
Theodore Ts'o | 601002b | 1999-10-26 02:06:39 +0000 | [diff] [blame] | 678 | 1999-10-25 <tytso@valinux.com> |
| 679 | |
| 680 | * debugfs.c (do_dirty_filesys): Make the "dirty" command clear the |
| 681 | valid bit on the superblock. (And with a -clean option to |
| 682 | set the valid bit.) Originally it was used just to set |
| 683 | the "needs to be written" bit in the in-core version of |
| 684 | the fs structure. |
| 685 | |
Theodore Ts'o | 614fdfd | 1999-10-23 03:19:51 +0000 | [diff] [blame] | 686 | 1999-10-22 <tytso@valinux.com> |
| 687 | |
| 688 | * Release of E2fsprogs 1.16 |
| 689 | |
Theodore Ts'o | d3aea7d | 1999-09-14 20:55:37 +0000 | [diff] [blame] | 690 | 1999-09-07 <tytso@rsts-11.mit.edu> |
| 691 | |
| 692 | * debugfs.c, debug_cmds.ct: Add new debugfs command "feature" |
| 693 | which allows the user to set or clear filesystme features. |
| 694 | Add the -f (force) option to the open command. Add the |
| 695 | -h (superblock header only) option to the stats command. |
| 696 | |
Theodore Ts'o | 55376d8 | 1999-07-31 00:32:57 +0000 | [diff] [blame] | 697 | 1999-07-30 <tytso@rsts-11.mit.edu> |
| 698 | |
| 699 | * debugfs.c (dump_inode): Fix debugfs message so it is the same |
| 700 | for when compiled under either Linux 2.2 or 2.3. This |
| 701 | allows for the f_swapfs regression test suite to work |
| 702 | regardless of which OS e2fsprogs was compiled on. |
| 703 | |
Theodore Ts'o | 657cb97 | 1999-07-30 23:19:10 +0000 | [diff] [blame] | 704 | 1999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 705 | |
| 706 | * Release of E2fsprogs 1.15 |
| 707 | |
Theodore Ts'o | b41d360 | 1999-06-25 15:32:37 +0000 | [diff] [blame] | 708 | 1999-06-23 <tytso@valinux.com> |
| 709 | |
| 710 | * debugfs.c (dump_inode): Add compatibility for Linux 2.3 kernels |
| 711 | that use i_generation instead of i_version. Patch |
| 712 | supplied by Jon Bright <sircus@sircus.demon.co.uk>. |
| 713 | |
Theodore Ts'o | ce5ee99 | 1999-02-19 18:56:43 +0000 | [diff] [blame] | 714 | 1999-02-09 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 715 | |
| 716 | * icheck.c (do_icheck): Check to make sure the inode has valid |
| 717 | blocks before iterating over that inode's blocks. |
| 718 | |
Theodore Ts'o | 9e51eca | 1999-01-09 16:32:31 +0000 | [diff] [blame] | 719 | 1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 720 | |
| 721 | * Release of E2fsprogs 1.14 |
| 722 | |
Theodore Ts'o | 556ad13 | 1998-12-19 08:10:58 +0000 | [diff] [blame] | 723 | 1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 724 | |
| 725 | * Release of E2fsprogs 1.13 |
| 726 | |
Theodore Ts'o | dba838b | 1998-12-04 06:15:12 +0000 | [diff] [blame] | 727 | 1998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 728 | |
| 729 | * Makefile.in: Updated dependencies. |
| 730 | |
Theodore Ts'o | 91d6d48 | 1998-08-01 01:03:39 +0000 | [diff] [blame] | 731 | 1998-07-31 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 732 | |
| 733 | * debugfs.c (do_stat, do_clri): Fix bug where debugfs wasn't |
| 734 | displaying the error message if ext2fs_read_inode() failed. |
| 735 | (do_rm): Fix similar problem for call to ext2fs_namei(). |
| 736 | |
Theodore Ts'o | 4a5fa19 | 1998-07-09 05:42:45 +0000 | [diff] [blame] | 737 | 1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 738 | |
| 739 | * Release of E2fsprogs 1.12 |
| 740 | |
Theodore Ts'o | 818180c | 1998-06-27 05:11:14 +0000 | [diff] [blame] | 741 | 1998-06-27 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 742 | |
| 743 | * debugfs.c: Add a -V option which displays the current version. |
| 744 | |
Theodore Ts'o | 7e44f24 | 1998-04-01 03:16:29 +0000 | [diff] [blame] | 745 | 1998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 746 | |
| 747 | * Makefile.in: Change to use new installation directory variables |
| 748 | convention. Fix installdirs and uninstall rules to reflect |
| 749 | the fact that debugfs has been installed in the root |
| 750 | filesystem. Fix uninstall rules to take $(DESTDIR) into |
| 751 | account. |
| 752 | |
Theodore Ts'o | 4a31c48 | 1998-03-30 01:27:25 +0000 | [diff] [blame] | 753 | 1998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 754 | |
| 755 | * debugfs.h: Add declaration for do_dirty_filsys() to prevent |
| 756 | -Wall warnings. |
| 757 | |
| 758 | * debugfs.c (copy_file): |
| 759 | * dump.c (dump_file): Fix -Wall warning caused by |
| 760 | signed/unsigned mismatch. |
| 761 | |
Theodore Ts'o | 36a43d6 | 1998-03-24 16:17:51 +0000 | [diff] [blame] | 762 | 1998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 763 | |
| 764 | * debugfs.c, ls.c, lsdel.c: Add support for large files. (The |
| 765 | high 32 bits share space with the i_dir_acl field.) |
| 766 | |
Theodore Ts'o | cce382b | 1998-03-09 13:07:09 +0000 | [diff] [blame] | 767 | Sun Mar 8 22:53:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 768 | |
| 769 | * ls.c (list_dir_proc): Mask off high 8 bits from |
| 770 | dirent->name_len. |
| 771 | |
Theodore Ts'o | 5be8dc2 | 1997-12-01 18:24:10 +0000 | [diff] [blame] | 772 | Mon Dec 1 13:21:09 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 773 | |
| 774 | * Makefile.in: Install debugfs in /sbin, instead of /usr/sbin. |
| 775 | |
Theodore Ts'o | 5a51384 | 1997-10-25 22:41:14 +0000 | [diff] [blame] | 776 | Sat Oct 25 18:35:30 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 777 | |
| 778 | * debugfs.c (copy_file), dump.c (dump_file): Change to use the new |
| 779 | fileio primitives in libext2. |
| 780 | |
Theodore Ts'o | f130481 | 1997-10-25 03:51:53 +0000 | [diff] [blame] | 781 | Fri Oct 24 23:47:43 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 782 | |
| 783 | * debugfs.c (main, do_open_filesys): |
| 784 | * dump.c (do_dump): Make the variable which getopt returns into be |
| 785 | an int, so that it won't lose on platforms where char is |
| 786 | unsigned. |
| 787 | |
Theodore Ts'o | b4ac9cc | 1997-10-15 01:54:48 +0000 | [diff] [blame] | 788 | Tue Oct 14 21:50:24 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 789 | |
| 790 | * debugfs.c (main): When printing a usage message, have main |
| 791 | return 1 (instead of not specifying a return value, bad!) |
| 792 | |
Theodore Ts'o | a8859ca | 1997-09-16 02:08:28 +0000 | [diff] [blame] | 793 | Mon Sep 15 22:03:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 794 | |
| 795 | * debugfs.c (main): Fix declaration of main so that it returns an int. |
| 796 | |
Theodore Ts'o | 024996c | 1997-06-17 05:38:35 +0000 | [diff] [blame] | 797 | Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 798 | |
| 799 | * Release of E2fsprogs 1.11 |
| 800 | |
Theodore Ts'o | 583ccdc | 1997-05-09 03:06:31 +0000 | [diff] [blame] | 801 | Thu May 8 23:05:40 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 802 | |
| 803 | * debugfs.8.in: Fix minor typos and grammer oops found by Bill |
| 804 | Hawes (whawes@star.net). |
| 805 | |
Theodore Ts'o | a29f4d3 | 1997-04-29 21:26:48 +0000 | [diff] [blame] | 806 | Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu> |
| 807 | |
| 808 | * Release of E2fsprogs version 1.10 |
| 809 | |
| 810 | Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 811 | |
| 812 | * Release of E2fsprogs version 1.09 |
| 813 | |
Theodore Ts'o | 2ecc6fe | 1997-04-29 17:57:00 +0000 | [diff] [blame] | 814 | Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 815 | |
| 816 | * Release of E2fsprogs version 1.08 |
| 817 | |
Theodore Ts'o | 521e368 | 1997-04-29 17:48:10 +0000 | [diff] [blame] | 818 | Thu Apr 10 14:36:05 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 819 | |
| 820 | * ls.c: New file which implements the ls command. Added the -l |
| 821 | option. |
| 822 | |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 823 | Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu> |
| 824 | |
| 825 | * Release of E2fsprogs version 1.07 |
| 826 | |
| 827 | Wed Jan 1 23:53:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 828 | |
| 829 | * lsdel.c (do_lsdel): Use time_to_string() instead of ctime(). |
| 830 | |
| 831 | Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 832 | |
| 833 | * Release of E2fsprogs version 1.06 |
| 834 | |
Theodore Ts'o | 5c57647 | 1997-04-29 15:29:49 +0000 | [diff] [blame] | 835 | Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 836 | |
| 837 | * Release of E2fsprogs version 1.05 |
| 838 | |
Theodore Ts'o | fc6d9d5 | 1997-04-29 14:51:31 +0000 | [diff] [blame] | 839 | Mon Sep 9 23:05:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 840 | |
| 841 | * debugfs.c (unlink_file_by_name): If unlinking a file with a |
| 842 | directory path, correctly replace the slash with a NULL. |
| 843 | (do_show_debugfs_params): Don't try to print the open mode |
| 844 | if there's no filesystem opened (since that will cause a |
| 845 | core dump). |
| 846 | (main): Fix usage string; the -w and device elements are |
| 847 | independently optional. |
| 848 | |
| 849 | Tu Sep 3 15:09:39 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 850 | |
| 851 | * debugfs.c (main): Added -f option to debugfs, which takes a |
| 852 | command file of debugfs commands and executes them. |
| 853 | |
| 854 | Sat Aug 31 01:18:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 855 | |
| 856 | * debugfs.8.in: Heavily edited and improved manual page. |
| 857 | |
| 858 | * dump.c (dump_file): Improve the write function for writing out |
| 859 | the file, so that it is limited to the actual size of the |
| 860 | file, instead of outputing the nulls following the EOF. |
| 861 | Make sure dump_file does the right thing for files with holes. |
| 862 | (do_dump): Add support for the -p option to the dump |
| 863 | command, which attempts to preserve the owner and |
| 864 | permissions field. |
| 865 | |
| 866 | Fri Aug 30 14:56:59 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 867 | |
| 868 | * debugfs.c (main): Add -R option to debugfs, which allows it to |
| 869 | take a single debugfs command on the command line. |
| 870 | |
| 871 | Fri Aug 9 09:03:31 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 872 | |
| 873 | * debugfs.c (do_open_filesys): Set optind to 0 to reset getopt(), |
| 874 | to be complete correct. |
| 875 | (do_show_super_stats): Print OS type, volume label, last |
| 876 | mounted directory, and UUID. |
| 877 | (dump_inode): Print the fragment information in a |
| 878 | filesystem independent way. |
| 879 | (do_modify_inode): Modify the fragement information in a |
| 880 | filesystem independent way. |
| 881 | |
Theodore Ts'o | 62c06f7 | 1997-04-29 14:34:47 +0000 | [diff] [blame] | 882 | Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 883 | |
| 884 | * Release of E2fsprogs version 1.04 |
| 885 | |
| 886 | Wed May 3 20:41:26 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 887 | |
| 888 | * debugfs.c (dump_inode): Correctly print the translator on the hurd. |
| 889 | (do_modify_inode): Modify the translator block on the hurd. |
| 890 | |
Theodore Ts'o | 7f88b04 | 1997-04-26 14:48:50 +0000 | [diff] [blame] | 891 | Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu> |
| 892 | |
| 893 | * Release of E2fsprogs version 1.03 |
| 894 | |
Theodore Ts'o | 74becf3 | 1997-04-26 14:37:06 +0000 | [diff] [blame] | 895 | Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu> |
| 896 | |
| 897 | * Release of E2fsprogs version 1.02 |
| 898 | |
| 899 | Fri Dec 1 22:42:31 1995 <tytso@rsts-11.mit.edu> |
| 900 | |
| 901 | * Makefile.in (LIBS): Rearrange the order of the libraries to be |
| 902 | linked, so that -lext2fs is before -lcom_err. |
| 903 | |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 904 | Thu Oct 26 12:05:06 1995 <tytso@rsts-11.mit.edu> |
| 905 | |
| 906 | * Makefile.in (install): Strip programs when they are installed. |
| 907 | |
| 908 | Fri Aug 18 15:09:08 1995 Theodore Y. Ts'o <tytso@dcl> |
| 909 | |
| 910 | * debugfs.c (do_find_free_block): Fix typo in code which checked |
| 911 | to see if the usage message should be printed. |
| 912 | |
| 913 | Thu Aug 17 22:55:58 1995 <tytso@rsts-11.mit.edu> |
| 914 | |
| 915 | * debugfs.c (do_open_filesys): Change to always set optreset to 1, |
| 916 | to make BSD getopt()'s happy. Also set optind to 1, which |
| 917 | should make more getopt()'s happy. |
| 918 | |
| 919 | Fri Aug 11 08:45:01 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> |
| 920 | |
| 921 | * debugfs.c (do_find_free_block, do_find_free_inode): Fix bug in |
| 922 | the usage handling where "ffi ?" or "ffb ?" would |
| 923 | dereference a NULL pointer. |
| 924 | |
| 925 | Fri Aug 11 14:21:07 1995 Remy Card <card@bbj> |
| 926 | |
| 927 | * debugfs.8: Updated date and version number. |
| 928 | |
| 929 | Thu Aug 10 14:28:50 1995 Remy Card <card@bbj> |
| 930 | |
| 931 | * debugfs.8: Fixed a spelling error in Ted's name :-) |
| 932 | |
| 933 | Mon Jun 12 19:08:25 1995 Theodore Y. Ts'o (tytso@dcl) |
| 934 | |
| 935 | * debugfs.c, ncheck.c, icheck.c, lsdel.c, dump.c: Include |
| 936 | <errno.h> (if it exists) |
| 937 | |
| 938 | * debugfs.c, dump.c, icheck.c, lsdel.c, ncheck.c: Don't include |
| 939 | <getopt.h> if it doesn't exist. |
| 940 | |
| 941 | Sun Jun 11 15:21:07 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> |
| 942 | |
| 943 | * ncheck.c (do_ncheck): Use LINUX_S_ISDIR instead of S_ISDIR |
| 944 | |
| 945 | * debugfs.c: Implement the mknod and write commands (from Linus). |
| 946 | |
| 947 | Change names of modify_char, modify_short, and modify_long |
| 948 | to be modify_u8, modify_u16, and modify_u32, respectively. |
| 949 | |
| 950 | Thu Jun 8 12:29:15 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> |
| 951 | |
| 952 | * debugfs.c (dump_inode): Only print out inode frag fields if |
| 953 | HAVE_EXT2_FRAGS is defined (by configure). Don't print out the |
| 954 | reserved field at all for now. |
| 955 | |
| 956 | * Makefile.in: Rewritten to conform to GNU coding standards and |
| 957 | support separate compilation directories. |
| 958 | |
Theodore Ts'o | 6f4a109 | 1997-04-26 13:32:25 +0000 | [diff] [blame] | 959 | Thu Nov 24 17:46:23 1994 Theodore Y. Ts'o (tytso@rt-11) |
| 960 | |
| 961 | * dump.c: Added two new commands, "dump" and "cat", which allow |
| 962 | the user to dump the contents of an inode to a file or to |
| 963 | stdout, respectively. |
| 964 | |
| 965 | |