blob: ac5cab1e13495830005685fde9a675044ed1864a [file] [log] [blame]
Theodore Ts'oed909bb2002-08-16 17:03:59 -040012002-08-16 Theodore Ts'o <tytso@mit.edu>
2
3 * icheck.c (do_icheck): Check to see if the block is listed as
4 part of the extended attribute block.
5
Theodore Ts'o155f5772002-07-21 14:17:45 -040062002-07-21 Theodore Ts'o <tytso@mit.edu>
7
8 * htree.c (do_htree_dump): Fix a bug where we were not cleanly
9 closing the pager after errors, which would leave the
10 tty in noecho mode.
11
Theodore Ts'o621732c2002-07-18 22:19:51 -0400122002-07-18 Theodore Ts'o <tytso@mit.edu>
13
14 * htree.c (htree_dump_int_node): Add byte swapping code sot that
15 the htree dump function works on a big-endian machine.
16
Theodore Ts'o34be9602002-07-15 16:56:41 -0400172002-07-15 Theodore Ts'o <tytso@mit.edu>
18
19 * debugfs.c (do_show_super_stats): Calculate and print the number
20 of directories on a filesystem --- because we can and
21 because it can be useful.
22
Theodore Ts'od7f64ae2002-07-09 01:27:05 -0400232002-07-09 Theodore Ts'o <tytso@mit.edu>
24
25 * debugfs.c (do_rmdir), debugfs.8.in: Implement the rmdir command.
26 Addresses Debian bug #138003.
27
Theodore Ts'o503f9e72002-06-26 16:52:10 -0400282002-06-26 Theodore Ts'o <tytso@mit.edu>
29
30 * htree.c (do_dx_hash): Use new ext2fs_dirhash function signature.
31 Add getopt support so user can specify the hash version.
32
Theodore Ts'ob38cd282002-05-11 22:13:20 -0400332002-05-11 <tytso@snap.thunk.org>
34
35 * debug_cmds.ct, debugfs.c (do_bmap): Add new command "bmap" which
36 calculates the logical->physical block mapping for an
37 inode.
38
39 * debugfs.c (do_init_filsys, main), util.c
40 (common_block_args_process): Fix bad calling parameter
41 order when calling parse_ulong. This broke the -b and -s
42 options to debugfs, as well as do_init, and the testb,
43 setb, clearb functions.
44
Theodore Ts'oe5b3b272002-04-01 15:42:21 -0500452002-04-01 <tytso@snap.thunk.org>
46
47 * util.c (parse_ulong): Fix typo which cases parse_ulong to
48 coredump if the err variable is filled in (for example, if
49 the -b or -s options are passed to the debugfs's
50 command-line invocation).
51
Theodore Ts'o52783e02002-03-11 15:04:45 -0500522002-03-11 Theodore Tso <tytso@mit.edu>
53
Theodore Ts'of9190c82002-03-12 01:05:06 -050054 * ls.c (list_dir_proc): Fix bug: ls -l fails to print the file
55 type correctly if running on big-endian systems.
56
Theodore Ts'o52783e02002-03-11 15:04:45 -050057 * htree.c (htree_dump_leaf_node): Use the ext2_dirhash function
58 instead of a local static function.
59
Theodore Ts'oa8e77242002-03-08 03:12:14 -0500602002-03-08 Theodore Tso <tytso@mit.edu>
61
62 * Release of E2fsprogs 1.27
63
Theodore Ts'o3f830202002-03-07 02:56:53 -0500642002-03-07 <tytso@snap.thunk.org>
65
66 * ls.c (list_dir_proc): Fix typo in debugfs which was causing a
67 compiler warning.
68
Theodore Ts'o7380ac92002-03-05 01:57:53 -0500692002-03-05 Theodore Tso <tytso@mit.edu>
70
71 * lsdel.c (do_lsdel): lsdel uses the pager to print out the list
72 of potentially deleted inode. Thanks to Jaroslav Drzik
73 <jdrzik@host.sk> for suggesting this enhancement.
74
75 * debugfs.c (do_modify_inode): Fix bug which caused modify_inode
76 to core dump if a fliesystem isn't open. Thanks to
77 Jaroslav Drzik <jdrzik@host.sk> for finding and reporting
78 the bug and his proposed fix.
79
Theodore Ts'ofa7c3022002-02-26 17:13:12 -0500802002-02-26 Theodore Tso <tytso@mit.edu>
81
82 * ls.c (list_dir_proc): When listing the directory entry in long
83 format, include the file type of the directory entry in
84 parenthesis.
85
Theodore Ts'o57173d02002-02-26 14:59:39 -0500862002-02-25 Theodore Tso <tytso@mit.edu>
Theodore Ts'odf614db2002-02-25 04:28:45 -050087
88 * util.c (open_pager): If the PAGER environment is set to __none__
89 then don't use a pager at all, and ship it all to stdout.
90
91 * Makefile.in, debug_cmds.ct, htree.c: Add new file htree.c, which
92 implements the three new commands, htree_dump, dx_hash,
93 and dirsearch.
94
Theodore Ts'o57173d02002-02-26 14:59:39 -0500952002-02-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'ob9f40922002-02-24 03:08:57 -050096
97 * Makefile.in (install): Remove any compressed man pages before
98 installing the man pages.
99
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -05001002002-02-03 Theodore Tso <tytso@thunk.org>
101
102 * Release of E2fsprogs 1.26
103
Theodore Ts'o57173d02002-02-26 14:59:39 -05001042002-01-03 Theodore Tso <tytso@mit.edu>
Theodore Ts'oe1018ee2002-01-03 04:55:25 -0500105
106 * lsdel.c (do_lsdel): New optional argument which allows the user
107 to only see the most recently deleted files.
108
109 * debugfs.c (do_undel, do_testb, do_freeb, do_setb, do_ffb): Add
110 new command, undelete, which automates undeleting a
111 deleted inode and linking it back to a directory. Add a
112 count argument to the testb, freeb, setb, and ffb commands.
113
114 * ls.c (list_dir_proc, do_list_dir): Add support for -d option
115 which lists deleted directory entries.
116
117 * debug_cmds.ct: Add new command, undelete.
118
119 * dump.c, icheck.c, logdump.c, ls.c, lsdel.c, setsuper.c,
120 debugfs.c: Use new utility functions which factor out
121 commonly used code.
122
123 * util.c (debugfs_read_inode, debugfs_write_inode,
124 common_block_args_process, common_inode_args_process,
125 common_args_process, strtoblk, parse_ulong): New
126 functions which factor out commonly used code into
127 subroutines for ease of maintenance and to make the
128 executable size smaller.
129
Theodore Ts'o57173d02002-02-26 14:59:39 -05001302001-12-23 Theodore Tso <tytso@mit.edu>
Theodore Ts'o19007e52001-12-23 19:33:51 -0500131
132 * Makefile.in, jfs_user.h: Move linux/jbd.h to
133 ext2fs/kernel-jbd.h, to avoid using the system header
134 file version of hbd.h when using diet glibc (since it
135 forcibly adds /usr/include to the beginning of the
136 include search path.)
137
Theodore Ts'o57173d02002-02-26 14:59:39 -05001382001-12-22 Theodore Tso <tytso@mit.edu>
Theodore Ts'o34436892001-12-22 13:06:02 -0500139
140 * debugfs.c (kill_file_by_inode, release_blocks_proc): Update the
141 group descriptor free block and inode counts when deleting
142 or killing a file.
143
Theodore Ts'o57173d02002-02-26 14:59:39 -05001442001-12-16 Theodore Tso <tytso@mit.edu>
Theodore Ts'o8cf93332001-12-16 02:23:36 -0500145
Theodore Ts'o4ea7bd02001-12-16 23:23:37 -0500146 * setsuper.c (print_possible_fields),
147 logdump.c (dump_journal): Fix gcc -Wall nits
148
Theodore Ts'o8cf93332001-12-16 02:23:36 -0500149 * Makefile.in, jfs_user.h: linux/jfs.h has been renamed to
150 linux/jbd.h
151
Theodore Ts'o57173d02002-02-26 14:59:39 -05001522001-12-02 Theodore Tso <tytso@mit.edu>
Theodore Ts'o571fc5a2001-12-02 17:23:27 +0100153
154 * util.c (close_pager): Use pclose() instead of fclose() when
155 closing the pager stream.
156
Theodore Ts'o57173d02002-02-26 14:59:39 -05001572001-11-30 Theodore Tso <tytso@mit.edu>
Theodore Ts'oe8981882001-11-30 11:51:30 +0100158
159 * debugfs.c (finish_range, dump_blocks): Fixed bug in Andreas's >
160 2GB support changes: you need to use %lld when printf'ing
161 an long long variable.
162
Theodore Ts'o57173d02002-02-26 14:59:39 -05001632001-11-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'o6e96adc2001-11-24 16:10:52 -0500164
165 * debugfs.8.in: Update manual page to document the set_super_value
166 and logdump commands, and move the "specifying files"
167 section closer to the beginning of the man page so people
168 won't miss it.
169
170 * setsuper.c (print_possible_fields): "set_super_value -l" now
171 prints out the list of valid superblock fields which the
172 ssv command can set.
173
Theodore Ts'ofbf91112001-09-20 10:47:47 -04001742001-09-20 Theodore Tso <tytso@thunk.org>
175
176 * Release of E2fsprogs 1.25
177
Theodore Ts'ofb707752001-09-04 15:00:37 -04001782001-09-02 Theodore Tso <tytso@thunk.org>
179
180 * Release of E2fsprogs 1.24a
181
Theodore Ts'o109624a2001-08-31 00:59:55 -04001822001-08-30 Theodore Tso <tytso@thunk.org>
183
184 * Release of E2fsprogs 1.24
185
Theodore Ts'o0f8973f2001-08-27 12:44:23 -04001862001-08-27 Theodore Tso <tytso@valinux.com>
187
188 * debugfs.c (main): Remove EXT2FS_VERSION from the version
189 display, since it only confuses people.
190
Theodore Ts'o943ed872001-08-27 12:29:22 -04001912001-08-15 Theodore Tso <tytso@valinux.com>
192
193 * Release of E2fsprogs 1.23
194
Theodore Ts'o5faba3a2001-08-12 03:38:51 -04001952001-08-12 Theodore Tso <tytso@valinux.com>
196
197 * logdump.c (do_logdump, dump_journal): Add support for dumping
198 external journals.
199
Theodore Ts'o67960132001-06-23 00:16:37 -04002002001-06-23 Theodore Tso <tytso@valinux.com>
201
202 * Release of E2fsprogs 1.22
203
Theodore Ts'of4f75ba2001-06-16 01:14:28 +00002042001-06-15 Theodore Tso <tytso@valinux.com>
205
206 * Release of E2fsprogs 1.21
207
Theodore Ts'o364a3732001-06-13 23:46:39 +00002082001-06-13 Theodore Tso <tytso@valinux.com>
209
210 * setsuper.c: Add s_lastcheck field to the fields which can be
211 modified using set_super_value. (Suggested by Andreas
212 Dilger)
213
Theodore Ts'ob7846402001-06-03 23:27:56 +00002142001-06-03 Theodore Tso <tytso@valinux.com>
215
216 * debugfs.c (copy_file): Fixed signed vs unsigned bug which causes
217 read errors to not be noticed.
218
Theodore Ts'o4bb0c042001-06-01 15:22:38 +00002192001-06-01 Theodore Tso <tytso@valinux.com>
220
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000221 * Makefile.in: Move include/asm/types.h.in to
Theodore Ts'o36a23e12001-06-02 00:54:10 +0000222 lib/ext2fs/ext2_types.h.in.
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000223
Theodore Ts'o5e4f0702001-06-01 15:36:05 +0000224 * debugfs.c, debugfs.h, logdump.c: Fix various gcc -Wall nitpicks.
225
Theodore Ts'o4bb0c042001-06-01 15:22:38 +0000226 * logdump.c (read_journal_block): Replace pread with lseek/read
227 combination.
228
Theodore Ts'obb185862001-05-25 17:35:00 +00002292001-05-25 Theodore Tso <tytso@valinux.com>
230
231 * Release of E2fsprogs 1.20
232
Theodore Ts'o54c637d2001-05-14 11:45:38 +00002332001-05-14 Theodore Tso <tytso@valinux.com>
234
235 * debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
236
Theodore Ts'o777ebb32001-05-13 02:45:15 +00002372001-05-12 Theodore Tso <tytso@valinux.com>
238
239 * debugfs.c (print_features): Use fputs instead of printf to
240 output using the passed-in FILE *.
241
Theodore Ts'o085cb192001-05-09 06:09:12 +00002422001-05-09 Theodore Tso <tytso@valinux.com>
243
244 * debugfs.c (do_write, do_mknod): Set the file type information
245 when creating the inode.
246
Theodore Ts'o59cf7e02001-05-03 15:05:55 +00002472001-05-03 Theodore Tso <tytso@valinux.com>
248
249 * debugfs.c (do_open_filesys, main): Add -i option which will
250 allow debugfs to examine ext2 image files.
251
Theodore Ts'oda81e3f2001-03-29 20:49:58 +00002522001-03-29 Theodore Tso <tytso@valinux.com>
253
254 * debugfs.c (dump_blocks, dump_inode, internal_dump_inode): Add
255 internal_dump_inode() interface for the logdump command.
256
257 * logdump.c: Imported code from Stephen Tweedie to dump the ext3
258 journal.
259
Theodore Ts'o0a24c002001-03-18 18:16:18 +00002602001-03-18 Theodore Tso <tytso@valinux.com>
261
262 * debugfs.c (do_write, do_mknod): Remove extra (useless) call to
263 ext2fs_write_inode.
264
Theodore Ts'ob74d1d82001-01-12 17:23:52 +00002652001-01-12 Theodore Ts'o <tytso@valinux.com>
266
Theodore Ts'o426d7342001-01-13 01:29:05 +0000267 * setsuper.c: Cleaned up some random whitespace problems.
268
269 * debugfs.h, debugfs.c (do_show_super_stats): Use full words
Theodore Ts'ob74d1d82001-01-12 17:23:52 +0000270 instead of pluralism hack to make I18N conversion easier.
271 Clean up gcc -Wall complaints.
272
Theodore Ts'ob044c2e2001-01-11 15:26:39 +00002732001-01-11 <tytso@snap.thunk.org>
274
275 * debugfs.c, debugfs.h, dump.c, icheck.c, ls.c, lsdel.c, ncheck.c,
276 setsuper.c, util.c: Change ino_t to ext2_ino_t. Fix a few
277 minor gcc-wall complaints while we're at it.
278
Theodore Ts'o5dd8f962001-01-01 15:51:50 +00002792001-01-01 <tytso@snap.thunk.org>
280
281 * debugfs.c Replace use of struct ext2fs_sb with struct
282 ext2_super_block.
283
Theodore Ts'o3db93052000-12-30 20:26:31 +00002842000-12-30 <tytso@snap.thunk.org>
285
Theodore Ts'oc5de1d42000-12-31 01:39:54 +0000286 * dump.c (fix_perms): Fix bug for systems which don't have fchown;
287 was incorrectly using chmod instead of chown.
288
Theodore Ts'o3db93052000-12-30 20:26:31 +0000289 * setsuper.c (find_field): Strip the s_prefix if given for ssv
Theodore Ts'oc5de1d42000-12-31 01:39:54 +0000290 fields. Remove hard-coded s_ from inode_size
291 field. (Suggested by Andreas Dilger)
Theodore Ts'o3db93052000-12-30 20:26:31 +0000292
293 * debugfs.c (do_modify_inode): Add the ability to set the inode
294 generation number. (Suggested by Andreas Dilger)
295
Theodore Ts'o9131a752000-08-23 04:36:25 +00002962000-08-23 <tytso@valinux.com>
297
298 * util.c (string_to_inode): Use strtoul instead of atoi, so that
299 hex inode numbers will be accepted.
300
Theodore Ts'o2c4a5402000-08-19 17:33:28 +00003012000-08-19 <tytso@valinux.com>
302
303 * util.c (open_pager): Set SIGPIPE to be ignored, so that quitting
304 out of the pager doesn't blow away debugfs.
305
Theodore Ts'o0a3db932000-08-14 17:06:05 +00003062000-08-14 <tytso@valinux.com>
307
Theodore Ts'obd09eff2000-08-14 20:39:17 +0000308 * debugfs.c (do_show_super_stats): Use list_super2() instead of
309 using explicit printf statements. (We get a more complete
310 printout this way.)
311
Theodore Ts'oc6bd0c92000-08-14 20:37:09 +0000312 * util.c (open_pager): If the PAGER environment variable is not
313 set, default to using "more".
314
315 * setsuper.c: New function which implements the set_super_value
316 command. Allows the user to set arbitrary superblock
317 fields.
318
Theodore Ts'o0a3db932000-08-14 17:06:05 +0000319 * debugfs.c (dump_inode): Cap the length when printing a fast
320 symbolic link to inode.i_size.
321 (list_blocks_proc): Print block ranges (4510-4533) to make
322 the stat output easier to read.
323
Theodore Ts'oa5eef732000-08-14 15:47:15 +00003242000-06-27 Andreas Dilger <adilger@turbolabs.com>
325
326 * debugfs.c (list_blocks_proc): show relative inode block numbers
327 and/or indirect block status
328
Theodore Ts'of9e67062000-07-13 23:25:54 +00003292000-07-13 <tytso@valinux.com>
330
331 * Release of E2fsprogs 1.19
332
Theodore Ts'o14197172000-07-05 17:48:34 +00003332000-07-05 Theodore Ts'o <tytso@valinux.com>
334
335 * debugfs.c (dump_inode): Make the generation field be printed as
336 an unsigned integer.
337
Theodore Ts'o619dd192000-07-04 12:37:55 +00003382000-07-04 <tytso@snap.thunk.org>
339
340 * Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the
341 mk_cmds support files from the source tree.
342
Theodore Ts'oee753092000-06-09 04:24:36 +00003432000-06-09 <tytso@snap.thunk.org>
344
345 * lsdel.c (do_lsdel): Handle bad bad blocks in inode table.
346
Theodore Ts'od61f6172000-05-27 16:04:00 +00003472000-05-27 Theodore Ts'o <tytso@valinux.com>
348
349 * debugfs.c (do_testb, do_testi): Call check_fs_bitmaps to avoid
350 coredumping if the bitmaps aren't loaded.
351
352 * util.c (check_fs_bitmaps): New function which checks whether or
353 not the bitmaps are loaded.
354
Theodore Ts'o2e8d40d2000-05-27 15:15:40 +00003552000-05-23 Aaron Crane <aaronc@pobox.com>
356
357 * debugfs.8.in: Documented new behaviour.
358
359 * ls.c (ls_l_file): Fix Y2K bug -- was printing 22-May-100 for
360 recent files. Switched to 4-digit years.
361
362 * dump.c, debug_cmds.ct (do_rdump): Add new debugfs command
363 "rdump", which recursively dumps a directory and its
364 contents.
365 (fix_perms): New function. Break permission-fixing
366 code out of dump_file() so it can be called by rdump
367 code as well.
368 (dump_file): Call fix_perms().
369
370 * debugfs.c, debug_cmds.ct (do_lcd): Add new debugfs command
371 "lcd", which changes the cwd on the native filesystem.
372
373 * debugfs.c (open_filesystem): Extra args for superblock,
374 blocksize, and catastrophic mode. Changed callers.
375 (do_open_filesys, main): Accept new -b, -s, -c options
376 for open_filesystem.
377
Theodore Ts'o80e808f2000-02-02 16:19:59 +00003782000-02-02 Theodore Ts'o <tytso@valinux.com>
379
380 * debugfs.c (dump_inode): Remove #ifdef for i_version
381 vs. i_generation since we know it will always be
382 i_generation now.
383
Theodore Ts'o77200f42000-01-18 17:53:27 +00003842000-01-18 Theodore Ts'o <tytso@valinux.com>
385
Theodore Ts'oe5973042000-01-18 17:58:34 +0000386 * debugfs.c (main): Use return instead of exit at the end of main
387 to avoid some compiler warnings.
388
Theodore Ts'o77200f42000-01-18 17:53:27 +0000389 * Makefile.in: Since LIBUUID can sometimes include
390 "-lsocket" we need a separate DEPLIBUUID that can be used
391 in Makefile's dependency rules.
392
Theodore Ts'o5c36a2f1999-11-19 18:42:30 +00003931999-11-19 <tytso@valinux.com>
394
395 * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
396 the source directory.
397
Theodore Ts'ocd086361999-11-10 16:00:39 +00003981999-11-10 <tytso@valinux.com>
399
400 * Release of E2fsprogs 1.18
401
Theodore Ts'o643efb81999-11-08 19:27:13 +00004021999-11-08 <tytso@valinux.com>
403
404 * icheck.c (do_icheck):
405 * ncheck.c (do_ncheck): If ext2fs_open_inode_scan() returns
406 EXT2_ET_BAD_BLOCK_IN_INODE_TABLE loop to skip over the bad
407 blocks in the inode table.
408
Theodore Ts'of68aa411999-10-26 14:20:22 +00004091999-10-26 <tytso@valinux.com>
410
Theodore Ts'o28e11941999-10-26 18:17:20 +0000411 * Release of E2fsprogs 1.17
412
4131999-10-26 <tytso@valinux.com>
414
Theodore Ts'of68aa411999-10-26 14:20:22 +0000415 * debugfs.h: Add declaration for do_features()
416
417 * debugfs.c: Add #incldue of e2p.h to fix gcc warnings.
418
Theodore Ts'o601002b1999-10-26 02:06:39 +00004191999-10-25 <tytso@valinux.com>
420
421 * debugfs.c (do_dirty_filesys): Make the "dirty" command clear the
422 valid bit on the superblock. (And with a -clean option to
423 set the valid bit.) Originally it was used just to set
424 the "needs to be written" bit in the in-core version of
425 the fs structure.
426
Theodore Ts'o614fdfd1999-10-23 03:19:51 +00004271999-10-22 <tytso@valinux.com>
428
429 * Release of E2fsprogs 1.16
430
Theodore Ts'od3aea7d1999-09-14 20:55:37 +00004311999-09-07 <tytso@rsts-11.mit.edu>
432
433 * debugfs.c, debug_cmds.ct: Add new debugfs command "feature"
434 which allows the user to set or clear filesystme features.
435 Add the -f (force) option to the open command. Add the
436 -h (superblock header only) option to the stats command.
437
Theodore Ts'o55376d81999-07-31 00:32:57 +00004381999-07-30 <tytso@rsts-11.mit.edu>
439
440 * debugfs.c (dump_inode): Fix debugfs message so it is the same
441 for when compiled under either Linux 2.2 or 2.3. This
442 allows for the f_swapfs regression test suite to work
443 regardless of which OS e2fsprogs was compiled on.
444
Theodore Ts'o657cb971999-07-30 23:19:10 +00004451999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu>
446
447 * Release of E2fsprogs 1.15
448
Theodore Ts'ob41d3601999-06-25 15:32:37 +00004491999-06-23 <tytso@valinux.com>
450
451 * debugfs.c (dump_inode): Add compatibility for Linux 2.3 kernels
452 that use i_generation instead of i_version. Patch
453 supplied by Jon Bright <sircus@sircus.demon.co.uk>.
454
Theodore Ts'oce5ee991999-02-19 18:56:43 +00004551999-02-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
456
457 * icheck.c (do_icheck): Check to make sure the inode has valid
458 blocks before iterating over that inode's blocks.
459
Theodore Ts'o9e51eca1999-01-09 16:32:31 +00004601999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
461
462 * Release of E2fsprogs 1.14
463
Theodore Ts'o556ad131998-12-19 08:10:58 +00004641998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
465
466 * Release of E2fsprogs 1.13
467
Theodore Ts'odba838b1998-12-04 06:15:12 +00004681998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu>
469
470 * Makefile.in: Updated dependencies.
471
Theodore Ts'o91d6d481998-08-01 01:03:39 +00004721998-07-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
473
474 * debugfs.c (do_stat, do_clri): Fix bug where debugfs wasn't
475 displaying the error message if ext2fs_read_inode() failed.
476 (do_rm): Fix similar problem for call to ext2fs_namei().
477
Theodore Ts'o4a5fa191998-07-09 05:42:45 +00004781998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
479
480 * Release of E2fsprogs 1.12
481
Theodore Ts'o818180c1998-06-27 05:11:14 +00004821998-06-27 Theodore Ts'o <tytso@rsts-11.mit.edu>
483
484 * debugfs.c: Add a -V option which displays the current version.
485
Theodore Ts'o7e44f241998-04-01 03:16:29 +00004861998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
487
488 * Makefile.in: Change to use new installation directory variables
489 convention. Fix installdirs and uninstall rules to reflect
490 the fact that debugfs has been installed in the root
491 filesystem. Fix uninstall rules to take $(DESTDIR) into
492 account.
493
Theodore Ts'o4a31c481998-03-30 01:27:25 +00004941998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
495
496 * debugfs.h: Add declaration for do_dirty_filsys() to prevent
497 -Wall warnings.
498
499 * debugfs.c (copy_file):
500 * dump.c (dump_file): Fix -Wall warning caused by
501 signed/unsigned mismatch.
502
Theodore Ts'o36a43d61998-03-24 16:17:51 +00005031998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu>
504
505 * debugfs.c, ls.c, lsdel.c: Add support for large files. (The
506 high 32 bits share space with the i_dir_acl field.)
507
Theodore Ts'occe382b1998-03-09 13:07:09 +0000508Sun Mar 8 22:53:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
509
510 * ls.c (list_dir_proc): Mask off high 8 bits from
511 dirent->name_len.
512
Theodore Ts'o5be8dc21997-12-01 18:24:10 +0000513Mon Dec 1 13:21:09 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
514
515 * Makefile.in: Install debugfs in /sbin, instead of /usr/sbin.
516
Theodore Ts'o5a513841997-10-25 22:41:14 +0000517Sat Oct 25 18:35:30 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
518
519 * debugfs.c (copy_file), dump.c (dump_file): Change to use the new
520 fileio primitives in libext2.
521
Theodore Ts'of1304811997-10-25 03:51:53 +0000522Fri Oct 24 23:47:43 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
523
524 * debugfs.c (main, do_open_filesys):
525 * dump.c (do_dump): Make the variable which getopt returns into be
526 an int, so that it won't lose on platforms where char is
527 unsigned.
528
Theodore Ts'ob4ac9cc1997-10-15 01:54:48 +0000529Tue Oct 14 21:50:24 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
530
531 * debugfs.c (main): When printing a usage message, have main
532 return 1 (instead of not specifying a return value, bad!)
533
Theodore Ts'oa8859ca1997-09-16 02:08:28 +0000534Mon Sep 15 22:03:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
535
536 * debugfs.c (main): Fix declaration of main so that it returns an int.
537
Theodore Ts'o024996c1997-06-17 05:38:35 +0000538Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
539
540 * Release of E2fsprogs 1.11
541
Theodore Ts'o583ccdc1997-05-09 03:06:31 +0000542Thu May 8 23:05:40 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
543
544 * debugfs.8.in: Fix minor typos and grammer oops found by Bill
545 Hawes (whawes@star.net).
546
Theodore Ts'oa29f4d31997-04-29 21:26:48 +0000547Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
548
549 * Release of E2fsprogs version 1.10
550
551Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
552
553 * Release of E2fsprogs version 1.09
554
Theodore Ts'o2ecc6fe1997-04-29 17:57:00 +0000555Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
556
557 * Release of E2fsprogs version 1.08
558
Theodore Ts'o521e3681997-04-29 17:48:10 +0000559Thu Apr 10 14:36:05 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
560
561 * ls.c: New file which implements the ls command. Added the -l
562 option.
563
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000564Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
565
566 * Release of E2fsprogs version 1.07
567
568Wed Jan 1 23:53:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
569
570 * lsdel.c (do_lsdel): Use time_to_string() instead of ctime().
571
572Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
573
574 * Release of E2fsprogs version 1.06
575
Theodore Ts'o5c576471997-04-29 15:29:49 +0000576Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
577
578 * Release of E2fsprogs version 1.05
579
Theodore Ts'ofc6d9d51997-04-29 14:51:31 +0000580Mon Sep 9 23:05:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
581
582 * debugfs.c (unlink_file_by_name): If unlinking a file with a
583 directory path, correctly replace the slash with a NULL.
584 (do_show_debugfs_params): Don't try to print the open mode
585 if there's no filesystem opened (since that will cause a
586 core dump).
587 (main): Fix usage string; the -w and device elements are
588 independently optional.
589
590Tu Sep 3 15:09:39 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
591
592 * debugfs.c (main): Added -f option to debugfs, which takes a
593 command file of debugfs commands and executes them.
594
595Sat Aug 31 01:18:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
596
597 * debugfs.8.in: Heavily edited and improved manual page.
598
599 * dump.c (dump_file): Improve the write function for writing out
600 the file, so that it is limited to the actual size of the
601 file, instead of outputing the nulls following the EOF.
602 Make sure dump_file does the right thing for files with holes.
603 (do_dump): Add support for the -p option to the dump
604 command, which attempts to preserve the owner and
605 permissions field.
606
607Fri Aug 30 14:56:59 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
608
609 * debugfs.c (main): Add -R option to debugfs, which allows it to
610 take a single debugfs command on the command line.
611
612Fri Aug 9 09:03:31 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
613
614 * debugfs.c (do_open_filesys): Set optind to 0 to reset getopt(),
615 to be complete correct.
616 (do_show_super_stats): Print OS type, volume label, last
617 mounted directory, and UUID.
618 (dump_inode): Print the fragment information in a
619 filesystem independent way.
620 (do_modify_inode): Modify the fragement information in a
621 filesystem independent way.
622
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000623Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
624
625 * Release of E2fsprogs version 1.04
626
627Wed May 3 20:41:26 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
628
629 * debugfs.c (dump_inode): Correctly print the translator on the hurd.
630 (do_modify_inode): Modify the translator block on the hurd.
631
Theodore Ts'o7f88b041997-04-26 14:48:50 +0000632Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu>
633
634 * Release of E2fsprogs version 1.03
635
Theodore Ts'o74becf31997-04-26 14:37:06 +0000636Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
637
638 * Release of E2fsprogs version 1.02
639
640Fri Dec 1 22:42:31 1995 <tytso@rsts-11.mit.edu>
641
642 * Makefile.in (LIBS): Rearrange the order of the libraries to be
643 linked, so that -lext2fs is before -lcom_err.
644
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000645Thu Oct 26 12:05:06 1995 <tytso@rsts-11.mit.edu>
646
647 * Makefile.in (install): Strip programs when they are installed.
648
649Fri Aug 18 15:09:08 1995 Theodore Y. Ts'o <tytso@dcl>
650
651 * debugfs.c (do_find_free_block): Fix typo in code which checked
652 to see if the usage message should be printed.
653
654Thu Aug 17 22:55:58 1995 <tytso@rsts-11.mit.edu>
655
656 * debugfs.c (do_open_filesys): Change to always set optreset to 1,
657 to make BSD getopt()'s happy. Also set optind to 1, which
658 should make more getopt()'s happy.
659
660Fri Aug 11 08:45:01 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
661
662 * debugfs.c (do_find_free_block, do_find_free_inode): Fix bug in
663 the usage handling where "ffi ?" or "ffb ?" would
664 dereference a NULL pointer.
665
666Fri Aug 11 14:21:07 1995 Remy Card <card@bbj>
667
668 * debugfs.8: Updated date and version number.
669
670Thu Aug 10 14:28:50 1995 Remy Card <card@bbj>
671
672 * debugfs.8: Fixed a spelling error in Ted's name :-)
673
674Mon Jun 12 19:08:25 1995 Theodore Y. Ts'o (tytso@dcl)
675
676 * debugfs.c, ncheck.c, icheck.c, lsdel.c, dump.c: Include
677 <errno.h> (if it exists)
678
679 * debugfs.c, dump.c, icheck.c, lsdel.c, ncheck.c: Don't include
680 <getopt.h> if it doesn't exist.
681
682Sun Jun 11 15:21:07 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
683
684 * ncheck.c (do_ncheck): Use LINUX_S_ISDIR instead of S_ISDIR
685
686 * debugfs.c: Implement the mknod and write commands (from Linus).
687
688 Change names of modify_char, modify_short, and modify_long
689 to be modify_u8, modify_u16, and modify_u32, respectively.
690
691Thu Jun 8 12:29:15 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
692
693 * debugfs.c (dump_inode): Only print out inode frag fields if
694 HAVE_EXT2_FRAGS is defined (by configure). Don't print out the
695 reserved field at all for now.
696
697 * Makefile.in: Rewritten to conform to GNU coding standards and
698 support separate compilation directories.
699
Theodore Ts'o6f4a1091997-04-26 13:32:25 +0000700Thu Nov 24 17:46:23 1994 Theodore Y. Ts'o (tytso@rt-11)
701
702 * dump.c: Added two new commands, "dump" and "cat", which allow
703 the user to dump the contents of an inode to a file or to
704 stdout, respectively.
705
706