blob: 88583a613fcc74e407b083178f0888ef0c15852f [file] [log] [blame]
Theodore Ts'oed78c022003-03-06 11:09:18 -050012003-03-06 Theodore Tso <tytso@mit.edu>
2
3 * debugfs.c (do_open_filesys, do_show_super_stats),
4 ls.c (do_list_dir), dump.c (do_dump), htree.c (do_htree_dump,
5 do_dx_hash), logdump.c (do_logdump): Reset optind to 1 for better
6 compatibility with non-glibc implementations of getopt.
7
Theodore Ts'of3640932003-03-01 19:47:44 -050082003-03-01 Theodore Ts'o <tytso@mit.edu>
9
10 * Makefile.in, logdump.c (do_logdump): Use the blkid functions to
11 find the external journal device.
12
Theodore Ts'o819157d2003-01-22 18:25:39 -0500132003-01-21 Theodore Ts'o <tytso@mit.edu>
14
15 * dump.c (do_dump): Open the output file with O_LARGEFILE so we
16 can write files larger than 2GB.
17
Theodore Ts'o38513012002-11-09 15:00:56 -0500182002-11-09 Theodore Ts'o <tytso@mit.edu>
19
20 * Release of E2fsprogs 1.32
21
Theodore Ts'oae65b292002-11-08 20:08:48 -0500222002-11-08 Theodore Ts'o <tytso@mit.edu>
23
24 * Release of E2fsprogs 1.31
25
Theodore Ts'o1dd090f2002-10-31 11:53:49 -0500262002-10-31 Theodore Ts'o <tytso@mit.edu>
27
Theodore Ts'o5d823a42002-11-01 02:13:53 -050028 * Release of E2fsprogs 1.30
29
302002-10-31 Theodore Ts'o <tytso@mit.edu>
31
Theodore Ts'o1dd090f2002-10-31 11:53:49 -050032 * debugfs.c (do_write): Check to see if the filename exists before
33 creating it, and give an error if so. Addresses
34 Sourceforge bug #478195.
35
Theodore Ts'o482afc42002-10-31 03:32:34 -0500362002-10-30 Theodore Ts'o <tytso@mit.edu>
37
38 * Makefile.in (install): Search all compression extensions when
39 deleting old man pages.
40
Theodore Ts'o3e699062002-10-13 23:56:28 -0400412002-10-13 Theodore Ts'o <tytso@mit.edu>
42
43 * debugfs.h, htree.c, setsuper.c: Fix gcc -Wall nits.
44
Theodore Ts'o8132d842002-10-02 22:07:17 -0400452002-10-02 Theodore Y. Ts'o <tytso@mit.edu>
46
47 * htree.c (htree_dump_leaf_node): Use ext2fs_read_dir_block2 so
48 that the directory entries are appropriately byte-swapped.
49
Theodore Ts'oc6633052002-09-24 01:26:50 -0400502001-09-24 Theodore Tso <tytso@mit.edu>
51
52 * Release of E2fsprogs 1.29
53
Theodore Ts'o42e5b5f2002-09-22 15:27:28 -0400542002-09-22 root <tytso@mit.edu>
55
56 * htree.c (htree_dump_int_node): Flag continuation hashes to make
57 them easier to find.
58
Theodore Ts'o87ee8dc2002-08-31 03:02:57 -0400592001-08-31 Theodore Tso <tytso@thunk.org>
60
61 * Release of E2fsprogs 1.28
62
Theodore Ts'of61fc0b2002-08-24 00:04:03 -0400632002-08-23 Theodore Ts'o <tytso@mit.edu>
64
65 * setsuper.c: Add support for the fields s_uuid, s_journal_uuid,
66 s_hash_seed, s_def_hash_version. Add routines for parsing
67 UUID's and hash algorithm identifiers.
68
Theodore Ts'oed909bb2002-08-16 17:03:59 -0400692002-08-16 Theodore Ts'o <tytso@mit.edu>
70
71 * icheck.c (do_icheck): Check to see if the block is listed as
72 part of the extended attribute block.
73
Theodore Ts'o155f5772002-07-21 14:17:45 -0400742002-07-21 Theodore Ts'o <tytso@mit.edu>
75
76 * htree.c (do_htree_dump): Fix a bug where we were not cleanly
77 closing the pager after errors, which would leave the
78 tty in noecho mode.
79
Theodore Ts'o621732c2002-07-18 22:19:51 -0400802002-07-18 Theodore Ts'o <tytso@mit.edu>
81
82 * htree.c (htree_dump_int_node): Add byte swapping code sot that
83 the htree dump function works on a big-endian machine.
84
Theodore Ts'o34be9602002-07-15 16:56:41 -0400852002-07-15 Theodore Ts'o <tytso@mit.edu>
86
87 * debugfs.c (do_show_super_stats): Calculate and print the number
88 of directories on a filesystem --- because we can and
89 because it can be useful.
90
Theodore Ts'od7f64ae2002-07-09 01:27:05 -0400912002-07-09 Theodore Ts'o <tytso@mit.edu>
92
93 * debugfs.c (do_rmdir), debugfs.8.in: Implement the rmdir command.
94 Addresses Debian bug #138003.
95
Theodore Ts'o503f9e72002-06-26 16:52:10 -0400962002-06-26 Theodore Ts'o <tytso@mit.edu>
97
98 * htree.c (do_dx_hash): Use new ext2fs_dirhash function signature.
99 Add getopt support so user can specify the hash version.
100
Theodore Ts'ob38cd282002-05-11 22:13:20 -04001012002-05-11 <tytso@snap.thunk.org>
102
103 * debug_cmds.ct, debugfs.c (do_bmap): Add new command "bmap" which
104 calculates the logical->physical block mapping for an
105 inode.
106
107 * debugfs.c (do_init_filsys, main), util.c
108 (common_block_args_process): Fix bad calling parameter
109 order when calling parse_ulong. This broke the -b and -s
110 options to debugfs, as well as do_init, and the testb,
111 setb, clearb functions.
112
Theodore Ts'oe5b3b272002-04-01 15:42:21 -05001132002-04-01 <tytso@snap.thunk.org>
114
115 * util.c (parse_ulong): Fix typo which cases parse_ulong to
116 coredump if the err variable is filled in (for example, if
117 the -b or -s options are passed to the debugfs's
118 command-line invocation).
119
Theodore Ts'o52783e02002-03-11 15:04:45 -05001202002-03-11 Theodore Tso <tytso@mit.edu>
121
Theodore Ts'of9190c82002-03-12 01:05:06 -0500122 * ls.c (list_dir_proc): Fix bug: ls -l fails to print the file
123 type correctly if running on big-endian systems.
124
Theodore Ts'o52783e02002-03-11 15:04:45 -0500125 * htree.c (htree_dump_leaf_node): Use the ext2_dirhash function
126 instead of a local static function.
127
Theodore Ts'oa8e77242002-03-08 03:12:14 -05001282002-03-08 Theodore Tso <tytso@mit.edu>
129
130 * Release of E2fsprogs 1.27
131
Theodore Ts'o3f830202002-03-07 02:56:53 -05001322002-03-07 <tytso@snap.thunk.org>
133
134 * ls.c (list_dir_proc): Fix typo in debugfs which was causing a
135 compiler warning.
136
Theodore Ts'o7380ac92002-03-05 01:57:53 -05001372002-03-05 Theodore Tso <tytso@mit.edu>
138
139 * lsdel.c (do_lsdel): lsdel uses the pager to print out the list
140 of potentially deleted inode. Thanks to Jaroslav Drzik
141 <jdrzik@host.sk> for suggesting this enhancement.
142
143 * debugfs.c (do_modify_inode): Fix bug which caused modify_inode
144 to core dump if a fliesystem isn't open. Thanks to
145 Jaroslav Drzik <jdrzik@host.sk> for finding and reporting
146 the bug and his proposed fix.
147
Theodore Ts'ofa7c3022002-02-26 17:13:12 -05001482002-02-26 Theodore Tso <tytso@mit.edu>
149
150 * ls.c (list_dir_proc): When listing the directory entry in long
151 format, include the file type of the directory entry in
152 parenthesis.
153
Theodore Ts'o57173d02002-02-26 14:59:39 -05001542002-02-25 Theodore Tso <tytso@mit.edu>
Theodore Ts'odf614db2002-02-25 04:28:45 -0500155
156 * util.c (open_pager): If the PAGER environment is set to __none__
157 then don't use a pager at all, and ship it all to stdout.
158
159 * Makefile.in, debug_cmds.ct, htree.c: Add new file htree.c, which
160 implements the three new commands, htree_dump, dx_hash,
161 and dirsearch.
162
Theodore Ts'o57173d02002-02-26 14:59:39 -05001632002-02-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'ob9f40922002-02-24 03:08:57 -0500164
165 * Makefile.in (install): Remove any compressed man pages before
166 installing the man pages.
167
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -05001682002-02-03 Theodore Tso <tytso@thunk.org>
169
170 * Release of E2fsprogs 1.26
171
Theodore Ts'o57173d02002-02-26 14:59:39 -05001722002-01-03 Theodore Tso <tytso@mit.edu>
Theodore Ts'oe1018ee2002-01-03 04:55:25 -0500173
174 * lsdel.c (do_lsdel): New optional argument which allows the user
175 to only see the most recently deleted files.
176
177 * debugfs.c (do_undel, do_testb, do_freeb, do_setb, do_ffb): Add
178 new command, undelete, which automates undeleting a
179 deleted inode and linking it back to a directory. Add a
180 count argument to the testb, freeb, setb, and ffb commands.
181
182 * ls.c (list_dir_proc, do_list_dir): Add support for -d option
183 which lists deleted directory entries.
184
185 * debug_cmds.ct: Add new command, undelete.
186
187 * dump.c, icheck.c, logdump.c, ls.c, lsdel.c, setsuper.c,
188 debugfs.c: Use new utility functions which factor out
189 commonly used code.
190
191 * util.c (debugfs_read_inode, debugfs_write_inode,
192 common_block_args_process, common_inode_args_process,
193 common_args_process, strtoblk, parse_ulong): New
194 functions which factor out commonly used code into
195 subroutines for ease of maintenance and to make the
196 executable size smaller.
197
Theodore Ts'o57173d02002-02-26 14:59:39 -05001982001-12-23 Theodore Tso <tytso@mit.edu>
Theodore Ts'o19007e52001-12-23 19:33:51 -0500199
200 * Makefile.in, jfs_user.h: Move linux/jbd.h to
201 ext2fs/kernel-jbd.h, to avoid using the system header
202 file version of hbd.h when using diet glibc (since it
203 forcibly adds /usr/include to the beginning of the
204 include search path.)
205
Theodore Ts'o57173d02002-02-26 14:59:39 -05002062001-12-22 Theodore Tso <tytso@mit.edu>
Theodore Ts'o34436892001-12-22 13:06:02 -0500207
208 * debugfs.c (kill_file_by_inode, release_blocks_proc): Update the
209 group descriptor free block and inode counts when deleting
210 or killing a file.
211
Theodore Ts'o57173d02002-02-26 14:59:39 -05002122001-12-16 Theodore Tso <tytso@mit.edu>
Theodore Ts'o8cf93332001-12-16 02:23:36 -0500213
Theodore Ts'o4ea7bd02001-12-16 23:23:37 -0500214 * setsuper.c (print_possible_fields),
215 logdump.c (dump_journal): Fix gcc -Wall nits
216
Theodore Ts'o8cf93332001-12-16 02:23:36 -0500217 * Makefile.in, jfs_user.h: linux/jfs.h has been renamed to
218 linux/jbd.h
219
Theodore Ts'o57173d02002-02-26 14:59:39 -05002202001-12-02 Theodore Tso <tytso@mit.edu>
Theodore Ts'o571fc5a2001-12-02 17:23:27 +0100221
222 * util.c (close_pager): Use pclose() instead of fclose() when
223 closing the pager stream.
224
Theodore Ts'o57173d02002-02-26 14:59:39 -05002252001-11-30 Theodore Tso <tytso@mit.edu>
Theodore Ts'oe8981882001-11-30 11:51:30 +0100226
227 * debugfs.c (finish_range, dump_blocks): Fixed bug in Andreas's >
228 2GB support changes: you need to use %lld when printf'ing
229 an long long variable.
230
Theodore Ts'o57173d02002-02-26 14:59:39 -05002312001-11-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'o6e96adc2001-11-24 16:10:52 -0500232
233 * debugfs.8.in: Update manual page to document the set_super_value
234 and logdump commands, and move the "specifying files"
235 section closer to the beginning of the man page so people
236 won't miss it.
237
238 * setsuper.c (print_possible_fields): "set_super_value -l" now
239 prints out the list of valid superblock fields which the
240 ssv command can set.
241
Theodore Ts'ofbf91112001-09-20 10:47:47 -04002422001-09-20 Theodore Tso <tytso@thunk.org>
243
244 * Release of E2fsprogs 1.25
245
Theodore Ts'ofb707752001-09-04 15:00:37 -04002462001-09-02 Theodore Tso <tytso@thunk.org>
247
248 * Release of E2fsprogs 1.24a
249
Theodore Ts'o109624a2001-08-31 00:59:55 -04002502001-08-30 Theodore Tso <tytso@thunk.org>
251
252 * Release of E2fsprogs 1.24
253
Theodore Ts'o0f8973f2001-08-27 12:44:23 -04002542001-08-27 Theodore Tso <tytso@valinux.com>
255
256 * debugfs.c (main): Remove EXT2FS_VERSION from the version
257 display, since it only confuses people.
258
Theodore Ts'o943ed872001-08-27 12:29:22 -04002592001-08-15 Theodore Tso <tytso@valinux.com>
260
261 * Release of E2fsprogs 1.23
262
Theodore Ts'o5faba3a2001-08-12 03:38:51 -04002632001-08-12 Theodore Tso <tytso@valinux.com>
264
265 * logdump.c (do_logdump, dump_journal): Add support for dumping
266 external journals.
267
Theodore Ts'o67960132001-06-23 00:16:37 -04002682001-06-23 Theodore Tso <tytso@valinux.com>
269
270 * Release of E2fsprogs 1.22
271
Theodore Ts'of4f75ba2001-06-16 01:14:28 +00002722001-06-15 Theodore Tso <tytso@valinux.com>
273
274 * Release of E2fsprogs 1.21
275
Theodore Ts'o364a3732001-06-13 23:46:39 +00002762001-06-13 Theodore Tso <tytso@valinux.com>
277
278 * setsuper.c: Add s_lastcheck field to the fields which can be
279 modified using set_super_value. (Suggested by Andreas
280 Dilger)
281
Theodore Ts'ob7846402001-06-03 23:27:56 +00002822001-06-03 Theodore Tso <tytso@valinux.com>
283
284 * debugfs.c (copy_file): Fixed signed vs unsigned bug which causes
285 read errors to not be noticed.
286
Theodore Ts'o4bb0c042001-06-01 15:22:38 +00002872001-06-01 Theodore Tso <tytso@valinux.com>
288
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000289 * Makefile.in: Move include/asm/types.h.in to
Theodore Ts'o36a23e12001-06-02 00:54:10 +0000290 lib/ext2fs/ext2_types.h.in.
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000291
Theodore Ts'o5e4f0702001-06-01 15:36:05 +0000292 * debugfs.c, debugfs.h, logdump.c: Fix various gcc -Wall nitpicks.
293
Theodore Ts'o4bb0c042001-06-01 15:22:38 +0000294 * logdump.c (read_journal_block): Replace pread with lseek/read
295 combination.
296
Theodore Ts'obb185862001-05-25 17:35:00 +00002972001-05-25 Theodore Tso <tytso@valinux.com>
298
299 * Release of E2fsprogs 1.20
300
Theodore Ts'o54c637d2001-05-14 11:45:38 +00003012001-05-14 Theodore Tso <tytso@valinux.com>
302
303 * debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
304
Theodore Ts'o777ebb32001-05-13 02:45:15 +00003052001-05-12 Theodore Tso <tytso@valinux.com>
306
307 * debugfs.c (print_features): Use fputs instead of printf to
308 output using the passed-in FILE *.
309
Theodore Ts'o085cb192001-05-09 06:09:12 +00003102001-05-09 Theodore Tso <tytso@valinux.com>
311
312 * debugfs.c (do_write, do_mknod): Set the file type information
313 when creating the inode.
314
Theodore Ts'o59cf7e02001-05-03 15:05:55 +00003152001-05-03 Theodore Tso <tytso@valinux.com>
316
317 * debugfs.c (do_open_filesys, main): Add -i option which will
318 allow debugfs to examine ext2 image files.
319
Theodore Ts'oda81e3f2001-03-29 20:49:58 +00003202001-03-29 Theodore Tso <tytso@valinux.com>
321
322 * debugfs.c (dump_blocks, dump_inode, internal_dump_inode): Add
323 internal_dump_inode() interface for the logdump command.
324
325 * logdump.c: Imported code from Stephen Tweedie to dump the ext3
326 journal.
327
Theodore Ts'o0a24c002001-03-18 18:16:18 +00003282001-03-18 Theodore Tso <tytso@valinux.com>
329
330 * debugfs.c (do_write, do_mknod): Remove extra (useless) call to
331 ext2fs_write_inode.
332
Theodore Ts'ob74d1d82001-01-12 17:23:52 +00003332001-01-12 Theodore Ts'o <tytso@valinux.com>
334
Theodore Ts'o426d7342001-01-13 01:29:05 +0000335 * setsuper.c: Cleaned up some random whitespace problems.
336
337 * debugfs.h, debugfs.c (do_show_super_stats): Use full words
Theodore Ts'ob74d1d82001-01-12 17:23:52 +0000338 instead of pluralism hack to make I18N conversion easier.
339 Clean up gcc -Wall complaints.
340
Theodore Ts'ob044c2e2001-01-11 15:26:39 +00003412001-01-11 <tytso@snap.thunk.org>
342
343 * debugfs.c, debugfs.h, dump.c, icheck.c, ls.c, lsdel.c, ncheck.c,
344 setsuper.c, util.c: Change ino_t to ext2_ino_t. Fix a few
345 minor gcc-wall complaints while we're at it.
346
Theodore Ts'o5dd8f962001-01-01 15:51:50 +00003472001-01-01 <tytso@snap.thunk.org>
348
349 * debugfs.c Replace use of struct ext2fs_sb with struct
350 ext2_super_block.
351
Theodore Ts'o3db93052000-12-30 20:26:31 +00003522000-12-30 <tytso@snap.thunk.org>
353
Theodore Ts'oc5de1d42000-12-31 01:39:54 +0000354 * dump.c (fix_perms): Fix bug for systems which don't have fchown;
355 was incorrectly using chmod instead of chown.
356
Theodore Ts'o3db93052000-12-30 20:26:31 +0000357 * setsuper.c (find_field): Strip the s_prefix if given for ssv
Theodore Ts'oc5de1d42000-12-31 01:39:54 +0000358 fields. Remove hard-coded s_ from inode_size
359 field. (Suggested by Andreas Dilger)
Theodore Ts'o3db93052000-12-30 20:26:31 +0000360
361 * debugfs.c (do_modify_inode): Add the ability to set the inode
362 generation number. (Suggested by Andreas Dilger)
363
Theodore Ts'o9131a752000-08-23 04:36:25 +00003642000-08-23 <tytso@valinux.com>
365
366 * util.c (string_to_inode): Use strtoul instead of atoi, so that
367 hex inode numbers will be accepted.
368
Theodore Ts'o2c4a5402000-08-19 17:33:28 +00003692000-08-19 <tytso@valinux.com>
370
371 * util.c (open_pager): Set SIGPIPE to be ignored, so that quitting
372 out of the pager doesn't blow away debugfs.
373
Theodore Ts'o0a3db932000-08-14 17:06:05 +00003742000-08-14 <tytso@valinux.com>
375
Theodore Ts'obd09eff2000-08-14 20:39:17 +0000376 * debugfs.c (do_show_super_stats): Use list_super2() instead of
377 using explicit printf statements. (We get a more complete
378 printout this way.)
379
Theodore Ts'oc6bd0c92000-08-14 20:37:09 +0000380 * util.c (open_pager): If the PAGER environment variable is not
381 set, default to using "more".
382
383 * setsuper.c: New function which implements the set_super_value
384 command. Allows the user to set arbitrary superblock
385 fields.
386
Theodore Ts'o0a3db932000-08-14 17:06:05 +0000387 * debugfs.c (dump_inode): Cap the length when printing a fast
388 symbolic link to inode.i_size.
389 (list_blocks_proc): Print block ranges (4510-4533) to make
390 the stat output easier to read.
391
Theodore Ts'oa5eef732000-08-14 15:47:15 +00003922000-06-27 Andreas Dilger <adilger@turbolabs.com>
393
394 * debugfs.c (list_blocks_proc): show relative inode block numbers
395 and/or indirect block status
396
Theodore Ts'of9e67062000-07-13 23:25:54 +00003972000-07-13 <tytso@valinux.com>
398
399 * Release of E2fsprogs 1.19
400
Theodore Ts'o14197172000-07-05 17:48:34 +00004012000-07-05 Theodore Ts'o <tytso@valinux.com>
402
403 * debugfs.c (dump_inode): Make the generation field be printed as
404 an unsigned integer.
405
Theodore Ts'o619dd192000-07-04 12:37:55 +00004062000-07-04 <tytso@snap.thunk.org>
407
408 * Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the
409 mk_cmds support files from the source tree.
410
Theodore Ts'oee753092000-06-09 04:24:36 +00004112000-06-09 <tytso@snap.thunk.org>
412
413 * lsdel.c (do_lsdel): Handle bad bad blocks in inode table.
414
Theodore Ts'od61f6172000-05-27 16:04:00 +00004152000-05-27 Theodore Ts'o <tytso@valinux.com>
416
417 * debugfs.c (do_testb, do_testi): Call check_fs_bitmaps to avoid
418 coredumping if the bitmaps aren't loaded.
419
420 * util.c (check_fs_bitmaps): New function which checks whether or
421 not the bitmaps are loaded.
422
Theodore Ts'o2e8d40d2000-05-27 15:15:40 +00004232000-05-23 Aaron Crane <aaronc@pobox.com>
424
425 * debugfs.8.in: Documented new behaviour.
426
427 * ls.c (ls_l_file): Fix Y2K bug -- was printing 22-May-100 for
428 recent files. Switched to 4-digit years.
429
430 * dump.c, debug_cmds.ct (do_rdump): Add new debugfs command
431 "rdump", which recursively dumps a directory and its
432 contents.
433 (fix_perms): New function. Break permission-fixing
434 code out of dump_file() so it can be called by rdump
435 code as well.
436 (dump_file): Call fix_perms().
437
438 * debugfs.c, debug_cmds.ct (do_lcd): Add new debugfs command
439 "lcd", which changes the cwd on the native filesystem.
440
441 * debugfs.c (open_filesystem): Extra args for superblock,
442 blocksize, and catastrophic mode. Changed callers.
443 (do_open_filesys, main): Accept new -b, -s, -c options
444 for open_filesystem.
445
Theodore Ts'o80e808f2000-02-02 16:19:59 +00004462000-02-02 Theodore Ts'o <tytso@valinux.com>
447
448 * debugfs.c (dump_inode): Remove #ifdef for i_version
449 vs. i_generation since we know it will always be
450 i_generation now.
451
Theodore Ts'o77200f42000-01-18 17:53:27 +00004522000-01-18 Theodore Ts'o <tytso@valinux.com>
453
Theodore Ts'oe5973042000-01-18 17:58:34 +0000454 * debugfs.c (main): Use return instead of exit at the end of main
455 to avoid some compiler warnings.
456
Theodore Ts'o77200f42000-01-18 17:53:27 +0000457 * Makefile.in: Since LIBUUID can sometimes include
458 "-lsocket" we need a separate DEPLIBUUID that can be used
459 in Makefile's dependency rules.
460
Theodore Ts'o5c36a2f1999-11-19 18:42:30 +00004611999-11-19 <tytso@valinux.com>
462
463 * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
464 the source directory.
465
Theodore Ts'ocd086361999-11-10 16:00:39 +00004661999-11-10 <tytso@valinux.com>
467
468 * Release of E2fsprogs 1.18
469
Theodore Ts'o643efb81999-11-08 19:27:13 +00004701999-11-08 <tytso@valinux.com>
471
472 * icheck.c (do_icheck):
473 * ncheck.c (do_ncheck): If ext2fs_open_inode_scan() returns
474 EXT2_ET_BAD_BLOCK_IN_INODE_TABLE loop to skip over the bad
475 blocks in the inode table.
476
Theodore Ts'of68aa411999-10-26 14:20:22 +00004771999-10-26 <tytso@valinux.com>
478
Theodore Ts'o28e11941999-10-26 18:17:20 +0000479 * Release of E2fsprogs 1.17
480
4811999-10-26 <tytso@valinux.com>
482
Theodore Ts'of68aa411999-10-26 14:20:22 +0000483 * debugfs.h: Add declaration for do_features()
484
485 * debugfs.c: Add #incldue of e2p.h to fix gcc warnings.
486
Theodore Ts'o601002b1999-10-26 02:06:39 +00004871999-10-25 <tytso@valinux.com>
488
489 * debugfs.c (do_dirty_filesys): Make the "dirty" command clear the
490 valid bit on the superblock. (And with a -clean option to
491 set the valid bit.) Originally it was used just to set
492 the "needs to be written" bit in the in-core version of
493 the fs structure.
494
Theodore Ts'o614fdfd1999-10-23 03:19:51 +00004951999-10-22 <tytso@valinux.com>
496
497 * Release of E2fsprogs 1.16
498
Theodore Ts'od3aea7d1999-09-14 20:55:37 +00004991999-09-07 <tytso@rsts-11.mit.edu>
500
501 * debugfs.c, debug_cmds.ct: Add new debugfs command "feature"
502 which allows the user to set or clear filesystme features.
503 Add the -f (force) option to the open command. Add the
504 -h (superblock header only) option to the stats command.
505
Theodore Ts'o55376d81999-07-31 00:32:57 +00005061999-07-30 <tytso@rsts-11.mit.edu>
507
508 * debugfs.c (dump_inode): Fix debugfs message so it is the same
509 for when compiled under either Linux 2.2 or 2.3. This
510 allows for the f_swapfs regression test suite to work
511 regardless of which OS e2fsprogs was compiled on.
512
Theodore Ts'o657cb971999-07-30 23:19:10 +00005131999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu>
514
515 * Release of E2fsprogs 1.15
516
Theodore Ts'ob41d3601999-06-25 15:32:37 +00005171999-06-23 <tytso@valinux.com>
518
519 * debugfs.c (dump_inode): Add compatibility for Linux 2.3 kernels
520 that use i_generation instead of i_version. Patch
521 supplied by Jon Bright <sircus@sircus.demon.co.uk>.
522
Theodore Ts'oce5ee991999-02-19 18:56:43 +00005231999-02-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
524
525 * icheck.c (do_icheck): Check to make sure the inode has valid
526 blocks before iterating over that inode's blocks.
527
Theodore Ts'o9e51eca1999-01-09 16:32:31 +00005281999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
529
530 * Release of E2fsprogs 1.14
531
Theodore Ts'o556ad131998-12-19 08:10:58 +00005321998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
533
534 * Release of E2fsprogs 1.13
535
Theodore Ts'odba838b1998-12-04 06:15:12 +00005361998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu>
537
538 * Makefile.in: Updated dependencies.
539
Theodore Ts'o91d6d481998-08-01 01:03:39 +00005401998-07-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
541
542 * debugfs.c (do_stat, do_clri): Fix bug where debugfs wasn't
543 displaying the error message if ext2fs_read_inode() failed.
544 (do_rm): Fix similar problem for call to ext2fs_namei().
545
Theodore Ts'o4a5fa191998-07-09 05:42:45 +00005461998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
547
548 * Release of E2fsprogs 1.12
549
Theodore Ts'o818180c1998-06-27 05:11:14 +00005501998-06-27 Theodore Ts'o <tytso@rsts-11.mit.edu>
551
552 * debugfs.c: Add a -V option which displays the current version.
553
Theodore Ts'o7e44f241998-04-01 03:16:29 +00005541998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
555
556 * Makefile.in: Change to use new installation directory variables
557 convention. Fix installdirs and uninstall rules to reflect
558 the fact that debugfs has been installed in the root
559 filesystem. Fix uninstall rules to take $(DESTDIR) into
560 account.
561
Theodore Ts'o4a31c481998-03-30 01:27:25 +00005621998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
563
564 * debugfs.h: Add declaration for do_dirty_filsys() to prevent
565 -Wall warnings.
566
567 * debugfs.c (copy_file):
568 * dump.c (dump_file): Fix -Wall warning caused by
569 signed/unsigned mismatch.
570
Theodore Ts'o36a43d61998-03-24 16:17:51 +00005711998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu>
572
573 * debugfs.c, ls.c, lsdel.c: Add support for large files. (The
574 high 32 bits share space with the i_dir_acl field.)
575
Theodore Ts'occe382b1998-03-09 13:07:09 +0000576Sun Mar 8 22:53:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
577
578 * ls.c (list_dir_proc): Mask off high 8 bits from
579 dirent->name_len.
580
Theodore Ts'o5be8dc21997-12-01 18:24:10 +0000581Mon Dec 1 13:21:09 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
582
583 * Makefile.in: Install debugfs in /sbin, instead of /usr/sbin.
584
Theodore Ts'o5a513841997-10-25 22:41:14 +0000585Sat Oct 25 18:35:30 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
586
587 * debugfs.c (copy_file), dump.c (dump_file): Change to use the new
588 fileio primitives in libext2.
589
Theodore Ts'of1304811997-10-25 03:51:53 +0000590Fri Oct 24 23:47:43 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
591
592 * debugfs.c (main, do_open_filesys):
593 * dump.c (do_dump): Make the variable which getopt returns into be
594 an int, so that it won't lose on platforms where char is
595 unsigned.
596
Theodore Ts'ob4ac9cc1997-10-15 01:54:48 +0000597Tue Oct 14 21:50:24 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
598
599 * debugfs.c (main): When printing a usage message, have main
600 return 1 (instead of not specifying a return value, bad!)
601
Theodore Ts'oa8859ca1997-09-16 02:08:28 +0000602Mon Sep 15 22:03:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
603
604 * debugfs.c (main): Fix declaration of main so that it returns an int.
605
Theodore Ts'o024996c1997-06-17 05:38:35 +0000606Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
607
608 * Release of E2fsprogs 1.11
609
Theodore Ts'o583ccdc1997-05-09 03:06:31 +0000610Thu May 8 23:05:40 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
611
612 * debugfs.8.in: Fix minor typos and grammer oops found by Bill
613 Hawes (whawes@star.net).
614
Theodore Ts'oa29f4d31997-04-29 21:26:48 +0000615Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
616
617 * Release of E2fsprogs version 1.10
618
619Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
620
621 * Release of E2fsprogs version 1.09
622
Theodore Ts'o2ecc6fe1997-04-29 17:57:00 +0000623Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
624
625 * Release of E2fsprogs version 1.08
626
Theodore Ts'o521e3681997-04-29 17:48:10 +0000627Thu Apr 10 14:36:05 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
628
629 * ls.c: New file which implements the ls command. Added the -l
630 option.
631
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000632Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
633
634 * Release of E2fsprogs version 1.07
635
636Wed Jan 1 23:53:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
637
638 * lsdel.c (do_lsdel): Use time_to_string() instead of ctime().
639
640Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
641
642 * Release of E2fsprogs version 1.06
643
Theodore Ts'o5c576471997-04-29 15:29:49 +0000644Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
645
646 * Release of E2fsprogs version 1.05
647
Theodore Ts'ofc6d9d51997-04-29 14:51:31 +0000648Mon Sep 9 23:05:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
649
650 * debugfs.c (unlink_file_by_name): If unlinking a file with a
651 directory path, correctly replace the slash with a NULL.
652 (do_show_debugfs_params): Don't try to print the open mode
653 if there's no filesystem opened (since that will cause a
654 core dump).
655 (main): Fix usage string; the -w and device elements are
656 independently optional.
657
658Tu Sep 3 15:09:39 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
659
660 * debugfs.c (main): Added -f option to debugfs, which takes a
661 command file of debugfs commands and executes them.
662
663Sat Aug 31 01:18:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
664
665 * debugfs.8.in: Heavily edited and improved manual page.
666
667 * dump.c (dump_file): Improve the write function for writing out
668 the file, so that it is limited to the actual size of the
669 file, instead of outputing the nulls following the EOF.
670 Make sure dump_file does the right thing for files with holes.
671 (do_dump): Add support for the -p option to the dump
672 command, which attempts to preserve the owner and
673 permissions field.
674
675Fri Aug 30 14:56:59 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
676
677 * debugfs.c (main): Add -R option to debugfs, which allows it to
678 take a single debugfs command on the command line.
679
680Fri Aug 9 09:03:31 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
681
682 * debugfs.c (do_open_filesys): Set optind to 0 to reset getopt(),
683 to be complete correct.
684 (do_show_super_stats): Print OS type, volume label, last
685 mounted directory, and UUID.
686 (dump_inode): Print the fragment information in a
687 filesystem independent way.
688 (do_modify_inode): Modify the fragement information in a
689 filesystem independent way.
690
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000691Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
692
693 * Release of E2fsprogs version 1.04
694
695Wed May 3 20:41:26 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
696
697 * debugfs.c (dump_inode): Correctly print the translator on the hurd.
698 (do_modify_inode): Modify the translator block on the hurd.
699
Theodore Ts'o7f88b041997-04-26 14:48:50 +0000700Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu>
701
702 * Release of E2fsprogs version 1.03
703
Theodore Ts'o74becf31997-04-26 14:37:06 +0000704Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
705
706 * Release of E2fsprogs version 1.02
707
708Fri Dec 1 22:42:31 1995 <tytso@rsts-11.mit.edu>
709
710 * Makefile.in (LIBS): Rearrange the order of the libraries to be
711 linked, so that -lext2fs is before -lcom_err.
712
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000713Thu Oct 26 12:05:06 1995 <tytso@rsts-11.mit.edu>
714
715 * Makefile.in (install): Strip programs when they are installed.
716
717Fri Aug 18 15:09:08 1995 Theodore Y. Ts'o <tytso@dcl>
718
719 * debugfs.c (do_find_free_block): Fix typo in code which checked
720 to see if the usage message should be printed.
721
722Thu Aug 17 22:55:58 1995 <tytso@rsts-11.mit.edu>
723
724 * debugfs.c (do_open_filesys): Change to always set optreset to 1,
725 to make BSD getopt()'s happy. Also set optind to 1, which
726 should make more getopt()'s happy.
727
728Fri Aug 11 08:45:01 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
729
730 * debugfs.c (do_find_free_block, do_find_free_inode): Fix bug in
731 the usage handling where "ffi ?" or "ffb ?" would
732 dereference a NULL pointer.
733
734Fri Aug 11 14:21:07 1995 Remy Card <card@bbj>
735
736 * debugfs.8: Updated date and version number.
737
738Thu Aug 10 14:28:50 1995 Remy Card <card@bbj>
739
740 * debugfs.8: Fixed a spelling error in Ted's name :-)
741
742Mon Jun 12 19:08:25 1995 Theodore Y. Ts'o (tytso@dcl)
743
744 * debugfs.c, ncheck.c, icheck.c, lsdel.c, dump.c: Include
745 <errno.h> (if it exists)
746
747 * debugfs.c, dump.c, icheck.c, lsdel.c, ncheck.c: Don't include
748 <getopt.h> if it doesn't exist.
749
750Sun Jun 11 15:21:07 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
751
752 * ncheck.c (do_ncheck): Use LINUX_S_ISDIR instead of S_ISDIR
753
754 * debugfs.c: Implement the mknod and write commands (from Linus).
755
756 Change names of modify_char, modify_short, and modify_long
757 to be modify_u8, modify_u16, and modify_u32, respectively.
758
759Thu Jun 8 12:29:15 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
760
761 * debugfs.c (dump_inode): Only print out inode frag fields if
762 HAVE_EXT2_FRAGS is defined (by configure). Don't print out the
763 reserved field at all for now.
764
765 * Makefile.in: Rewritten to conform to GNU coding standards and
766 support separate compilation directories.
767
Theodore Ts'o6f4a1091997-04-26 13:32:25 +0000768Thu Nov 24 17:46:23 1994 Theodore Y. Ts'o (tytso@rt-11)
769
770 * dump.c: Added two new commands, "dump" and "cat", which allow
771 the user to dump the contents of an inode to a file or to
772 stdout, respectively.
773
774