blob: 003b5599e47f034c70daa44bab2d55c94c52c416 [file] [log] [blame]
Theodore Ts'o52783e02002-03-11 15:04:45 -050012002-03-11 Theodore Tso <tytso@mit.edu>
2
3 * htree.c (htree_dump_leaf_node): Use the ext2_dirhash function
4 instead of a local static function.
5
Theodore Ts'oa8e77242002-03-08 03:12:14 -050062002-03-08 Theodore Tso <tytso@mit.edu>
7
8 * Release of E2fsprogs 1.27
9
Theodore Ts'o3f830202002-03-07 02:56:53 -0500102002-03-07 <tytso@snap.thunk.org>
11
12 * ls.c (list_dir_proc): Fix typo in debugfs which was causing a
13 compiler warning.
14
Theodore Ts'o7380ac92002-03-05 01:57:53 -0500152002-03-05 Theodore Tso <tytso@mit.edu>
16
17 * lsdel.c (do_lsdel): lsdel uses the pager to print out the list
18 of potentially deleted inode. Thanks to Jaroslav Drzik
19 <jdrzik@host.sk> for suggesting this enhancement.
20
21 * debugfs.c (do_modify_inode): Fix bug which caused modify_inode
22 to core dump if a fliesystem isn't open. Thanks to
23 Jaroslav Drzik <jdrzik@host.sk> for finding and reporting
24 the bug and his proposed fix.
25
Theodore Ts'ofa7c3022002-02-26 17:13:12 -0500262002-02-26 Theodore Tso <tytso@mit.edu>
27
28 * ls.c (list_dir_proc): When listing the directory entry in long
29 format, include the file type of the directory entry in
30 parenthesis.
31
Theodore Ts'o57173d02002-02-26 14:59:39 -0500322002-02-25 Theodore Tso <tytso@mit.edu>
Theodore Ts'odf614db2002-02-25 04:28:45 -050033
34 * util.c (open_pager): If the PAGER environment is set to __none__
35 then don't use a pager at all, and ship it all to stdout.
36
37 * Makefile.in, debug_cmds.ct, htree.c: Add new file htree.c, which
38 implements the three new commands, htree_dump, dx_hash,
39 and dirsearch.
40
Theodore Ts'o57173d02002-02-26 14:59:39 -0500412002-02-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'ob9f40922002-02-24 03:08:57 -050042
43 * Makefile.in (install): Remove any compressed man pages before
44 installing the man pages.
45
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -0500462002-02-03 Theodore Tso <tytso@thunk.org>
47
48 * Release of E2fsprogs 1.26
49
Theodore Ts'o57173d02002-02-26 14:59:39 -0500502002-01-03 Theodore Tso <tytso@mit.edu>
Theodore Ts'oe1018ee2002-01-03 04:55:25 -050051
52 * lsdel.c (do_lsdel): New optional argument which allows the user
53 to only see the most recently deleted files.
54
55 * debugfs.c (do_undel, do_testb, do_freeb, do_setb, do_ffb): Add
56 new command, undelete, which automates undeleting a
57 deleted inode and linking it back to a directory. Add a
58 count argument to the testb, freeb, setb, and ffb commands.
59
60 * ls.c (list_dir_proc, do_list_dir): Add support for -d option
61 which lists deleted directory entries.
62
63 * debug_cmds.ct: Add new command, undelete.
64
65 * dump.c, icheck.c, logdump.c, ls.c, lsdel.c, setsuper.c,
66 debugfs.c: Use new utility functions which factor out
67 commonly used code.
68
69 * util.c (debugfs_read_inode, debugfs_write_inode,
70 common_block_args_process, common_inode_args_process,
71 common_args_process, strtoblk, parse_ulong): New
72 functions which factor out commonly used code into
73 subroutines for ease of maintenance and to make the
74 executable size smaller.
75
Theodore Ts'o57173d02002-02-26 14:59:39 -0500762001-12-23 Theodore Tso <tytso@mit.edu>
Theodore Ts'o19007e52001-12-23 19:33:51 -050077
78 * Makefile.in, jfs_user.h: Move linux/jbd.h to
79 ext2fs/kernel-jbd.h, to avoid using the system header
80 file version of hbd.h when using diet glibc (since it
81 forcibly adds /usr/include to the beginning of the
82 include search path.)
83
Theodore Ts'o57173d02002-02-26 14:59:39 -0500842001-12-22 Theodore Tso <tytso@mit.edu>
Theodore Ts'o34436892001-12-22 13:06:02 -050085
86 * debugfs.c (kill_file_by_inode, release_blocks_proc): Update the
87 group descriptor free block and inode counts when deleting
88 or killing a file.
89
Theodore Ts'o57173d02002-02-26 14:59:39 -0500902001-12-16 Theodore Tso <tytso@mit.edu>
Theodore Ts'o8cf93332001-12-16 02:23:36 -050091
Theodore Ts'o4ea7bd02001-12-16 23:23:37 -050092 * setsuper.c (print_possible_fields),
93 logdump.c (dump_journal): Fix gcc -Wall nits
94
Theodore Ts'o8cf93332001-12-16 02:23:36 -050095 * Makefile.in, jfs_user.h: linux/jfs.h has been renamed to
96 linux/jbd.h
97
Theodore Ts'o57173d02002-02-26 14:59:39 -0500982001-12-02 Theodore Tso <tytso@mit.edu>
Theodore Ts'o571fc5a2001-12-02 17:23:27 +010099
100 * util.c (close_pager): Use pclose() instead of fclose() when
101 closing the pager stream.
102
Theodore Ts'o57173d02002-02-26 14:59:39 -05001032001-11-30 Theodore Tso <tytso@mit.edu>
Theodore Ts'oe8981882001-11-30 11:51:30 +0100104
105 * debugfs.c (finish_range, dump_blocks): Fixed bug in Andreas's >
106 2GB support changes: you need to use %lld when printf'ing
107 an long long variable.
108
Theodore Ts'o57173d02002-02-26 14:59:39 -05001092001-11-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'o6e96adc2001-11-24 16:10:52 -0500110
111 * debugfs.8.in: Update manual page to document the set_super_value
112 and logdump commands, and move the "specifying files"
113 section closer to the beginning of the man page so people
114 won't miss it.
115
116 * setsuper.c (print_possible_fields): "set_super_value -l" now
117 prints out the list of valid superblock fields which the
118 ssv command can set.
119
Theodore Ts'ofbf91112001-09-20 10:47:47 -04001202001-09-20 Theodore Tso <tytso@thunk.org>
121
122 * Release of E2fsprogs 1.25
123
Theodore Ts'ofb707752001-09-04 15:00:37 -04001242001-09-02 Theodore Tso <tytso@thunk.org>
125
126 * Release of E2fsprogs 1.24a
127
Theodore Ts'o109624a2001-08-31 00:59:55 -04001282001-08-30 Theodore Tso <tytso@thunk.org>
129
130 * Release of E2fsprogs 1.24
131
Theodore Ts'o0f8973f2001-08-27 12:44:23 -04001322001-08-27 Theodore Tso <tytso@valinux.com>
133
134 * debugfs.c (main): Remove EXT2FS_VERSION from the version
135 display, since it only confuses people.
136
Theodore Ts'o943ed872001-08-27 12:29:22 -04001372001-08-15 Theodore Tso <tytso@valinux.com>
138
139 * Release of E2fsprogs 1.23
140
Theodore Ts'o5faba3a2001-08-12 03:38:51 -04001412001-08-12 Theodore Tso <tytso@valinux.com>
142
143 * logdump.c (do_logdump, dump_journal): Add support for dumping
144 external journals.
145
Theodore Ts'o67960132001-06-23 00:16:37 -04001462001-06-23 Theodore Tso <tytso@valinux.com>
147
148 * Release of E2fsprogs 1.22
149
Theodore Ts'of4f75ba2001-06-16 01:14:28 +00001502001-06-15 Theodore Tso <tytso@valinux.com>
151
152 * Release of E2fsprogs 1.21
153
Theodore Ts'o364a3732001-06-13 23:46:39 +00001542001-06-13 Theodore Tso <tytso@valinux.com>
155
156 * setsuper.c: Add s_lastcheck field to the fields which can be
157 modified using set_super_value. (Suggested by Andreas
158 Dilger)
159
Theodore Ts'ob7846402001-06-03 23:27:56 +00001602001-06-03 Theodore Tso <tytso@valinux.com>
161
162 * debugfs.c (copy_file): Fixed signed vs unsigned bug which causes
163 read errors to not be noticed.
164
Theodore Ts'o4bb0c042001-06-01 15:22:38 +00001652001-06-01 Theodore Tso <tytso@valinux.com>
166
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000167 * Makefile.in: Move include/asm/types.h.in to
Theodore Ts'o36a23e12001-06-02 00:54:10 +0000168 lib/ext2fs/ext2_types.h.in.
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000169
Theodore Ts'o5e4f0702001-06-01 15:36:05 +0000170 * debugfs.c, debugfs.h, logdump.c: Fix various gcc -Wall nitpicks.
171
Theodore Ts'o4bb0c042001-06-01 15:22:38 +0000172 * logdump.c (read_journal_block): Replace pread with lseek/read
173 combination.
174
Theodore Ts'obb185862001-05-25 17:35:00 +00001752001-05-25 Theodore Tso <tytso@valinux.com>
176
177 * Release of E2fsprogs 1.20
178
Theodore Ts'o54c637d2001-05-14 11:45:38 +00001792001-05-14 Theodore Tso <tytso@valinux.com>
180
181 * debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
182
Theodore Ts'o777ebb32001-05-13 02:45:15 +00001832001-05-12 Theodore Tso <tytso@valinux.com>
184
185 * debugfs.c (print_features): Use fputs instead of printf to
186 output using the passed-in FILE *.
187
Theodore Ts'o085cb192001-05-09 06:09:12 +00001882001-05-09 Theodore Tso <tytso@valinux.com>
189
190 * debugfs.c (do_write, do_mknod): Set the file type information
191 when creating the inode.
192
Theodore Ts'o59cf7e02001-05-03 15:05:55 +00001932001-05-03 Theodore Tso <tytso@valinux.com>
194
195 * debugfs.c (do_open_filesys, main): Add -i option which will
196 allow debugfs to examine ext2 image files.
197
Theodore Ts'oda81e3f2001-03-29 20:49:58 +00001982001-03-29 Theodore Tso <tytso@valinux.com>
199
200 * debugfs.c (dump_blocks, dump_inode, internal_dump_inode): Add
201 internal_dump_inode() interface for the logdump command.
202
203 * logdump.c: Imported code from Stephen Tweedie to dump the ext3
204 journal.
205
Theodore Ts'o0a24c002001-03-18 18:16:18 +00002062001-03-18 Theodore Tso <tytso@valinux.com>
207
208 * debugfs.c (do_write, do_mknod): Remove extra (useless) call to
209 ext2fs_write_inode.
210
Theodore Ts'ob74d1d82001-01-12 17:23:52 +00002112001-01-12 Theodore Ts'o <tytso@valinux.com>
212
Theodore Ts'o426d7342001-01-13 01:29:05 +0000213 * setsuper.c: Cleaned up some random whitespace problems.
214
215 * debugfs.h, debugfs.c (do_show_super_stats): Use full words
Theodore Ts'ob74d1d82001-01-12 17:23:52 +0000216 instead of pluralism hack to make I18N conversion easier.
217 Clean up gcc -Wall complaints.
218
Theodore Ts'ob044c2e2001-01-11 15:26:39 +00002192001-01-11 <tytso@snap.thunk.org>
220
221 * debugfs.c, debugfs.h, dump.c, icheck.c, ls.c, lsdel.c, ncheck.c,
222 setsuper.c, util.c: Change ino_t to ext2_ino_t. Fix a few
223 minor gcc-wall complaints while we're at it.
224
Theodore Ts'o5dd8f962001-01-01 15:51:50 +00002252001-01-01 <tytso@snap.thunk.org>
226
227 * debugfs.c Replace use of struct ext2fs_sb with struct
228 ext2_super_block.
229
Theodore Ts'o3db93052000-12-30 20:26:31 +00002302000-12-30 <tytso@snap.thunk.org>
231
Theodore Ts'oc5de1d42000-12-31 01:39:54 +0000232 * dump.c (fix_perms): Fix bug for systems which don't have fchown;
233 was incorrectly using chmod instead of chown.
234
Theodore Ts'o3db93052000-12-30 20:26:31 +0000235 * setsuper.c (find_field): Strip the s_prefix if given for ssv
Theodore Ts'oc5de1d42000-12-31 01:39:54 +0000236 fields. Remove hard-coded s_ from inode_size
237 field. (Suggested by Andreas Dilger)
Theodore Ts'o3db93052000-12-30 20:26:31 +0000238
239 * debugfs.c (do_modify_inode): Add the ability to set the inode
240 generation number. (Suggested by Andreas Dilger)
241
Theodore Ts'o9131a752000-08-23 04:36:25 +00002422000-08-23 <tytso@valinux.com>
243
244 * util.c (string_to_inode): Use strtoul instead of atoi, so that
245 hex inode numbers will be accepted.
246
Theodore Ts'o2c4a5402000-08-19 17:33:28 +00002472000-08-19 <tytso@valinux.com>
248
249 * util.c (open_pager): Set SIGPIPE to be ignored, so that quitting
250 out of the pager doesn't blow away debugfs.
251
Theodore Ts'o0a3db932000-08-14 17:06:05 +00002522000-08-14 <tytso@valinux.com>
253
Theodore Ts'obd09eff2000-08-14 20:39:17 +0000254 * debugfs.c (do_show_super_stats): Use list_super2() instead of
255 using explicit printf statements. (We get a more complete
256 printout this way.)
257
Theodore Ts'oc6bd0c92000-08-14 20:37:09 +0000258 * util.c (open_pager): If the PAGER environment variable is not
259 set, default to using "more".
260
261 * setsuper.c: New function which implements the set_super_value
262 command. Allows the user to set arbitrary superblock
263 fields.
264
Theodore Ts'o0a3db932000-08-14 17:06:05 +0000265 * debugfs.c (dump_inode): Cap the length when printing a fast
266 symbolic link to inode.i_size.
267 (list_blocks_proc): Print block ranges (4510-4533) to make
268 the stat output easier to read.
269
Theodore Ts'oa5eef732000-08-14 15:47:15 +00002702000-06-27 Andreas Dilger <adilger@turbolabs.com>
271
272 * debugfs.c (list_blocks_proc): show relative inode block numbers
273 and/or indirect block status
274
Theodore Ts'of9e67062000-07-13 23:25:54 +00002752000-07-13 <tytso@valinux.com>
276
277 * Release of E2fsprogs 1.19
278
Theodore Ts'o14197172000-07-05 17:48:34 +00002792000-07-05 Theodore Ts'o <tytso@valinux.com>
280
281 * debugfs.c (dump_inode): Make the generation field be printed as
282 an unsigned integer.
283
Theodore Ts'o619dd192000-07-04 12:37:55 +00002842000-07-04 <tytso@snap.thunk.org>
285
286 * Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the
287 mk_cmds support files from the source tree.
288
Theodore Ts'oee753092000-06-09 04:24:36 +00002892000-06-09 <tytso@snap.thunk.org>
290
291 * lsdel.c (do_lsdel): Handle bad bad blocks in inode table.
292
Theodore Ts'od61f6172000-05-27 16:04:00 +00002932000-05-27 Theodore Ts'o <tytso@valinux.com>
294
295 * debugfs.c (do_testb, do_testi): Call check_fs_bitmaps to avoid
296 coredumping if the bitmaps aren't loaded.
297
298 * util.c (check_fs_bitmaps): New function which checks whether or
299 not the bitmaps are loaded.
300
Theodore Ts'o2e8d40d2000-05-27 15:15:40 +00003012000-05-23 Aaron Crane <aaronc@pobox.com>
302
303 * debugfs.8.in: Documented new behaviour.
304
305 * ls.c (ls_l_file): Fix Y2K bug -- was printing 22-May-100 for
306 recent files. Switched to 4-digit years.
307
308 * dump.c, debug_cmds.ct (do_rdump): Add new debugfs command
309 "rdump", which recursively dumps a directory and its
310 contents.
311 (fix_perms): New function. Break permission-fixing
312 code out of dump_file() so it can be called by rdump
313 code as well.
314 (dump_file): Call fix_perms().
315
316 * debugfs.c, debug_cmds.ct (do_lcd): Add new debugfs command
317 "lcd", which changes the cwd on the native filesystem.
318
319 * debugfs.c (open_filesystem): Extra args for superblock,
320 blocksize, and catastrophic mode. Changed callers.
321 (do_open_filesys, main): Accept new -b, -s, -c options
322 for open_filesystem.
323
Theodore Ts'o80e808f2000-02-02 16:19:59 +00003242000-02-02 Theodore Ts'o <tytso@valinux.com>
325
326 * debugfs.c (dump_inode): Remove #ifdef for i_version
327 vs. i_generation since we know it will always be
328 i_generation now.
329
Theodore Ts'o77200f42000-01-18 17:53:27 +00003302000-01-18 Theodore Ts'o <tytso@valinux.com>
331
Theodore Ts'oe5973042000-01-18 17:58:34 +0000332 * debugfs.c (main): Use return instead of exit at the end of main
333 to avoid some compiler warnings.
334
Theodore Ts'o77200f42000-01-18 17:53:27 +0000335 * Makefile.in: Since LIBUUID can sometimes include
336 "-lsocket" we need a separate DEPLIBUUID that can be used
337 in Makefile's dependency rules.
338
Theodore Ts'o5c36a2f1999-11-19 18:42:30 +00003391999-11-19 <tytso@valinux.com>
340
341 * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
342 the source directory.
343
Theodore Ts'ocd086361999-11-10 16:00:39 +00003441999-11-10 <tytso@valinux.com>
345
346 * Release of E2fsprogs 1.18
347
Theodore Ts'o643efb81999-11-08 19:27:13 +00003481999-11-08 <tytso@valinux.com>
349
350 * icheck.c (do_icheck):
351 * ncheck.c (do_ncheck): If ext2fs_open_inode_scan() returns
352 EXT2_ET_BAD_BLOCK_IN_INODE_TABLE loop to skip over the bad
353 blocks in the inode table.
354
Theodore Ts'of68aa411999-10-26 14:20:22 +00003551999-10-26 <tytso@valinux.com>
356
Theodore Ts'o28e11941999-10-26 18:17:20 +0000357 * Release of E2fsprogs 1.17
358
3591999-10-26 <tytso@valinux.com>
360
Theodore Ts'of68aa411999-10-26 14:20:22 +0000361 * debugfs.h: Add declaration for do_features()
362
363 * debugfs.c: Add #incldue of e2p.h to fix gcc warnings.
364
Theodore Ts'o601002b1999-10-26 02:06:39 +00003651999-10-25 <tytso@valinux.com>
366
367 * debugfs.c (do_dirty_filesys): Make the "dirty" command clear the
368 valid bit on the superblock. (And with a -clean option to
369 set the valid bit.) Originally it was used just to set
370 the "needs to be written" bit in the in-core version of
371 the fs structure.
372
Theodore Ts'o614fdfd1999-10-23 03:19:51 +00003731999-10-22 <tytso@valinux.com>
374
375 * Release of E2fsprogs 1.16
376
Theodore Ts'od3aea7d1999-09-14 20:55:37 +00003771999-09-07 <tytso@rsts-11.mit.edu>
378
379 * debugfs.c, debug_cmds.ct: Add new debugfs command "feature"
380 which allows the user to set or clear filesystme features.
381 Add the -f (force) option to the open command. Add the
382 -h (superblock header only) option to the stats command.
383
Theodore Ts'o55376d81999-07-31 00:32:57 +00003841999-07-30 <tytso@rsts-11.mit.edu>
385
386 * debugfs.c (dump_inode): Fix debugfs message so it is the same
387 for when compiled under either Linux 2.2 or 2.3. This
388 allows for the f_swapfs regression test suite to work
389 regardless of which OS e2fsprogs was compiled on.
390
Theodore Ts'o657cb971999-07-30 23:19:10 +00003911999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu>
392
393 * Release of E2fsprogs 1.15
394
Theodore Ts'ob41d3601999-06-25 15:32:37 +00003951999-06-23 <tytso@valinux.com>
396
397 * debugfs.c (dump_inode): Add compatibility for Linux 2.3 kernels
398 that use i_generation instead of i_version. Patch
399 supplied by Jon Bright <sircus@sircus.demon.co.uk>.
400
Theodore Ts'oce5ee991999-02-19 18:56:43 +00004011999-02-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
402
403 * icheck.c (do_icheck): Check to make sure the inode has valid
404 blocks before iterating over that inode's blocks.
405
Theodore Ts'o9e51eca1999-01-09 16:32:31 +00004061999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
407
408 * Release of E2fsprogs 1.14
409
Theodore Ts'o556ad131998-12-19 08:10:58 +00004101998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
411
412 * Release of E2fsprogs 1.13
413
Theodore Ts'odba838b1998-12-04 06:15:12 +00004141998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu>
415
416 * Makefile.in: Updated dependencies.
417
Theodore Ts'o91d6d481998-08-01 01:03:39 +00004181998-07-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
419
420 * debugfs.c (do_stat, do_clri): Fix bug where debugfs wasn't
421 displaying the error message if ext2fs_read_inode() failed.
422 (do_rm): Fix similar problem for call to ext2fs_namei().
423
Theodore Ts'o4a5fa191998-07-09 05:42:45 +00004241998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
425
426 * Release of E2fsprogs 1.12
427
Theodore Ts'o818180c1998-06-27 05:11:14 +00004281998-06-27 Theodore Ts'o <tytso@rsts-11.mit.edu>
429
430 * debugfs.c: Add a -V option which displays the current version.
431
Theodore Ts'o7e44f241998-04-01 03:16:29 +00004321998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
433
434 * Makefile.in: Change to use new installation directory variables
435 convention. Fix installdirs and uninstall rules to reflect
436 the fact that debugfs has been installed in the root
437 filesystem. Fix uninstall rules to take $(DESTDIR) into
438 account.
439
Theodore Ts'o4a31c481998-03-30 01:27:25 +00004401998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
441
442 * debugfs.h: Add declaration for do_dirty_filsys() to prevent
443 -Wall warnings.
444
445 * debugfs.c (copy_file):
446 * dump.c (dump_file): Fix -Wall warning caused by
447 signed/unsigned mismatch.
448
Theodore Ts'o36a43d61998-03-24 16:17:51 +00004491998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu>
450
451 * debugfs.c, ls.c, lsdel.c: Add support for large files. (The
452 high 32 bits share space with the i_dir_acl field.)
453
Theodore Ts'occe382b1998-03-09 13:07:09 +0000454Sun Mar 8 22:53:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
455
456 * ls.c (list_dir_proc): Mask off high 8 bits from
457 dirent->name_len.
458
Theodore Ts'o5be8dc21997-12-01 18:24:10 +0000459Mon Dec 1 13:21:09 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
460
461 * Makefile.in: Install debugfs in /sbin, instead of /usr/sbin.
462
Theodore Ts'o5a513841997-10-25 22:41:14 +0000463Sat Oct 25 18:35:30 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
464
465 * debugfs.c (copy_file), dump.c (dump_file): Change to use the new
466 fileio primitives in libext2.
467
Theodore Ts'of1304811997-10-25 03:51:53 +0000468Fri Oct 24 23:47:43 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
469
470 * debugfs.c (main, do_open_filesys):
471 * dump.c (do_dump): Make the variable which getopt returns into be
472 an int, so that it won't lose on platforms where char is
473 unsigned.
474
Theodore Ts'ob4ac9cc1997-10-15 01:54:48 +0000475Tue Oct 14 21:50:24 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
476
477 * debugfs.c (main): When printing a usage message, have main
478 return 1 (instead of not specifying a return value, bad!)
479
Theodore Ts'oa8859ca1997-09-16 02:08:28 +0000480Mon Sep 15 22:03:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
481
482 * debugfs.c (main): Fix declaration of main so that it returns an int.
483
Theodore Ts'o024996c1997-06-17 05:38:35 +0000484Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
485
486 * Release of E2fsprogs 1.11
487
Theodore Ts'o583ccdc1997-05-09 03:06:31 +0000488Thu May 8 23:05:40 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
489
490 * debugfs.8.in: Fix minor typos and grammer oops found by Bill
491 Hawes (whawes@star.net).
492
Theodore Ts'oa29f4d31997-04-29 21:26:48 +0000493Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
494
495 * Release of E2fsprogs version 1.10
496
497Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
498
499 * Release of E2fsprogs version 1.09
500
Theodore Ts'o2ecc6fe1997-04-29 17:57:00 +0000501Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
502
503 * Release of E2fsprogs version 1.08
504
Theodore Ts'o521e3681997-04-29 17:48:10 +0000505Thu Apr 10 14:36:05 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
506
507 * ls.c: New file which implements the ls command. Added the -l
508 option.
509
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000510Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
511
512 * Release of E2fsprogs version 1.07
513
514Wed Jan 1 23:53:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
515
516 * lsdel.c (do_lsdel): Use time_to_string() instead of ctime().
517
518Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
519
520 * Release of E2fsprogs version 1.06
521
Theodore Ts'o5c576471997-04-29 15:29:49 +0000522Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
523
524 * Release of E2fsprogs version 1.05
525
Theodore Ts'ofc6d9d51997-04-29 14:51:31 +0000526Mon Sep 9 23:05:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
527
528 * debugfs.c (unlink_file_by_name): If unlinking a file with a
529 directory path, correctly replace the slash with a NULL.
530 (do_show_debugfs_params): Don't try to print the open mode
531 if there's no filesystem opened (since that will cause a
532 core dump).
533 (main): Fix usage string; the -w and device elements are
534 independently optional.
535
536Tu Sep 3 15:09:39 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
537
538 * debugfs.c (main): Added -f option to debugfs, which takes a
539 command file of debugfs commands and executes them.
540
541Sat Aug 31 01:18:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
542
543 * debugfs.8.in: Heavily edited and improved manual page.
544
545 * dump.c (dump_file): Improve the write function for writing out
546 the file, so that it is limited to the actual size of the
547 file, instead of outputing the nulls following the EOF.
548 Make sure dump_file does the right thing for files with holes.
549 (do_dump): Add support for the -p option to the dump
550 command, which attempts to preserve the owner and
551 permissions field.
552
553Fri Aug 30 14:56:59 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
554
555 * debugfs.c (main): Add -R option to debugfs, which allows it to
556 take a single debugfs command on the command line.
557
558Fri Aug 9 09:03:31 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
559
560 * debugfs.c (do_open_filesys): Set optind to 0 to reset getopt(),
561 to be complete correct.
562 (do_show_super_stats): Print OS type, volume label, last
563 mounted directory, and UUID.
564 (dump_inode): Print the fragment information in a
565 filesystem independent way.
566 (do_modify_inode): Modify the fragement information in a
567 filesystem independent way.
568
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000569Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
570
571 * Release of E2fsprogs version 1.04
572
573Wed May 3 20:41:26 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
574
575 * debugfs.c (dump_inode): Correctly print the translator on the hurd.
576 (do_modify_inode): Modify the translator block on the hurd.
577
Theodore Ts'o7f88b041997-04-26 14:48:50 +0000578Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu>
579
580 * Release of E2fsprogs version 1.03
581
Theodore Ts'o74becf31997-04-26 14:37:06 +0000582Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
583
584 * Release of E2fsprogs version 1.02
585
586Fri Dec 1 22:42:31 1995 <tytso@rsts-11.mit.edu>
587
588 * Makefile.in (LIBS): Rearrange the order of the libraries to be
589 linked, so that -lext2fs is before -lcom_err.
590
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000591Thu Oct 26 12:05:06 1995 <tytso@rsts-11.mit.edu>
592
593 * Makefile.in (install): Strip programs when they are installed.
594
595Fri Aug 18 15:09:08 1995 Theodore Y. Ts'o <tytso@dcl>
596
597 * debugfs.c (do_find_free_block): Fix typo in code which checked
598 to see if the usage message should be printed.
599
600Thu Aug 17 22:55:58 1995 <tytso@rsts-11.mit.edu>
601
602 * debugfs.c (do_open_filesys): Change to always set optreset to 1,
603 to make BSD getopt()'s happy. Also set optind to 1, which
604 should make more getopt()'s happy.
605
606Fri Aug 11 08:45:01 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
607
608 * debugfs.c (do_find_free_block, do_find_free_inode): Fix bug in
609 the usage handling where "ffi ?" or "ffb ?" would
610 dereference a NULL pointer.
611
612Fri Aug 11 14:21:07 1995 Remy Card <card@bbj>
613
614 * debugfs.8: Updated date and version number.
615
616Thu Aug 10 14:28:50 1995 Remy Card <card@bbj>
617
618 * debugfs.8: Fixed a spelling error in Ted's name :-)
619
620Mon Jun 12 19:08:25 1995 Theodore Y. Ts'o (tytso@dcl)
621
622 * debugfs.c, ncheck.c, icheck.c, lsdel.c, dump.c: Include
623 <errno.h> (if it exists)
624
625 * debugfs.c, dump.c, icheck.c, lsdel.c, ncheck.c: Don't include
626 <getopt.h> if it doesn't exist.
627
628Sun Jun 11 15:21:07 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
629
630 * ncheck.c (do_ncheck): Use LINUX_S_ISDIR instead of S_ISDIR
631
632 * debugfs.c: Implement the mknod and write commands (from Linus).
633
634 Change names of modify_char, modify_short, and modify_long
635 to be modify_u8, modify_u16, and modify_u32, respectively.
636
637Thu Jun 8 12:29:15 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
638
639 * debugfs.c (dump_inode): Only print out inode frag fields if
640 HAVE_EXT2_FRAGS is defined (by configure). Don't print out the
641 reserved field at all for now.
642
643 * Makefile.in: Rewritten to conform to GNU coding standards and
644 support separate compilation directories.
645
Theodore Ts'o6f4a1091997-04-26 13:32:25 +0000646Thu Nov 24 17:46:23 1994 Theodore Y. Ts'o (tytso@rt-11)
647
648 * dump.c: Added two new commands, "dump" and "cat", which allow
649 the user to dump the contents of an inode to a file or to
650 stdout, respectively.
651
652