]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blame - debugfs/ChangeLog
Add ability for debugfs to use a separate source of data blocks when
[thirdparty/e2fsprogs.git] / debugfs / ChangeLog
CommitLineData
1ad54a94
TT
12004-07-28 Theodore Ts'o <tytso@mit.edu>
2
3 * debugfs.c, debugfs.8.in: Add new option -d which allows the
4 system administrator to specify data source of a
5 filesystem being opened via an e2image file.
6
0f72ab64
TT
72004-04-11 Theodore Ts'o <tytso@mit.edu>
8
9 * util.c (open_pager): Use DEBUGFS_PAGER in preference to PAGER
10 (Addresses Debian Bug #239547)
11
dd607056
TT
122004-04-03 Theodore Ts'o <tytso@mit.edu>
13
14 * Makefile.in: Update the modtime even if subst doesn't need to
15 update the debugfs man page, to avoid always re-running
16 subst, especially since there are no dependencies on the
17 man page.
18
abdf84f3
TT
192004-03-20 Theodore Ts'o <tytso@mit.edu>
20
21 * debugfs.c (make_link): Set the filetype information when
22 creating a link.
23
b70b1167
TT
242004-02-28 Theodore Ts'o <tytso@mit.edu>
25
26 * Release of E2fsprogs 1.35
27
2d10769e
TT
282004-02-23 Theodore Ts'o <tytso@mit.edu>
29
30 * debugfs.c (internal_dump_inode): Display the major/minor device
31 numbers for block/character devices.
32 (do_mknod): Add support for new-style device numbers (where
33 the major or minor number is greater than 255 and less
34 than 65535). (Addresses Sourceforge bug #865289)
35
90252ca1
TT
362004-02-21 Theodore Ts'o <tytso@mit.edu>
37
38 * debugfs.8.in: Fix the debugfs man page to reference the
39 init_filesys command, instead of "initialize". (Addresses
40 Debian Bug #232406)
41
795afc44
TT
422004-02-14 Theodore Ts'o <tytso@mit.edu>
43
44 * debugfs.c (internal_dump_inode): Correctly deal with symlinks
45 that have extended attribute information. (Addresses
46 Debian Bug #232328)
47
2b5ddd75
TT
482004-01-24 Theodore Ts'o <tytso@mit.edu>
49
50 * debugfs.8.in: Document the PAGER and DEBUGFS_PAGER environment
51 variables.
52
53 * util.c (open_pager): Use the "more" pager in preference to
54 "less", since "less" doesn't work terribly well for
55 debugfs's purpose.
56
2b696a98
TT
572003-12-25 Theodore Ts'o <tytso@mit.edu>
58
59 * util.c (open_pager): Try to use the DEBUGFS_PAGER environment
60 variable first, and then fall back to the PAGER
61 environment variable. Finally, search for an appropriate
62 pager executable.
63
2d9f0804
TT
642003-12-11 Theodore Ts'o <tytso@thunk.org>
65
66 * debugfs.c (do_write, do_mkdir): If the directory is full,
67 automatically call ext2fs_expand_dir() and then retry to
68 add the link to the directory as a convenience to the
69 user. (Addresses Debian Bug: #217892)
70 (do_mknod): Clean up expand_dir error handling.
71
54434927
TT
722003-12-07 Theodore Ts'o <tytso@mit.edu>
73
04df4919
TT
74 * debugfs.c (do_write): Mask off the file type bits, and OR in the
75 regular file information. (Addresses Debian Bug: #217456)
76
ec7fdb8f
TT
77 * util.c (open_pager): Search for the pager to use, starting with
78 'pager', and then falling back to 'less' and then 'more'.
79 (Addresses Debian Bug: #221977)
80
54434927
TT
81 * debugfs.c, debugfs.h, dump.c, htree.c, icheck.c, logdump.c,
82 ls.c, lsdel.c, ncheck.c, setsuper.c, unused.c: Fix gcc
83 -Wall nitpicks.
84
a7ac1df3
TT
852003-08-24 Theodore Ts'o <tytso@mit.edu>
86
87 * debugfs.8.in: Adjust description line so that apropos
88 "ext2" or "ext3" will find the man page. (Addresses
89 Debian Bug #206845)
90
a435ec34
TT
912003-08-21 Theodore Ts'o <tytso@mit.edu>
92
93 * debugfs.8.in: Fully document the logdump command in the debugfs
94 man page.
95
96 * logdump.c (do_logdump): Add -s option which will use the journal
97 inode information in the superblock.
98
9c7ec178
TT
992003-07-25 Theodore Ts'o <tytso@mit.edu>
100
101 * Release of E2fsprogs 1.34
102
48e6e813
TT
1032003-07-06 Theodore Ts'o <tytso@mit.edu>
104
105 * debugfs.c (do_imap): Fix gcc -Wall nitpicks (printf format types).
106
a5fdcd59
TT
1072003-05-21 Theodore Ts'o <tytso@mit.edu>
108
109 * unused.c (do_dump_unused): Add new command which dumps the
110 unused blocks. (Initial implementation; currently only
111 dumps the output to stdout.)
112
88494bb6
TT
1132003-05-13 root <tytso@mit.edu>
114
115 * util.c (reset_getopt), debugfs.c (do_open_filesys,
116 do_show_super_stats), ls.c (do_list_dir), dump.c (do_dump),
117 htree.c (do_htree_dump, do_dx_hash), logdump.c (do_logdump):
118 Define and use a new function, reset_getopt(), which does whatever
119 is necessary to reset getopt() again. This is different for
120 different implementations, so the portabilty issues are a bit of a
121 nightmare. (Addresses Debian bug #192834)
122
becf36f6
TT
1232003-05-05 Theodore Ts'o <tytso@mit.edu>
124
125 * debugfs.c (do_imap), debugfs.h, debug_cmds.ct, debugfs.8.in:
126 Added new command, imap, which prints the location of a
127 specified inode in the inode table.
128
71df0dc3
TT
1292003-04-21 Theodore Ts'o <tytso@mit.edu>
130
131 * Release of E2fsprogs 1.33
132
3ae497ea
TT
1332003-03-16 Theodore Ts'o <tytso@mit.edu>
134
135 * Makefile.in (DLOPEN_LIB): Link in the libdl library if it is
136 present on the system.
137
138 * debugfs.c (main): Call ss_get_readline() to attempt to pull in
139 the readline library.
140
ed78c021
TT
1412003-03-06 Theodore Tso <tytso@mit.edu>
142
143 * debugfs.c (do_open_filesys, do_show_super_stats),
144 ls.c (do_list_dir), dump.c (do_dump), htree.c (do_htree_dump,
145 do_dx_hash), logdump.c (do_logdump): Reset optind to 1 for better
146 compatibility with non-glibc implementations of getopt.
147
f364093b
TT
1482003-03-01 Theodore Ts'o <tytso@mit.edu>
149
150 * Makefile.in, logdump.c (do_logdump): Use the blkid functions to
151 find the external journal device.
152
819157db
TT
1532003-01-21 Theodore Ts'o <tytso@mit.edu>
154
155 * dump.c (do_dump): Open the output file with O_LARGEFILE so we
156 can write files larger than 2GB.
157
38513011
TT
1582002-11-09 Theodore Ts'o <tytso@mit.edu>
159
160 * Release of E2fsprogs 1.32
161
ae65b29f
TT
1622002-11-08 Theodore Ts'o <tytso@mit.edu>
163
164 * Release of E2fsprogs 1.31
165
5d823a47
TT
1662002-10-31 Theodore Ts'o <tytso@mit.edu>
167
168 * Release of E2fsprogs 1.30
169
1dd090fa
TT
1702002-10-31 Theodore Ts'o <tytso@mit.edu>
171
172 * debugfs.c (do_write): Check to see if the filename exists before
173 creating it, and give an error if so. Addresses
174 Sourceforge bug #478195.
175
482afc44
TT
1762002-10-30 Theodore Ts'o <tytso@mit.edu>
177
178 * Makefile.in (install): Search all compression extensions when
179 deleting old man pages.
180
3e699064
TT
1812002-10-13 Theodore Ts'o <tytso@mit.edu>
182
183 * debugfs.h, htree.c, setsuper.c: Fix gcc -Wall nits.
184
8132d840
TT
1852002-10-02 Theodore Y. Ts'o <tytso@mit.edu>
186
187 * htree.c (htree_dump_leaf_node): Use ext2fs_read_dir_block2 so
188 that the directory entries are appropriately byte-swapped.
189
c6633059
TT
1902001-09-24 Theodore Tso <tytso@mit.edu>
191
192 * Release of E2fsprogs 1.29
193
42e5b5f9
TT
1942002-09-22 root <tytso@mit.edu>
195
196 * htree.c (htree_dump_int_node): Flag continuation hashes to make
197 them easier to find.
198
87ee8dca
TT
1992001-08-31 Theodore Tso <tytso@thunk.org>
200
201 * Release of E2fsprogs 1.28
202
f61fc0b5
TT
2032002-08-23 Theodore Ts'o <tytso@mit.edu>
204
205 * setsuper.c: Add support for the fields s_uuid, s_journal_uuid,
206 s_hash_seed, s_def_hash_version. Add routines for parsing
207 UUID's and hash algorithm identifiers.
208
ed909bbe
TT
2092002-08-16 Theodore Ts'o <tytso@mit.edu>
210
211 * icheck.c (do_icheck): Check to see if the block is listed as
212 part of the extended attribute block.
213
155f577b
TT
2142002-07-21 Theodore Ts'o <tytso@mit.edu>
215
216 * htree.c (do_htree_dump): Fix a bug where we were not cleanly
217 closing the pager after errors, which would leave the
218 tty in noecho mode.
219
621732c9
TT
2202002-07-18 Theodore Ts'o <tytso@mit.edu>
221
222 * htree.c (htree_dump_int_node): Add byte swapping code sot that
223 the htree dump function works on a big-endian machine.
224
34be9609
TT
2252002-07-15 Theodore Ts'o <tytso@mit.edu>
226
227 * debugfs.c (do_show_super_stats): Calculate and print the number
228 of directories on a filesystem --- because we can and
229 because it can be useful.
230
d7f64ae8
TT
2312002-07-09 Theodore Ts'o <tytso@mit.edu>
232
233 * debugfs.c (do_rmdir), debugfs.8.in: Implement the rmdir command.
234 Addresses Debian bug #138003.
235
503f9e7f
TT
2362002-06-26 Theodore Ts'o <tytso@mit.edu>
237
238 * htree.c (do_dx_hash): Use new ext2fs_dirhash function signature.
239 Add getopt support so user can specify the hash version.
240
b38cd283
TT
2412002-05-11 <tytso@snap.thunk.org>
242
243 * debug_cmds.ct, debugfs.c (do_bmap): Add new command "bmap" which
244 calculates the logical->physical block mapping for an
245 inode.
246
247 * debugfs.c (do_init_filsys, main), util.c
248 (common_block_args_process): Fix bad calling parameter
249 order when calling parse_ulong. This broke the -b and -s
250 options to debugfs, as well as do_init, and the testb,
251 setb, clearb functions.
252
e5b3b279
TT
2532002-04-01 <tytso@snap.thunk.org>
254
255 * util.c (parse_ulong): Fix typo which cases parse_ulong to
256 coredump if the err variable is filled in (for example, if
257 the -b or -s options are passed to the debugfs's
258 command-line invocation).
259
52783e0c
TT
2602002-03-11 Theodore Tso <tytso@mit.edu>
261
f9190c8a
TT
262 * ls.c (list_dir_proc): Fix bug: ls -l fails to print the file
263 type correctly if running on big-endian systems.
264
52783e0c
TT
265 * htree.c (htree_dump_leaf_node): Use the ext2_dirhash function
266 instead of a local static function.
267
a8e77249
TT
2682002-03-08 Theodore Tso <tytso@mit.edu>
269
270 * Release of E2fsprogs 1.27
271
3f830203
TT
2722002-03-07 <tytso@snap.thunk.org>
273
274 * ls.c (list_dir_proc): Fix typo in debugfs which was causing a
275 compiler warning.
276
7380ac90
TT
2772002-03-05 Theodore Tso <tytso@mit.edu>
278
279 * lsdel.c (do_lsdel): lsdel uses the pager to print out the list
280 of potentially deleted inode. Thanks to Jaroslav Drzik
281 <jdrzik@host.sk> for suggesting this enhancement.
282
283 * debugfs.c (do_modify_inode): Fix bug which caused modify_inode
284 to core dump if a fliesystem isn't open. Thanks to
285 Jaroslav Drzik <jdrzik@host.sk> for finding and reporting
286 the bug and his proposed fix.
287
fa7c3027
TT
2882002-02-26 Theodore Tso <tytso@mit.edu>
289
290 * ls.c (list_dir_proc): When listing the directory entry in long
291 format, include the file type of the directory entry in
292 parenthesis.
293
57173d0f 2942002-02-25 Theodore Tso <tytso@mit.edu>
df614db6
TT
295
296 * util.c (open_pager): If the PAGER environment is set to __none__
297 then don't use a pager at all, and ship it all to stdout.
298
299 * Makefile.in, debug_cmds.ct, htree.c: Add new file htree.c, which
300 implements the three new commands, htree_dump, dx_hash,
301 and dirsearch.
302
57173d0f 3032002-02-24 Theodore Tso <tytso@mit.edu>
b9f40925
TT
304
305 * Makefile.in (install): Remove any compressed man pages before
306 installing the man pages.
307
a5f3f5c1
TT
3082002-02-03 Theodore Tso <tytso@thunk.org>
309
310 * Release of E2fsprogs 1.26
311
57173d0f 3122002-01-03 Theodore Tso <tytso@mit.edu>
e1018eea
TT
313
314 * lsdel.c (do_lsdel): New optional argument which allows the user
315 to only see the most recently deleted files.
316
317 * debugfs.c (do_undel, do_testb, do_freeb, do_setb, do_ffb): Add
318 new command, undelete, which automates undeleting a
319 deleted inode and linking it back to a directory. Add a
320 count argument to the testb, freeb, setb, and ffb commands.
321
322 * ls.c (list_dir_proc, do_list_dir): Add support for -d option
323 which lists deleted directory entries.
324
325 * debug_cmds.ct: Add new command, undelete.
326
327 * dump.c, icheck.c, logdump.c, ls.c, lsdel.c, setsuper.c,
328 debugfs.c: Use new utility functions which factor out
329 commonly used code.
330
331 * util.c (debugfs_read_inode, debugfs_write_inode,
332 common_block_args_process, common_inode_args_process,
333 common_args_process, strtoblk, parse_ulong): New
334 functions which factor out commonly used code into
335 subroutines for ease of maintenance and to make the
336 executable size smaller.
337
57173d0f 3382001-12-23 Theodore Tso <tytso@mit.edu>
19007e51
TT
339
340 * Makefile.in, jfs_user.h: Move linux/jbd.h to
341 ext2fs/kernel-jbd.h, to avoid using the system header
342 file version of hbd.h when using diet glibc (since it
343 forcibly adds /usr/include to the beginning of the
344 include search path.)
345
57173d0f 3462001-12-22 Theodore Tso <tytso@mit.edu>
34436891
TT
347
348 * debugfs.c (kill_file_by_inode, release_blocks_proc): Update the
349 group descriptor free block and inode counts when deleting
350 or killing a file.
351
57173d0f 3522001-12-16 Theodore Tso <tytso@mit.edu>
8cf93332 353
4ea7bd04
TT
354 * setsuper.c (print_possible_fields),
355 logdump.c (dump_journal): Fix gcc -Wall nits
356
8cf93332
TT
357 * Makefile.in, jfs_user.h: linux/jfs.h has been renamed to
358 linux/jbd.h
359
57173d0f 3602001-12-02 Theodore Tso <tytso@mit.edu>
571fc5a8
TT
361
362 * util.c (close_pager): Use pclose() instead of fclose() when
363 closing the pager stream.
364
57173d0f 3652001-11-30 Theodore Tso <tytso@mit.edu>
e8981883
TT
366
367 * debugfs.c (finish_range, dump_blocks): Fixed bug in Andreas's >
368 2GB support changes: you need to use %lld when printf'ing
369 an long long variable.
370
57173d0f 3712001-11-24 Theodore Tso <tytso@mit.edu>
6e96adcb
TT
372
373 * debugfs.8.in: Update manual page to document the set_super_value
374 and logdump commands, and move the "specifying files"
375 section closer to the beginning of the man page so people
376 won't miss it.
377
378 * setsuper.c (print_possible_fields): "set_super_value -l" now
379 prints out the list of valid superblock fields which the
380 ssv command can set.
381
fbf91112
TT
3822001-09-20 Theodore Tso <tytso@thunk.org>
383
384 * Release of E2fsprogs 1.25
385
fb70775b
TT
3862001-09-02 Theodore Tso <tytso@thunk.org>
387
388 * Release of E2fsprogs 1.24a
389
109624a1
TT
3902001-08-30 Theodore Tso <tytso@thunk.org>
391
392 * Release of E2fsprogs 1.24
393
0f8973fb
TT
3942001-08-27 Theodore Tso <tytso@valinux.com>
395
396 * debugfs.c (main): Remove EXT2FS_VERSION from the version
397 display, since it only confuses people.
398
943ed874
TT
3992001-08-15 Theodore Tso <tytso@valinux.com>
400
401 * Release of E2fsprogs 1.23
402
5faba3ac
TT
4032001-08-12 Theodore Tso <tytso@valinux.com>
404
405 * logdump.c (do_logdump, dump_journal): Add support for dumping
406 external journals.
407
67960139
TT
4082001-06-23 Theodore Tso <tytso@valinux.com>
409
410 * Release of E2fsprogs 1.22
411
f4f75bae
TT
4122001-06-15 Theodore Tso <tytso@valinux.com>
413
414 * Release of E2fsprogs 1.21
415
364a373e
TT
4162001-06-13 Theodore Tso <tytso@valinux.com>
417
418 * setsuper.c: Add s_lastcheck field to the fields which can be
419 modified using set_super_value. (Suggested by Andreas
420 Dilger)
421
b7846402
TT
4222001-06-03 Theodore Tso <tytso@valinux.com>
423
424 * debugfs.c (copy_file): Fixed signed vs unsigned bug which causes
425 read errors to not be noticed.
426
4bb0c043
TT
4272001-06-01 Theodore Tso <tytso@valinux.com>
428
797f5ef1 429 * Makefile.in: Move include/asm/types.h.in to
36a23e18 430 lib/ext2fs/ext2_types.h.in.
797f5ef1 431
5e4f0709
TT
432 * debugfs.c, debugfs.h, logdump.c: Fix various gcc -Wall nitpicks.
433
4bb0c043
TT
434 * logdump.c (read_journal_block): Replace pread with lseek/read
435 combination.
436
bb185861
TT
4372001-05-25 Theodore Tso <tytso@valinux.com>
438
439 * Release of E2fsprogs 1.20
440
54c637d4
TT
4412001-05-14 Theodore Tso <tytso@valinux.com>
442
443 * debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
444
777ebb3e
TT
4452001-05-12 Theodore Tso <tytso@valinux.com>
446
447 * debugfs.c (print_features): Use fputs instead of printf to
448 output using the passed-in FILE *.
449
085cb19a
TT
4502001-05-09 Theodore Tso <tytso@valinux.com>
451
452 * debugfs.c (do_write, do_mknod): Set the file type information
453 when creating the inode.
454
59cf7e0d
TT
4552001-05-03 Theodore Tso <tytso@valinux.com>
456
457 * debugfs.c (do_open_filesys, main): Add -i option which will
458 allow debugfs to examine ext2 image files.
459
da81e3fc
TT
4602001-03-29 Theodore Tso <tytso@valinux.com>
461
462 * debugfs.c (dump_blocks, dump_inode, internal_dump_inode): Add
463 internal_dump_inode() interface for the logdump command.
464
465 * logdump.c: Imported code from Stephen Tweedie to dump the ext3
466 journal.
467
0a24c00b
TT
4682001-03-18 Theodore Tso <tytso@valinux.com>
469
470 * debugfs.c (do_write, do_mknod): Remove extra (useless) call to
471 ext2fs_write_inode.
472
b74d1d89
TT
4732001-01-12 Theodore Ts'o <tytso@valinux.com>
474
426d734f
TT
475 * setsuper.c: Cleaned up some random whitespace problems.
476
477 * debugfs.h, debugfs.c (do_show_super_stats): Use full words
b74d1d89
TT
478 instead of pluralism hack to make I18N conversion easier.
479 Clean up gcc -Wall complaints.
480
b044c2e0
TT
4812001-01-11 <tytso@snap.thunk.org>
482
483 * debugfs.c, debugfs.h, dump.c, icheck.c, ls.c, lsdel.c, ncheck.c,
484 setsuper.c, util.c: Change ino_t to ext2_ino_t. Fix a few
485 minor gcc-wall complaints while we're at it.
486
5dd8f963
TT
4872001-01-01 <tytso@snap.thunk.org>
488
489 * debugfs.c Replace use of struct ext2fs_sb with struct
490 ext2_super_block.
491
3db9305a
TT
4922000-12-30 <tytso@snap.thunk.org>
493
c5de1d4a
TT
494 * dump.c (fix_perms): Fix bug for systems which don't have fchown;
495 was incorrectly using chmod instead of chown.
496
3db9305a 497 * setsuper.c (find_field): Strip the s_prefix if given for ssv
c5de1d4a
TT
498 fields. Remove hard-coded s_ from inode_size
499 field. (Suggested by Andreas Dilger)
3db9305a
TT
500
501 * debugfs.c (do_modify_inode): Add the ability to set the inode
502 generation number. (Suggested by Andreas Dilger)
503
9131a759
TT
5042000-08-23 <tytso@valinux.com>
505
506 * util.c (string_to_inode): Use strtoul instead of atoi, so that
507 hex inode numbers will be accepted.
508
2c4a5406
TT
5092000-08-19 <tytso@valinux.com>
510
511 * util.c (open_pager): Set SIGPIPE to be ignored, so that quitting
512 out of the pager doesn't blow away debugfs.
513
0a3db93a
TT
5142000-08-14 <tytso@valinux.com>
515
bd09eff9
TT
516 * debugfs.c (do_show_super_stats): Use list_super2() instead of
517 using explicit printf statements. (We get a more complete
518 printout this way.)
519
c6bd0c97
TT
520 * util.c (open_pager): If the PAGER environment variable is not
521 set, default to using "more".
522
523 * setsuper.c: New function which implements the set_super_value
524 command. Allows the user to set arbitrary superblock
525 fields.
526
0a3db93a
TT
527 * debugfs.c (dump_inode): Cap the length when printing a fast
528 symbolic link to inode.i_size.
529 (list_blocks_proc): Print block ranges (4510-4533) to make
530 the stat output easier to read.
531
a5eef73b
TT
5322000-06-27 Andreas Dilger <adilger@turbolabs.com>
533
534 * debugfs.c (list_blocks_proc): show relative inode block numbers
535 and/or indirect block status
536
f9e67064
TT
5372000-07-13 <tytso@valinux.com>
538
539 * Release of E2fsprogs 1.19
540
14197170
TT
5412000-07-05 Theodore Ts'o <tytso@valinux.com>
542
543 * debugfs.c (dump_inode): Make the generation field be printed as
544 an unsigned integer.
545
619dd191
TT
5462000-07-04 <tytso@snap.thunk.org>
547
548 * Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the
549 mk_cmds support files from the source tree.
550
ee753091
TT
5512000-06-09 <tytso@snap.thunk.org>
552
553 * lsdel.c (do_lsdel): Handle bad bad blocks in inode table.
554
d61f6176
TT
5552000-05-27 Theodore Ts'o <tytso@valinux.com>
556
557 * debugfs.c (do_testb, do_testi): Call check_fs_bitmaps to avoid
558 coredumping if the bitmaps aren't loaded.
559
560 * util.c (check_fs_bitmaps): New function which checks whether or
561 not the bitmaps are loaded.
562
2e8d40d5
TT
5632000-05-23 Aaron Crane <aaronc@pobox.com>
564
565 * debugfs.8.in: Documented new behaviour.
566
567 * ls.c (ls_l_file): Fix Y2K bug -- was printing 22-May-100 for
568 recent files. Switched to 4-digit years.
569
570 * dump.c, debug_cmds.ct (do_rdump): Add new debugfs command
571 "rdump", which recursively dumps a directory and its
572 contents.
573 (fix_perms): New function. Break permission-fixing
574 code out of dump_file() so it can be called by rdump
575 code as well.
576 (dump_file): Call fix_perms().
577
578 * debugfs.c, debug_cmds.ct (do_lcd): Add new debugfs command
579 "lcd", which changes the cwd on the native filesystem.
580
581 * debugfs.c (open_filesystem): Extra args for superblock,
582 blocksize, and catastrophic mode. Changed callers.
583 (do_open_filesys, main): Accept new -b, -s, -c options
584 for open_filesystem.
585
80e808fc
TT
5862000-02-02 Theodore Ts'o <tytso@valinux.com>
587
588 * debugfs.c (dump_inode): Remove #ifdef for i_version
589 vs. i_generation since we know it will always be
590 i_generation now.
591
77200f4e
TT
5922000-01-18 Theodore Ts'o <tytso@valinux.com>
593
e597304a
TT
594 * debugfs.c (main): Use return instead of exit at the end of main
595 to avoid some compiler warnings.
596
77200f4e
TT
597 * Makefile.in: Since LIBUUID can sometimes include
598 "-lsocket" we need a separate DEPLIBUUID that can be used
599 in Makefile's dependency rules.
600
5c36a2f8
TT
6011999-11-19 <tytso@valinux.com>
602
603 * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
604 the source directory.
605
cd086361
TT
6061999-11-10 <tytso@valinux.com>
607
608 * Release of E2fsprogs 1.18
609
643efb8a
TT
6101999-11-08 <tytso@valinux.com>
611
612 * icheck.c (do_icheck):
613 * ncheck.c (do_ncheck): If ext2fs_open_inode_scan() returns
614 EXT2_ET_BAD_BLOCK_IN_INODE_TABLE loop to skip over the bad
615 blocks in the inode table.
616
28e1194e
TT
6171999-10-26 <tytso@valinux.com>
618
619 * Release of E2fsprogs 1.17
620
f68aa414
TT
6211999-10-26 <tytso@valinux.com>
622
623 * debugfs.h: Add declaration for do_features()
624
625 * debugfs.c: Add #incldue of e2p.h to fix gcc warnings.
626
601002bd
TT
6271999-10-25 <tytso@valinux.com>
628
629 * debugfs.c (do_dirty_filesys): Make the "dirty" command clear the
630 valid bit on the superblock. (And with a -clean option to
631 set the valid bit.) Originally it was used just to set
632 the "needs to be written" bit in the in-core version of
633 the fs structure.
634
614fdfd5
TT
6351999-10-22 <tytso@valinux.com>
636
637 * Release of E2fsprogs 1.16
638
d3aea7dc
TT
6391999-09-07 <tytso@rsts-11.mit.edu>
640
641 * debugfs.c, debug_cmds.ct: Add new debugfs command "feature"
642 which allows the user to set or clear filesystme features.
643 Add the -f (force) option to the open command. Add the
644 -h (superblock header only) option to the stats command.
645
55376d87
TT
6461999-07-30 <tytso@rsts-11.mit.edu>
647
648 * debugfs.c (dump_inode): Fix debugfs message so it is the same
649 for when compiled under either Linux 2.2 or 2.3. This
650 allows for the f_swapfs regression test suite to work
651 regardless of which OS e2fsprogs was compiled on.
652
657cb975
TT
6531999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu>
654
655 * Release of E2fsprogs 1.15
656
b41d360b
TT
6571999-06-23 <tytso@valinux.com>
658
659 * debugfs.c (dump_inode): Add compatibility for Linux 2.3 kernels
660 that use i_generation instead of i_version. Patch
661 supplied by Jon Bright <sircus@sircus.demon.co.uk>.
662
ce5ee995
TT
6631999-02-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
664
665 * icheck.c (do_icheck): Check to make sure the inode has valid
666 blocks before iterating over that inode's blocks.
667
9e51eca7
TT
6681999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
669
670 * Release of E2fsprogs 1.14
671
556ad132
TT
6721998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
673
674 * Release of E2fsprogs 1.13
675
dba838b0
TT
6761998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu>
677
678 * Makefile.in: Updated dependencies.
679
91d6d486
TT
6801998-07-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
681
682 * debugfs.c (do_stat, do_clri): Fix bug where debugfs wasn't
683 displaying the error message if ext2fs_read_inode() failed.
684 (do_rm): Fix similar problem for call to ext2fs_namei().
685
4a5fa192
TT
6861998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
687
688 * Release of E2fsprogs 1.12
689
818180cd
TT
6901998-06-27 Theodore Ts'o <tytso@rsts-11.mit.edu>
691
692 * debugfs.c: Add a -V option which displays the current version.
693
7e44f242
TT
6941998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
695
696 * Makefile.in: Change to use new installation directory variables
697 convention. Fix installdirs and uninstall rules to reflect
698 the fact that debugfs has been installed in the root
699 filesystem. Fix uninstall rules to take $(DESTDIR) into
700 account.
701
4a31c48b
TT
7021998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
703
704 * debugfs.h: Add declaration for do_dirty_filsys() to prevent
705 -Wall warnings.
706
707 * debugfs.c (copy_file):
708 * dump.c (dump_file): Fix -Wall warning caused by
709 signed/unsigned mismatch.
710
36a43d67
TT
7111998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu>
712
713 * debugfs.c, ls.c, lsdel.c: Add support for large files. (The
714 high 32 bits share space with the i_dir_acl field.)
715
cce382b1
TT
716Sun Mar 8 22:53:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
717
718 * ls.c (list_dir_proc): Mask off high 8 bits from
719 dirent->name_len.
720
5be8dc21
TT
721Mon Dec 1 13:21:09 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
722
723 * Makefile.in: Install debugfs in /sbin, instead of /usr/sbin.
724
5a51384e
TT
725Sat Oct 25 18:35:30 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
726
727 * debugfs.c (copy_file), dump.c (dump_file): Change to use the new
728 fileio primitives in libext2.
729
f1304811
TT
730Fri Oct 24 23:47:43 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
731
732 * debugfs.c (main, do_open_filesys):
733 * dump.c (do_dump): Make the variable which getopt returns into be
734 an int, so that it won't lose on platforms where char is
735 unsigned.
736
b4ac9cc3
TT
737Tue Oct 14 21:50:24 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
738
739 * debugfs.c (main): When printing a usage message, have main
740 return 1 (instead of not specifying a return value, bad!)
741
a8859cad
TT
742Mon Sep 15 22:03:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
743
744 * debugfs.c (main): Fix declaration of main so that it returns an int.
745
024996cf
TT
746Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
747
748 * Release of E2fsprogs 1.11
749
583ccdc3
TT
750Thu May 8 23:05:40 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
751
752 * debugfs.8.in: Fix minor typos and grammer oops found by Bill
753 Hawes (whawes@star.net).
754
a29f4d30
TT
755Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
756
757 * Release of E2fsprogs version 1.10
758
759Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
760
761 * Release of E2fsprogs version 1.09
762
2ecc6fef
TT
763Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
764
765 * Release of E2fsprogs version 1.08
766
521e3685
TT
767Thu Apr 10 14:36:05 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
768
769 * ls.c: New file which implements the ls command. Added the -l
770 option.
771
21c84b71
TT
772Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
773
774 * Release of E2fsprogs version 1.07
775
776Wed Jan 1 23:53:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
777
778 * lsdel.c (do_lsdel): Use time_to_string() instead of ctime().
779
780Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
781
782 * Release of E2fsprogs version 1.06
783
5c576477
TT
784Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
785
786 * Release of E2fsprogs version 1.05
787
fc6d9d51
TT
788Mon Sep 9 23:05:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
789
790 * debugfs.c (unlink_file_by_name): If unlinking a file with a
791 directory path, correctly replace the slash with a NULL.
792 (do_show_debugfs_params): Don't try to print the open mode
793 if there's no filesystem opened (since that will cause a
794 core dump).
795 (main): Fix usage string; the -w and device elements are
796 independently optional.
797
798Tu Sep 3 15:09:39 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
799
800 * debugfs.c (main): Added -f option to debugfs, which takes a
801 command file of debugfs commands and executes them.
802
803Sat Aug 31 01:18:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
804
805 * debugfs.8.in: Heavily edited and improved manual page.
806
807 * dump.c (dump_file): Improve the write function for writing out
808 the file, so that it is limited to the actual size of the
809 file, instead of outputing the nulls following the EOF.
810 Make sure dump_file does the right thing for files with holes.
811 (do_dump): Add support for the -p option to the dump
812 command, which attempts to preserve the owner and
813 permissions field.
814
815Fri Aug 30 14:56:59 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
816
817 * debugfs.c (main): Add -R option to debugfs, which allows it to
818 take a single debugfs command on the command line.
819
820Fri Aug 9 09:03:31 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
821
822 * debugfs.c (do_open_filesys): Set optind to 0 to reset getopt(),
823 to be complete correct.
824 (do_show_super_stats): Print OS type, volume label, last
825 mounted directory, and UUID.
826 (dump_inode): Print the fragment information in a
827 filesystem independent way.
828 (do_modify_inode): Modify the fragement information in a
829 filesystem independent way.
830
62c06f79
TT
831Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
832
833 * Release of E2fsprogs version 1.04
834
835Wed May 3 20:41:26 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
836
837 * debugfs.c (dump_inode): Correctly print the translator on the hurd.
838 (do_modify_inode): Modify the translator block on the hurd.
839
7f88b043
TT
840Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu>
841
842 * Release of E2fsprogs version 1.03
843
74becf3c
TT
844Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
845
846 * Release of E2fsprogs version 1.02
847
848Fri Dec 1 22:42:31 1995 <tytso@rsts-11.mit.edu>
849
850 * Makefile.in (LIBS): Rearrange the order of the libraries to be
851 linked, so that -lext2fs is before -lcom_err.
852
50e1e10f
TT
853Thu Oct 26 12:05:06 1995 <tytso@rsts-11.mit.edu>
854
855 * Makefile.in (install): Strip programs when they are installed.
856
857Fri Aug 18 15:09:08 1995 Theodore Y. Ts'o <tytso@dcl>
858
859 * debugfs.c (do_find_free_block): Fix typo in code which checked
860 to see if the usage message should be printed.
861
862Thu Aug 17 22:55:58 1995 <tytso@rsts-11.mit.edu>
863
864 * debugfs.c (do_open_filesys): Change to always set optreset to 1,
865 to make BSD getopt()'s happy. Also set optind to 1, which
866 should make more getopt()'s happy.
867
868Fri Aug 11 08:45:01 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
869
870 * debugfs.c (do_find_free_block, do_find_free_inode): Fix bug in
871 the usage handling where "ffi ?" or "ffb ?" would
872 dereference a NULL pointer.
873
874Fri Aug 11 14:21:07 1995 Remy Card <card@bbj>
875
876 * debugfs.8: Updated date and version number.
877
878Thu Aug 10 14:28:50 1995 Remy Card <card@bbj>
879
880 * debugfs.8: Fixed a spelling error in Ted's name :-)
881
882Mon Jun 12 19:08:25 1995 Theodore Y. Ts'o (tytso@dcl)
883
884 * debugfs.c, ncheck.c, icheck.c, lsdel.c, dump.c: Include
885 <errno.h> (if it exists)
886
887 * debugfs.c, dump.c, icheck.c, lsdel.c, ncheck.c: Don't include
888 <getopt.h> if it doesn't exist.
889
890Sun Jun 11 15:21:07 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
891
892 * ncheck.c (do_ncheck): Use LINUX_S_ISDIR instead of S_ISDIR
893
894 * debugfs.c: Implement the mknod and write commands (from Linus).
895
896 Change names of modify_char, modify_short, and modify_long
897 to be modify_u8, modify_u16, and modify_u32, respectively.
898
899Thu Jun 8 12:29:15 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
900
901 * debugfs.c (dump_inode): Only print out inode frag fields if
902 HAVE_EXT2_FRAGS is defined (by configure). Don't print out the
903 reserved field at all for now.
904
905 * Makefile.in: Rewritten to conform to GNU coding standards and
906 support separate compilation directories.
907
6f4a1097
TT
908Thu Nov 24 17:46:23 1994 Theodore Y. Ts'o (tytso@rt-11)
909
910 * dump.c: Added two new commands, "dump" and "cat", which allow
911 the user to dump the contents of an inode to a file or to
912 stdout, respectively.
913
914