blob: cdac00ae661cc322d6c1de01cf6a25df24bd56b7 [file] [log] [blame]
Theodore Ts'o9c7ec172003-07-26 01:03:34 -040012003-07-25 Theodore Ts'o <tytso@mit.edu>
2
3 * Release of E2fsprogs 1.34
4
Theodore Ts'o48e6e812003-07-06 00:36:48 -040052003-07-06 Theodore Ts'o <tytso@mit.edu>
6
7 * debugfs.c (do_imap): Fix gcc -Wall nitpicks (printf format types).
8
Theodore Ts'oa5fdcd52003-05-21 17:58:36 -040092003-05-21 Theodore Ts'o <tytso@mit.edu>
10
11 * unused.c (do_dump_unused): Add new command which dumps the
12 unused blocks. (Initial implementation; currently only
13 dumps the output to stdout.)
14
Theodore Ts'o88494bb2003-05-13 23:03:43 -0400152003-05-13 root <tytso@mit.edu>
16
17 * util.c (reset_getopt), debugfs.c (do_open_filesys,
18 do_show_super_stats), ls.c (do_list_dir), dump.c (do_dump),
19 htree.c (do_htree_dump, do_dx_hash), logdump.c (do_logdump):
20 Define and use a new function, reset_getopt(), which does whatever
21 is necessary to reset getopt() again. This is different for
22 different implementations, so the portabilty issues are a bit of a
23 nightmare. (Addresses Debian bug #192834)
24
Theodore Ts'obecf36f2003-05-05 11:35:04 -0400252003-05-05 Theodore Ts'o <tytso@mit.edu>
26
27 * debugfs.c (do_imap), debugfs.h, debug_cmds.ct, debugfs.8.in:
28 Added new command, imap, which prints the location of a
29 specified inode in the inode table.
30
Theodore Ts'o71df0dc2003-04-21 16:17:09 -0400312003-04-21 Theodore Ts'o <tytso@mit.edu>
32
33 * Release of E2fsprogs 1.33
34
Theodore Ts'o3ae497e2003-03-16 06:26:25 -0500352003-03-16 Theodore Ts'o <tytso@mit.edu>
36
37 * Makefile.in (DLOPEN_LIB): Link in the libdl library if it is
38 present on the system.
39
40 * debugfs.c (main): Call ss_get_readline() to attempt to pull in
41 the readline library.
42
Theodore Ts'oed78c022003-03-06 11:09:18 -0500432003-03-06 Theodore Tso <tytso@mit.edu>
44
45 * debugfs.c (do_open_filesys, do_show_super_stats),
46 ls.c (do_list_dir), dump.c (do_dump), htree.c (do_htree_dump,
47 do_dx_hash), logdump.c (do_logdump): Reset optind to 1 for better
48 compatibility with non-glibc implementations of getopt.
49
Theodore Ts'of3640932003-03-01 19:47:44 -0500502003-03-01 Theodore Ts'o <tytso@mit.edu>
51
52 * Makefile.in, logdump.c (do_logdump): Use the blkid functions to
53 find the external journal device.
54
Theodore Ts'o819157d2003-01-22 18:25:39 -0500552003-01-21 Theodore Ts'o <tytso@mit.edu>
56
57 * dump.c (do_dump): Open the output file with O_LARGEFILE so we
58 can write files larger than 2GB.
59
Theodore Ts'o38513012002-11-09 15:00:56 -0500602002-11-09 Theodore Ts'o <tytso@mit.edu>
61
62 * Release of E2fsprogs 1.32
63
Theodore Ts'oae65b292002-11-08 20:08:48 -0500642002-11-08 Theodore Ts'o <tytso@mit.edu>
65
66 * Release of E2fsprogs 1.31
67
Theodore Ts'o1dd090f2002-10-31 11:53:49 -0500682002-10-31 Theodore Ts'o <tytso@mit.edu>
69
Theodore Ts'o5d823a42002-11-01 02:13:53 -050070 * Release of E2fsprogs 1.30
71
722002-10-31 Theodore Ts'o <tytso@mit.edu>
73
Theodore Ts'o1dd090f2002-10-31 11:53:49 -050074 * debugfs.c (do_write): Check to see if the filename exists before
75 creating it, and give an error if so. Addresses
76 Sourceforge bug #478195.
77
Theodore Ts'o482afc42002-10-31 03:32:34 -0500782002-10-30 Theodore Ts'o <tytso@mit.edu>
79
80 * Makefile.in (install): Search all compression extensions when
81 deleting old man pages.
82
Theodore Ts'o3e699062002-10-13 23:56:28 -0400832002-10-13 Theodore Ts'o <tytso@mit.edu>
84
85 * debugfs.h, htree.c, setsuper.c: Fix gcc -Wall nits.
86
Theodore Ts'o8132d842002-10-02 22:07:17 -0400872002-10-02 Theodore Y. Ts'o <tytso@mit.edu>
88
89 * htree.c (htree_dump_leaf_node): Use ext2fs_read_dir_block2 so
90 that the directory entries are appropriately byte-swapped.
91
Theodore Ts'oc6633052002-09-24 01:26:50 -0400922001-09-24 Theodore Tso <tytso@mit.edu>
93
94 * Release of E2fsprogs 1.29
95
Theodore Ts'o42e5b5f2002-09-22 15:27:28 -0400962002-09-22 root <tytso@mit.edu>
97
98 * htree.c (htree_dump_int_node): Flag continuation hashes to make
99 them easier to find.
100
Theodore Ts'o87ee8dc2002-08-31 03:02:57 -04001012001-08-31 Theodore Tso <tytso@thunk.org>
102
103 * Release of E2fsprogs 1.28
104
Theodore Ts'of61fc0b2002-08-24 00:04:03 -04001052002-08-23 Theodore Ts'o <tytso@mit.edu>
106
107 * setsuper.c: Add support for the fields s_uuid, s_journal_uuid,
108 s_hash_seed, s_def_hash_version. Add routines for parsing
109 UUID's and hash algorithm identifiers.
110
Theodore Ts'oed909bb2002-08-16 17:03:59 -04001112002-08-16 Theodore Ts'o <tytso@mit.edu>
112
113 * icheck.c (do_icheck): Check to see if the block is listed as
114 part of the extended attribute block.
115
Theodore Ts'o155f5772002-07-21 14:17:45 -04001162002-07-21 Theodore Ts'o <tytso@mit.edu>
117
118 * htree.c (do_htree_dump): Fix a bug where we were not cleanly
119 closing the pager after errors, which would leave the
120 tty in noecho mode.
121
Theodore Ts'o621732c2002-07-18 22:19:51 -04001222002-07-18 Theodore Ts'o <tytso@mit.edu>
123
124 * htree.c (htree_dump_int_node): Add byte swapping code sot that
125 the htree dump function works on a big-endian machine.
126
Theodore Ts'o34be9602002-07-15 16:56:41 -04001272002-07-15 Theodore Ts'o <tytso@mit.edu>
128
129 * debugfs.c (do_show_super_stats): Calculate and print the number
130 of directories on a filesystem --- because we can and
131 because it can be useful.
132
Theodore Ts'od7f64ae2002-07-09 01:27:05 -04001332002-07-09 Theodore Ts'o <tytso@mit.edu>
134
135 * debugfs.c (do_rmdir), debugfs.8.in: Implement the rmdir command.
136 Addresses Debian bug #138003.
137
Theodore Ts'o503f9e72002-06-26 16:52:10 -04001382002-06-26 Theodore Ts'o <tytso@mit.edu>
139
140 * htree.c (do_dx_hash): Use new ext2fs_dirhash function signature.
141 Add getopt support so user can specify the hash version.
142
Theodore Ts'ob38cd282002-05-11 22:13:20 -04001432002-05-11 <tytso@snap.thunk.org>
144
145 * debug_cmds.ct, debugfs.c (do_bmap): Add new command "bmap" which
146 calculates the logical->physical block mapping for an
147 inode.
148
149 * debugfs.c (do_init_filsys, main), util.c
150 (common_block_args_process): Fix bad calling parameter
151 order when calling parse_ulong. This broke the -b and -s
152 options to debugfs, as well as do_init, and the testb,
153 setb, clearb functions.
154
Theodore Ts'oe5b3b272002-04-01 15:42:21 -05001552002-04-01 <tytso@snap.thunk.org>
156
157 * util.c (parse_ulong): Fix typo which cases parse_ulong to
158 coredump if the err variable is filled in (for example, if
159 the -b or -s options are passed to the debugfs's
160 command-line invocation).
161
Theodore Ts'o52783e02002-03-11 15:04:45 -05001622002-03-11 Theodore Tso <tytso@mit.edu>
163
Theodore Ts'of9190c82002-03-12 01:05:06 -0500164 * ls.c (list_dir_proc): Fix bug: ls -l fails to print the file
165 type correctly if running on big-endian systems.
166
Theodore Ts'o52783e02002-03-11 15:04:45 -0500167 * htree.c (htree_dump_leaf_node): Use the ext2_dirhash function
168 instead of a local static function.
169
Theodore Ts'oa8e77242002-03-08 03:12:14 -05001702002-03-08 Theodore Tso <tytso@mit.edu>
171
172 * Release of E2fsprogs 1.27
173
Theodore Ts'o3f830202002-03-07 02:56:53 -05001742002-03-07 <tytso@snap.thunk.org>
175
176 * ls.c (list_dir_proc): Fix typo in debugfs which was causing a
177 compiler warning.
178
Theodore Ts'o7380ac92002-03-05 01:57:53 -05001792002-03-05 Theodore Tso <tytso@mit.edu>
180
181 * lsdel.c (do_lsdel): lsdel uses the pager to print out the list
182 of potentially deleted inode. Thanks to Jaroslav Drzik
183 <jdrzik@host.sk> for suggesting this enhancement.
184
185 * debugfs.c (do_modify_inode): Fix bug which caused modify_inode
186 to core dump if a fliesystem isn't open. Thanks to
187 Jaroslav Drzik <jdrzik@host.sk> for finding and reporting
188 the bug and his proposed fix.
189
Theodore Ts'ofa7c3022002-02-26 17:13:12 -05001902002-02-26 Theodore Tso <tytso@mit.edu>
191
192 * ls.c (list_dir_proc): When listing the directory entry in long
193 format, include the file type of the directory entry in
194 parenthesis.
195
Theodore Ts'o57173d02002-02-26 14:59:39 -05001962002-02-25 Theodore Tso <tytso@mit.edu>
Theodore Ts'odf614db2002-02-25 04:28:45 -0500197
198 * util.c (open_pager): If the PAGER environment is set to __none__
199 then don't use a pager at all, and ship it all to stdout.
200
201 * Makefile.in, debug_cmds.ct, htree.c: Add new file htree.c, which
202 implements the three new commands, htree_dump, dx_hash,
203 and dirsearch.
204
Theodore Ts'o57173d02002-02-26 14:59:39 -05002052002-02-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'ob9f40922002-02-24 03:08:57 -0500206
207 * Makefile.in (install): Remove any compressed man pages before
208 installing the man pages.
209
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -05002102002-02-03 Theodore Tso <tytso@thunk.org>
211
212 * Release of E2fsprogs 1.26
213
Theodore Ts'o57173d02002-02-26 14:59:39 -05002142002-01-03 Theodore Tso <tytso@mit.edu>
Theodore Ts'oe1018ee2002-01-03 04:55:25 -0500215
216 * lsdel.c (do_lsdel): New optional argument which allows the user
217 to only see the most recently deleted files.
218
219 * debugfs.c (do_undel, do_testb, do_freeb, do_setb, do_ffb): Add
220 new command, undelete, which automates undeleting a
221 deleted inode and linking it back to a directory. Add a
222 count argument to the testb, freeb, setb, and ffb commands.
223
224 * ls.c (list_dir_proc, do_list_dir): Add support for -d option
225 which lists deleted directory entries.
226
227 * debug_cmds.ct: Add new command, undelete.
228
229 * dump.c, icheck.c, logdump.c, ls.c, lsdel.c, setsuper.c,
230 debugfs.c: Use new utility functions which factor out
231 commonly used code.
232
233 * util.c (debugfs_read_inode, debugfs_write_inode,
234 common_block_args_process, common_inode_args_process,
235 common_args_process, strtoblk, parse_ulong): New
236 functions which factor out commonly used code into
237 subroutines for ease of maintenance and to make the
238 executable size smaller.
239
Theodore Ts'o57173d02002-02-26 14:59:39 -05002402001-12-23 Theodore Tso <tytso@mit.edu>
Theodore Ts'o19007e52001-12-23 19:33:51 -0500241
242 * Makefile.in, jfs_user.h: Move linux/jbd.h to
243 ext2fs/kernel-jbd.h, to avoid using the system header
244 file version of hbd.h when using diet glibc (since it
245 forcibly adds /usr/include to the beginning of the
246 include search path.)
247
Theodore Ts'o57173d02002-02-26 14:59:39 -05002482001-12-22 Theodore Tso <tytso@mit.edu>
Theodore Ts'o34436892001-12-22 13:06:02 -0500249
250 * debugfs.c (kill_file_by_inode, release_blocks_proc): Update the
251 group descriptor free block and inode counts when deleting
252 or killing a file.
253
Theodore Ts'o57173d02002-02-26 14:59:39 -05002542001-12-16 Theodore Tso <tytso@mit.edu>
Theodore Ts'o8cf93332001-12-16 02:23:36 -0500255
Theodore Ts'o4ea7bd02001-12-16 23:23:37 -0500256 * setsuper.c (print_possible_fields),
257 logdump.c (dump_journal): Fix gcc -Wall nits
258
Theodore Ts'o8cf93332001-12-16 02:23:36 -0500259 * Makefile.in, jfs_user.h: linux/jfs.h has been renamed to
260 linux/jbd.h
261
Theodore Ts'o57173d02002-02-26 14:59:39 -05002622001-12-02 Theodore Tso <tytso@mit.edu>
Theodore Ts'o571fc5a2001-12-02 17:23:27 +0100263
264 * util.c (close_pager): Use pclose() instead of fclose() when
265 closing the pager stream.
266
Theodore Ts'o57173d02002-02-26 14:59:39 -05002672001-11-30 Theodore Tso <tytso@mit.edu>
Theodore Ts'oe8981882001-11-30 11:51:30 +0100268
269 * debugfs.c (finish_range, dump_blocks): Fixed bug in Andreas's >
270 2GB support changes: you need to use %lld when printf'ing
271 an long long variable.
272
Theodore Ts'o57173d02002-02-26 14:59:39 -05002732001-11-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'o6e96adc2001-11-24 16:10:52 -0500274
275 * debugfs.8.in: Update manual page to document the set_super_value
276 and logdump commands, and move the "specifying files"
277 section closer to the beginning of the man page so people
278 won't miss it.
279
280 * setsuper.c (print_possible_fields): "set_super_value -l" now
281 prints out the list of valid superblock fields which the
282 ssv command can set.
283
Theodore Ts'ofbf91112001-09-20 10:47:47 -04002842001-09-20 Theodore Tso <tytso@thunk.org>
285
286 * Release of E2fsprogs 1.25
287
Theodore Ts'ofb707752001-09-04 15:00:37 -04002882001-09-02 Theodore Tso <tytso@thunk.org>
289
290 * Release of E2fsprogs 1.24a
291
Theodore Ts'o109624a2001-08-31 00:59:55 -04002922001-08-30 Theodore Tso <tytso@thunk.org>
293
294 * Release of E2fsprogs 1.24
295
Theodore Ts'o0f8973f2001-08-27 12:44:23 -04002962001-08-27 Theodore Tso <tytso@valinux.com>
297
298 * debugfs.c (main): Remove EXT2FS_VERSION from the version
299 display, since it only confuses people.
300
Theodore Ts'o943ed872001-08-27 12:29:22 -04003012001-08-15 Theodore Tso <tytso@valinux.com>
302
303 * Release of E2fsprogs 1.23
304
Theodore Ts'o5faba3a2001-08-12 03:38:51 -04003052001-08-12 Theodore Tso <tytso@valinux.com>
306
307 * logdump.c (do_logdump, dump_journal): Add support for dumping
308 external journals.
309
Theodore Ts'o67960132001-06-23 00:16:37 -04003102001-06-23 Theodore Tso <tytso@valinux.com>
311
312 * Release of E2fsprogs 1.22
313
Theodore Ts'of4f75ba2001-06-16 01:14:28 +00003142001-06-15 Theodore Tso <tytso@valinux.com>
315
316 * Release of E2fsprogs 1.21
317
Theodore Ts'o364a3732001-06-13 23:46:39 +00003182001-06-13 Theodore Tso <tytso@valinux.com>
319
320 * setsuper.c: Add s_lastcheck field to the fields which can be
321 modified using set_super_value. (Suggested by Andreas
322 Dilger)
323
Theodore Ts'ob7846402001-06-03 23:27:56 +00003242001-06-03 Theodore Tso <tytso@valinux.com>
325
326 * debugfs.c (copy_file): Fixed signed vs unsigned bug which causes
327 read errors to not be noticed.
328
Theodore Ts'o4bb0c042001-06-01 15:22:38 +00003292001-06-01 Theodore Tso <tytso@valinux.com>
330
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000331 * Makefile.in: Move include/asm/types.h.in to
Theodore Ts'o36a23e12001-06-02 00:54:10 +0000332 lib/ext2fs/ext2_types.h.in.
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000333
Theodore Ts'o5e4f0702001-06-01 15:36:05 +0000334 * debugfs.c, debugfs.h, logdump.c: Fix various gcc -Wall nitpicks.
335
Theodore Ts'o4bb0c042001-06-01 15:22:38 +0000336 * logdump.c (read_journal_block): Replace pread with lseek/read
337 combination.
338
Theodore Ts'obb185862001-05-25 17:35:00 +00003392001-05-25 Theodore Tso <tytso@valinux.com>
340
341 * Release of E2fsprogs 1.20
342
Theodore Ts'o54c637d2001-05-14 11:45:38 +00003432001-05-14 Theodore Tso <tytso@valinux.com>
344
345 * debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
346
Theodore Ts'o777ebb32001-05-13 02:45:15 +00003472001-05-12 Theodore Tso <tytso@valinux.com>
348
349 * debugfs.c (print_features): Use fputs instead of printf to
350 output using the passed-in FILE *.
351
Theodore Ts'o085cb192001-05-09 06:09:12 +00003522001-05-09 Theodore Tso <tytso@valinux.com>
353
354 * debugfs.c (do_write, do_mknod): Set the file type information
355 when creating the inode.
356
Theodore Ts'o59cf7e02001-05-03 15:05:55 +00003572001-05-03 Theodore Tso <tytso@valinux.com>
358
359 * debugfs.c (do_open_filesys, main): Add -i option which will
360 allow debugfs to examine ext2 image files.
361
Theodore Ts'oda81e3f2001-03-29 20:49:58 +00003622001-03-29 Theodore Tso <tytso@valinux.com>
363
364 * debugfs.c (dump_blocks, dump_inode, internal_dump_inode): Add
365 internal_dump_inode() interface for the logdump command.
366
367 * logdump.c: Imported code from Stephen Tweedie to dump the ext3
368 journal.
369
Theodore Ts'o0a24c002001-03-18 18:16:18 +00003702001-03-18 Theodore Tso <tytso@valinux.com>
371
372 * debugfs.c (do_write, do_mknod): Remove extra (useless) call to
373 ext2fs_write_inode.
374
Theodore Ts'ob74d1d82001-01-12 17:23:52 +00003752001-01-12 Theodore Ts'o <tytso@valinux.com>
376
Theodore Ts'o426d7342001-01-13 01:29:05 +0000377 * setsuper.c: Cleaned up some random whitespace problems.
378
379 * debugfs.h, debugfs.c (do_show_super_stats): Use full words
Theodore Ts'ob74d1d82001-01-12 17:23:52 +0000380 instead of pluralism hack to make I18N conversion easier.
381 Clean up gcc -Wall complaints.
382
Theodore Ts'ob044c2e2001-01-11 15:26:39 +00003832001-01-11 <tytso@snap.thunk.org>
384
385 * debugfs.c, debugfs.h, dump.c, icheck.c, ls.c, lsdel.c, ncheck.c,
386 setsuper.c, util.c: Change ino_t to ext2_ino_t. Fix a few
387 minor gcc-wall complaints while we're at it.
388
Theodore Ts'o5dd8f962001-01-01 15:51:50 +00003892001-01-01 <tytso@snap.thunk.org>
390
391 * debugfs.c Replace use of struct ext2fs_sb with struct
392 ext2_super_block.
393
Theodore Ts'o3db93052000-12-30 20:26:31 +00003942000-12-30 <tytso@snap.thunk.org>
395
Theodore Ts'oc5de1d42000-12-31 01:39:54 +0000396 * dump.c (fix_perms): Fix bug for systems which don't have fchown;
397 was incorrectly using chmod instead of chown.
398
Theodore Ts'o3db93052000-12-30 20:26:31 +0000399 * setsuper.c (find_field): Strip the s_prefix if given for ssv
Theodore Ts'oc5de1d42000-12-31 01:39:54 +0000400 fields. Remove hard-coded s_ from inode_size
401 field. (Suggested by Andreas Dilger)
Theodore Ts'o3db93052000-12-30 20:26:31 +0000402
403 * debugfs.c (do_modify_inode): Add the ability to set the inode
404 generation number. (Suggested by Andreas Dilger)
405
Theodore Ts'o9131a752000-08-23 04:36:25 +00004062000-08-23 <tytso@valinux.com>
407
408 * util.c (string_to_inode): Use strtoul instead of atoi, so that
409 hex inode numbers will be accepted.
410
Theodore Ts'o2c4a5402000-08-19 17:33:28 +00004112000-08-19 <tytso@valinux.com>
412
413 * util.c (open_pager): Set SIGPIPE to be ignored, so that quitting
414 out of the pager doesn't blow away debugfs.
415
Theodore Ts'o0a3db932000-08-14 17:06:05 +00004162000-08-14 <tytso@valinux.com>
417
Theodore Ts'obd09eff2000-08-14 20:39:17 +0000418 * debugfs.c (do_show_super_stats): Use list_super2() instead of
419 using explicit printf statements. (We get a more complete
420 printout this way.)
421
Theodore Ts'oc6bd0c92000-08-14 20:37:09 +0000422 * util.c (open_pager): If the PAGER environment variable is not
423 set, default to using "more".
424
425 * setsuper.c: New function which implements the set_super_value
426 command. Allows the user to set arbitrary superblock
427 fields.
428
Theodore Ts'o0a3db932000-08-14 17:06:05 +0000429 * debugfs.c (dump_inode): Cap the length when printing a fast
430 symbolic link to inode.i_size.
431 (list_blocks_proc): Print block ranges (4510-4533) to make
432 the stat output easier to read.
433
Theodore Ts'oa5eef732000-08-14 15:47:15 +00004342000-06-27 Andreas Dilger <adilger@turbolabs.com>
435
436 * debugfs.c (list_blocks_proc): show relative inode block numbers
437 and/or indirect block status
438
Theodore Ts'of9e67062000-07-13 23:25:54 +00004392000-07-13 <tytso@valinux.com>
440
441 * Release of E2fsprogs 1.19
442
Theodore Ts'o14197172000-07-05 17:48:34 +00004432000-07-05 Theodore Ts'o <tytso@valinux.com>
444
445 * debugfs.c (dump_inode): Make the generation field be printed as
446 an unsigned integer.
447
Theodore Ts'o619dd192000-07-04 12:37:55 +00004482000-07-04 <tytso@snap.thunk.org>
449
450 * Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the
451 mk_cmds support files from the source tree.
452
Theodore Ts'oee753092000-06-09 04:24:36 +00004532000-06-09 <tytso@snap.thunk.org>
454
455 * lsdel.c (do_lsdel): Handle bad bad blocks in inode table.
456
Theodore Ts'od61f6172000-05-27 16:04:00 +00004572000-05-27 Theodore Ts'o <tytso@valinux.com>
458
459 * debugfs.c (do_testb, do_testi): Call check_fs_bitmaps to avoid
460 coredumping if the bitmaps aren't loaded.
461
462 * util.c (check_fs_bitmaps): New function which checks whether or
463 not the bitmaps are loaded.
464
Theodore Ts'o2e8d40d2000-05-27 15:15:40 +00004652000-05-23 Aaron Crane <aaronc@pobox.com>
466
467 * debugfs.8.in: Documented new behaviour.
468
469 * ls.c (ls_l_file): Fix Y2K bug -- was printing 22-May-100 for
470 recent files. Switched to 4-digit years.
471
472 * dump.c, debug_cmds.ct (do_rdump): Add new debugfs command
473 "rdump", which recursively dumps a directory and its
474 contents.
475 (fix_perms): New function. Break permission-fixing
476 code out of dump_file() so it can be called by rdump
477 code as well.
478 (dump_file): Call fix_perms().
479
480 * debugfs.c, debug_cmds.ct (do_lcd): Add new debugfs command
481 "lcd", which changes the cwd on the native filesystem.
482
483 * debugfs.c (open_filesystem): Extra args for superblock,
484 blocksize, and catastrophic mode. Changed callers.
485 (do_open_filesys, main): Accept new -b, -s, -c options
486 for open_filesystem.
487
Theodore Ts'o80e808f2000-02-02 16:19:59 +00004882000-02-02 Theodore Ts'o <tytso@valinux.com>
489
490 * debugfs.c (dump_inode): Remove #ifdef for i_version
491 vs. i_generation since we know it will always be
492 i_generation now.
493
Theodore Ts'o77200f42000-01-18 17:53:27 +00004942000-01-18 Theodore Ts'o <tytso@valinux.com>
495
Theodore Ts'oe5973042000-01-18 17:58:34 +0000496 * debugfs.c (main): Use return instead of exit at the end of main
497 to avoid some compiler warnings.
498
Theodore Ts'o77200f42000-01-18 17:53:27 +0000499 * Makefile.in: Since LIBUUID can sometimes include
500 "-lsocket" we need a separate DEPLIBUUID that can be used
501 in Makefile's dependency rules.
502
Theodore Ts'o5c36a2f1999-11-19 18:42:30 +00005031999-11-19 <tytso@valinux.com>
504
505 * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
506 the source directory.
507
Theodore Ts'ocd086361999-11-10 16:00:39 +00005081999-11-10 <tytso@valinux.com>
509
510 * Release of E2fsprogs 1.18
511
Theodore Ts'o643efb81999-11-08 19:27:13 +00005121999-11-08 <tytso@valinux.com>
513
514 * icheck.c (do_icheck):
515 * ncheck.c (do_ncheck): If ext2fs_open_inode_scan() returns
516 EXT2_ET_BAD_BLOCK_IN_INODE_TABLE loop to skip over the bad
517 blocks in the inode table.
518
Theodore Ts'of68aa411999-10-26 14:20:22 +00005191999-10-26 <tytso@valinux.com>
520
Theodore Ts'o28e11941999-10-26 18:17:20 +0000521 * Release of E2fsprogs 1.17
522
5231999-10-26 <tytso@valinux.com>
524
Theodore Ts'of68aa411999-10-26 14:20:22 +0000525 * debugfs.h: Add declaration for do_features()
526
527 * debugfs.c: Add #incldue of e2p.h to fix gcc warnings.
528
Theodore Ts'o601002b1999-10-26 02:06:39 +00005291999-10-25 <tytso@valinux.com>
530
531 * debugfs.c (do_dirty_filesys): Make the "dirty" command clear the
532 valid bit on the superblock. (And with a -clean option to
533 set the valid bit.) Originally it was used just to set
534 the "needs to be written" bit in the in-core version of
535 the fs structure.
536
Theodore Ts'o614fdfd1999-10-23 03:19:51 +00005371999-10-22 <tytso@valinux.com>
538
539 * Release of E2fsprogs 1.16
540
Theodore Ts'od3aea7d1999-09-14 20:55:37 +00005411999-09-07 <tytso@rsts-11.mit.edu>
542
543 * debugfs.c, debug_cmds.ct: Add new debugfs command "feature"
544 which allows the user to set or clear filesystme features.
545 Add the -f (force) option to the open command. Add the
546 -h (superblock header only) option to the stats command.
547
Theodore Ts'o55376d81999-07-31 00:32:57 +00005481999-07-30 <tytso@rsts-11.mit.edu>
549
550 * debugfs.c (dump_inode): Fix debugfs message so it is the same
551 for when compiled under either Linux 2.2 or 2.3. This
552 allows for the f_swapfs regression test suite to work
553 regardless of which OS e2fsprogs was compiled on.
554
Theodore Ts'o657cb971999-07-30 23:19:10 +00005551999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu>
556
557 * Release of E2fsprogs 1.15
558
Theodore Ts'ob41d3601999-06-25 15:32:37 +00005591999-06-23 <tytso@valinux.com>
560
561 * debugfs.c (dump_inode): Add compatibility for Linux 2.3 kernels
562 that use i_generation instead of i_version. Patch
563 supplied by Jon Bright <sircus@sircus.demon.co.uk>.
564
Theodore Ts'oce5ee991999-02-19 18:56:43 +00005651999-02-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
566
567 * icheck.c (do_icheck): Check to make sure the inode has valid
568 blocks before iterating over that inode's blocks.
569
Theodore Ts'o9e51eca1999-01-09 16:32:31 +00005701999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
571
572 * Release of E2fsprogs 1.14
573
Theodore Ts'o556ad131998-12-19 08:10:58 +00005741998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
575
576 * Release of E2fsprogs 1.13
577
Theodore Ts'odba838b1998-12-04 06:15:12 +00005781998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu>
579
580 * Makefile.in: Updated dependencies.
581
Theodore Ts'o91d6d481998-08-01 01:03:39 +00005821998-07-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
583
584 * debugfs.c (do_stat, do_clri): Fix bug where debugfs wasn't
585 displaying the error message if ext2fs_read_inode() failed.
586 (do_rm): Fix similar problem for call to ext2fs_namei().
587
Theodore Ts'o4a5fa191998-07-09 05:42:45 +00005881998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
589
590 * Release of E2fsprogs 1.12
591
Theodore Ts'o818180c1998-06-27 05:11:14 +00005921998-06-27 Theodore Ts'o <tytso@rsts-11.mit.edu>
593
594 * debugfs.c: Add a -V option which displays the current version.
595
Theodore Ts'o7e44f241998-04-01 03:16:29 +00005961998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
597
598 * Makefile.in: Change to use new installation directory variables
599 convention. Fix installdirs and uninstall rules to reflect
600 the fact that debugfs has been installed in the root
601 filesystem. Fix uninstall rules to take $(DESTDIR) into
602 account.
603
Theodore Ts'o4a31c481998-03-30 01:27:25 +00006041998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
605
606 * debugfs.h: Add declaration for do_dirty_filsys() to prevent
607 -Wall warnings.
608
609 * debugfs.c (copy_file):
610 * dump.c (dump_file): Fix -Wall warning caused by
611 signed/unsigned mismatch.
612
Theodore Ts'o36a43d61998-03-24 16:17:51 +00006131998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu>
614
615 * debugfs.c, ls.c, lsdel.c: Add support for large files. (The
616 high 32 bits share space with the i_dir_acl field.)
617
Theodore Ts'occe382b1998-03-09 13:07:09 +0000618Sun Mar 8 22:53:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
619
620 * ls.c (list_dir_proc): Mask off high 8 bits from
621 dirent->name_len.
622
Theodore Ts'o5be8dc21997-12-01 18:24:10 +0000623Mon Dec 1 13:21:09 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
624
625 * Makefile.in: Install debugfs in /sbin, instead of /usr/sbin.
626
Theodore Ts'o5a513841997-10-25 22:41:14 +0000627Sat Oct 25 18:35:30 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
628
629 * debugfs.c (copy_file), dump.c (dump_file): Change to use the new
630 fileio primitives in libext2.
631
Theodore Ts'of1304811997-10-25 03:51:53 +0000632Fri Oct 24 23:47:43 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
633
634 * debugfs.c (main, do_open_filesys):
635 * dump.c (do_dump): Make the variable which getopt returns into be
636 an int, so that it won't lose on platforms where char is
637 unsigned.
638
Theodore Ts'ob4ac9cc1997-10-15 01:54:48 +0000639Tue Oct 14 21:50:24 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
640
641 * debugfs.c (main): When printing a usage message, have main
642 return 1 (instead of not specifying a return value, bad!)
643
Theodore Ts'oa8859ca1997-09-16 02:08:28 +0000644Mon Sep 15 22:03:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
645
646 * debugfs.c (main): Fix declaration of main so that it returns an int.
647
Theodore Ts'o024996c1997-06-17 05:38:35 +0000648Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
649
650 * Release of E2fsprogs 1.11
651
Theodore Ts'o583ccdc1997-05-09 03:06:31 +0000652Thu May 8 23:05:40 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
653
654 * debugfs.8.in: Fix minor typos and grammer oops found by Bill
655 Hawes (whawes@star.net).
656
Theodore Ts'oa29f4d31997-04-29 21:26:48 +0000657Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
658
659 * Release of E2fsprogs version 1.10
660
661Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
662
663 * Release of E2fsprogs version 1.09
664
Theodore Ts'o2ecc6fe1997-04-29 17:57:00 +0000665Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
666
667 * Release of E2fsprogs version 1.08
668
Theodore Ts'o521e3681997-04-29 17:48:10 +0000669Thu Apr 10 14:36:05 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
670
671 * ls.c: New file which implements the ls command. Added the -l
672 option.
673
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000674Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
675
676 * Release of E2fsprogs version 1.07
677
678Wed Jan 1 23:53:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
679
680 * lsdel.c (do_lsdel): Use time_to_string() instead of ctime().
681
682Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
683
684 * Release of E2fsprogs version 1.06
685
Theodore Ts'o5c576471997-04-29 15:29:49 +0000686Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
687
688 * Release of E2fsprogs version 1.05
689
Theodore Ts'ofc6d9d51997-04-29 14:51:31 +0000690Mon Sep 9 23:05:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
691
692 * debugfs.c (unlink_file_by_name): If unlinking a file with a
693 directory path, correctly replace the slash with a NULL.
694 (do_show_debugfs_params): Don't try to print the open mode
695 if there's no filesystem opened (since that will cause a
696 core dump).
697 (main): Fix usage string; the -w and device elements are
698 independently optional.
699
700Tu Sep 3 15:09:39 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
701
702 * debugfs.c (main): Added -f option to debugfs, which takes a
703 command file of debugfs commands and executes them.
704
705Sat Aug 31 01:18:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
706
707 * debugfs.8.in: Heavily edited and improved manual page.
708
709 * dump.c (dump_file): Improve the write function for writing out
710 the file, so that it is limited to the actual size of the
711 file, instead of outputing the nulls following the EOF.
712 Make sure dump_file does the right thing for files with holes.
713 (do_dump): Add support for the -p option to the dump
714 command, which attempts to preserve the owner and
715 permissions field.
716
717Fri Aug 30 14:56:59 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
718
719 * debugfs.c (main): Add -R option to debugfs, which allows it to
720 take a single debugfs command on the command line.
721
722Fri Aug 9 09:03:31 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
723
724 * debugfs.c (do_open_filesys): Set optind to 0 to reset getopt(),
725 to be complete correct.
726 (do_show_super_stats): Print OS type, volume label, last
727 mounted directory, and UUID.
728 (dump_inode): Print the fragment information in a
729 filesystem independent way.
730 (do_modify_inode): Modify the fragement information in a
731 filesystem independent way.
732
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000733Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
734
735 * Release of E2fsprogs version 1.04
736
737Wed May 3 20:41:26 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
738
739 * debugfs.c (dump_inode): Correctly print the translator on the hurd.
740 (do_modify_inode): Modify the translator block on the hurd.
741
Theodore Ts'o7f88b041997-04-26 14:48:50 +0000742Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu>
743
744 * Release of E2fsprogs version 1.03
745
Theodore Ts'o74becf31997-04-26 14:37:06 +0000746Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
747
748 * Release of E2fsprogs version 1.02
749
750Fri Dec 1 22:42:31 1995 <tytso@rsts-11.mit.edu>
751
752 * Makefile.in (LIBS): Rearrange the order of the libraries to be
753 linked, so that -lext2fs is before -lcom_err.
754
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000755Thu Oct 26 12:05:06 1995 <tytso@rsts-11.mit.edu>
756
757 * Makefile.in (install): Strip programs when they are installed.
758
759Fri Aug 18 15:09:08 1995 Theodore Y. Ts'o <tytso@dcl>
760
761 * debugfs.c (do_find_free_block): Fix typo in code which checked
762 to see if the usage message should be printed.
763
764Thu Aug 17 22:55:58 1995 <tytso@rsts-11.mit.edu>
765
766 * debugfs.c (do_open_filesys): Change to always set optreset to 1,
767 to make BSD getopt()'s happy. Also set optind to 1, which
768 should make more getopt()'s happy.
769
770Fri Aug 11 08:45:01 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
771
772 * debugfs.c (do_find_free_block, do_find_free_inode): Fix bug in
773 the usage handling where "ffi ?" or "ffb ?" would
774 dereference a NULL pointer.
775
776Fri Aug 11 14:21:07 1995 Remy Card <card@bbj>
777
778 * debugfs.8: Updated date and version number.
779
780Thu Aug 10 14:28:50 1995 Remy Card <card@bbj>
781
782 * debugfs.8: Fixed a spelling error in Ted's name :-)
783
784Mon Jun 12 19:08:25 1995 Theodore Y. Ts'o (tytso@dcl)
785
786 * debugfs.c, ncheck.c, icheck.c, lsdel.c, dump.c: Include
787 <errno.h> (if it exists)
788
789 * debugfs.c, dump.c, icheck.c, lsdel.c, ncheck.c: Don't include
790 <getopt.h> if it doesn't exist.
791
792Sun Jun 11 15:21:07 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
793
794 * ncheck.c (do_ncheck): Use LINUX_S_ISDIR instead of S_ISDIR
795
796 * debugfs.c: Implement the mknod and write commands (from Linus).
797
798 Change names of modify_char, modify_short, and modify_long
799 to be modify_u8, modify_u16, and modify_u32, respectively.
800
801Thu Jun 8 12:29:15 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
802
803 * debugfs.c (dump_inode): Only print out inode frag fields if
804 HAVE_EXT2_FRAGS is defined (by configure). Don't print out the
805 reserved field at all for now.
806
807 * Makefile.in: Rewritten to conform to GNU coding standards and
808 support separate compilation directories.
809
Theodore Ts'o6f4a1091997-04-26 13:32:25 +0000810Thu Nov 24 17:46:23 1994 Theodore Y. Ts'o (tytso@rt-11)
811
812 * dump.c: Added two new commands, "dump" and "cat", which allow
813 the user to dump the contents of an inode to a file or to
814 stdout, respectively.
815
816