Whamcloud - gitweb
Makefile.in (install): Search all compression extensions when
[tools/e2fsprogs.git] / debugfs / ChangeLog
1 2002-10-30  Theodore Ts'o  <tytso@mit.edu>
2
3         * Makefile.in (install): Search all compression extensions when
4                 deleting old man pages.
5
6 2002-10-13  Theodore Ts'o  <tytso@mit.edu>
7
8         * debugfs.h, htree.c, setsuper.c: Fix gcc -Wall nits.
9
10 2002-10-02  Theodore Y. Ts'o  <tytso@mit.edu>
11
12         * htree.c (htree_dump_leaf_node): Use ext2fs_read_dir_block2 so
13                 that the directory entries are appropriately byte-swapped.
14
15 2001-09-24  Theodore Tso  <tytso@mit.edu>
16
17         * Release of E2fsprogs 1.29
18
19 2002-09-22  root  <tytso@mit.edu>
20
21         * htree.c (htree_dump_int_node): Flag continuation hashes to make
22                 them easier to find.
23
24 2001-08-31  Theodore Tso  <tytso@thunk.org>
25
26         * Release of E2fsprogs 1.28
27
28 2002-08-23  Theodore Ts'o  <tytso@mit.edu>
29
30         * setsuper.c: Add support for the fields s_uuid, s_journal_uuid,
31                 s_hash_seed, s_def_hash_version.  Add routines for parsing
32                 UUID's and hash algorithm identifiers.
33
34 2002-08-16  Theodore Ts'o  <tytso@mit.edu>
35
36         * icheck.c (do_icheck): Check to see if the block is listed as
37                 part of the extended attribute block.
38
39 2002-07-21  Theodore Ts'o  <tytso@mit.edu>
40
41         * htree.c (do_htree_dump): Fix a bug where we were not cleanly
42                 closing the pager after errors, which would leave the
43                 tty in noecho mode.
44
45 2002-07-18  Theodore Ts'o  <tytso@mit.edu>
46
47         * htree.c (htree_dump_int_node): Add byte swapping code sot that
48                 the htree dump function works on a big-endian machine.
49
50 2002-07-15  Theodore Ts'o  <tytso@mit.edu>
51
52         * debugfs.c (do_show_super_stats): Calculate and print the number
53                 of directories on a filesystem --- because we can and
54                 because it can be useful.
55
56 2002-07-09  Theodore Ts'o  <tytso@mit.edu>
57
58         * debugfs.c (do_rmdir), debugfs.8.in: Implement the rmdir command.
59                 Addresses Debian bug #138003.
60
61 2002-06-26  Theodore Ts'o  <tytso@mit.edu>
62
63         * htree.c (do_dx_hash): Use new ext2fs_dirhash function signature.
64                 Add getopt support so user can specify the hash version.
65
66 2002-05-11    <tytso@snap.thunk.org>
67
68         * debug_cmds.ct, debugfs.c (do_bmap): Add new command "bmap" which
69                 calculates the logical->physical block mapping for an
70                 inode.
71
72         * debugfs.c (do_init_filsys, main), util.c
73                 (common_block_args_process): Fix bad calling parameter
74                 order when calling parse_ulong.  This broke the -b  and -s
75                 options to debugfs, as well as do_init, and the testb,
76                 setb, clearb functions.
77
78 2002-04-01    <tytso@snap.thunk.org>
79
80         * util.c (parse_ulong): Fix typo which cases parse_ulong to
81                 coredump if the err variable is filled in (for example, if
82                 the -b or -s options are passed to the debugfs's
83                 command-line invocation).
84
85 2002-03-11  Theodore Tso  <tytso@mit.edu>
86
87         * ls.c (list_dir_proc): Fix bug: ls -l fails to print the file
88                 type correctly if running on big-endian systems.
89
90         * htree.c (htree_dump_leaf_node): Use the ext2_dirhash function
91                 instead of a local static function.
92
93 2002-03-08  Theodore Tso  <tytso@mit.edu>
94
95         * Release of E2fsprogs 1.27
96
97 2002-03-07    <tytso@snap.thunk.org>
98
99         * ls.c (list_dir_proc): Fix typo in debugfs which was causing a
100                 compiler warning.
101
102 2002-03-05  Theodore Tso  <tytso@mit.edu>
103
104         * lsdel.c (do_lsdel): lsdel uses the pager to print out the list
105                 of potentially deleted inode.  Thanks to Jaroslav Drzik
106                 <jdrzik@host.sk> for suggesting this enhancement.
107
108         * debugfs.c (do_modify_inode): Fix bug which caused modify_inode
109                 to core dump if a fliesystem isn't open.  Thanks to 
110                 Jaroslav Drzik <jdrzik@host.sk> for finding and reporting
111                 the bug and his proposed fix.
112
113 2002-02-26  Theodore Tso  <tytso@mit.edu>
114
115         * ls.c (list_dir_proc): When listing the directory entry in long 
116                 format, include the file type of the directory entry in 
117                 parenthesis.
118
119 2002-02-25  Theodore Tso  <tytso@mit.edu>
120
121         * util.c (open_pager): If the PAGER environment is set to __none__
122                 then don't use a pager at all, and ship it all to stdout.
123
124         * Makefile.in, debug_cmds.ct, htree.c: Add new file htree.c, which
125                 implements the three new commands, htree_dump, dx_hash,
126                 and dirsearch.
127
128 2002-02-24  Theodore Tso  <tytso@mit.edu>
129
130         * Makefile.in (install): Remove any compressed man pages before
131                 installing the man pages.
132
133 2002-02-03  Theodore Tso  <tytso@thunk.org>
134
135         * Release of E2fsprogs 1.26
136
137 2002-01-03  Theodore Tso  <tytso@mit.edu>
138
139         * lsdel.c (do_lsdel): New optional argument which allows the user
140                 to only see the most recently deleted files.
141
142         * debugfs.c (do_undel, do_testb, do_freeb, do_setb, do_ffb): Add
143                 new command, undelete, which automates undeleting a
144                 deleted inode and linking it back to a directory.  Add a
145                 count argument to the testb, freeb, setb, and ffb commands.
146
147         * ls.c (list_dir_proc, do_list_dir): Add support for -d option
148                 which lists deleted directory entries.
149
150         * debug_cmds.ct: Add new command, undelete.
151
152         * dump.c, icheck.c, logdump.c, ls.c, lsdel.c, setsuper.c,
153                 debugfs.c: Use new utility functions which factor out
154                 commonly used code.
155
156         * util.c (debugfs_read_inode, debugfs_write_inode,
157                 common_block_args_process, common_inode_args_process,
158                 common_args_process, strtoblk, parse_ulong): New
159                 functions which factor out commonly used code into
160                 subroutines for ease of maintenance and to make the
161                 executable size smaller.
162
163 2001-12-23  Theodore Tso  <tytso@mit.edu>
164
165         * Makefile.in, jfs_user.h: Move linux/jbd.h to
166                 ext2fs/kernel-jbd.h, to avoid using the system header
167                 file version of hbd.h when using diet glibc (since it
168                 forcibly adds /usr/include to the beginning of the
169                 include search path.)
170
171 2001-12-22  Theodore Tso  <tytso@mit.edu>
172
173         * debugfs.c (kill_file_by_inode, release_blocks_proc): Update the
174                 group descriptor free block and inode counts when deleting
175                 or killing a file.
176
177 2001-12-16  Theodore Tso  <tytso@mit.edu>
178
179         * setsuper.c (print_possible_fields), 
180                 logdump.c (dump_journal): Fix gcc -Wall nits
181
182         * Makefile.in, jfs_user.h: linux/jfs.h has been renamed to
183                 linux/jbd.h
184
185 2001-12-02  Theodore Tso  <tytso@mit.edu>
186
187         * util.c (close_pager): Use pclose() instead of fclose() when
188                 closing the pager stream.
189
190 2001-11-30  Theodore Tso  <tytso@mit.edu>
191
192         * debugfs.c (finish_range, dump_blocks): Fixed bug in Andreas's >
193                 2GB support changes: you need to use %lld when printf'ing
194                 an long long variable.
195
196 2001-11-24  Theodore Tso  <tytso@mit.edu>
197
198         * debugfs.8.in: Update manual page to document the set_super_value
199                 and logdump commands, and move the "specifying files"
200                 section closer to the beginning of the man page so people
201                 won't miss it.
202
203         * setsuper.c (print_possible_fields): "set_super_value -l" now
204                 prints out the list of valid superblock fields which the
205                 ssv command can set.
206
207 2001-09-20  Theodore Tso  <tytso@thunk.org>
208
209         * Release of E2fsprogs 1.25
210
211 2001-09-02  Theodore Tso  <tytso@thunk.org>
212
213         * Release of E2fsprogs 1.24a
214
215 2001-08-30  Theodore Tso  <tytso@thunk.org>
216
217         * Release of E2fsprogs 1.24
218
219 2001-08-27  Theodore Tso  <tytso@valinux.com>
220
221         * debugfs.c (main): Remove EXT2FS_VERSION from the version
222                 display, since it only confuses people.
223
224 2001-08-15  Theodore Tso  <tytso@valinux.com>
225
226         * Release of E2fsprogs 1.23
227
228 2001-08-12  Theodore Tso  <tytso@valinux.com>
229
230         * logdump.c (do_logdump, dump_journal): Add support for dumping
231                 external journals.
232
233 2001-06-23  Theodore Tso  <tytso@valinux.com>
234
235         * Release of E2fsprogs 1.22
236
237 2001-06-15  Theodore Tso  <tytso@valinux.com>
238
239         * Release of E2fsprogs 1.21
240
241 2001-06-13  Theodore Tso  <tytso@valinux.com>
242
243         * setsuper.c: Add s_lastcheck field to the fields which can be
244                 modified using set_super_value.  (Suggested by Andreas
245                 Dilger)
246
247 2001-06-03  Theodore Tso  <tytso@valinux.com>
248
249         * debugfs.c (copy_file): Fixed signed vs unsigned bug which causes
250                 read errors to not be noticed.
251
252 2001-06-01  Theodore Tso  <tytso@valinux.com>
253
254         * Makefile.in: Move include/asm/types.h.in to 
255                 lib/ext2fs/ext2_types.h.in.
256
257         * debugfs.c, debugfs.h, logdump.c: Fix various gcc -Wall nitpicks.
258
259         * logdump.c (read_journal_block): Replace pread with lseek/read
260                 combination.
261
262 2001-05-25  Theodore Tso  <tytso@valinux.com>
263
264         * Release of E2fsprogs 1.20
265
266 2001-05-14  Theodore Tso  <tytso@valinux.com>
267
268         * debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
269
270 2001-05-12  Theodore Tso  <tytso@valinux.com>
271
272         * debugfs.c (print_features): Use fputs instead of printf to
273                 output using the passed-in FILE *.
274
275 2001-05-09  Theodore Tso  <tytso@valinux.com>
276
277         * debugfs.c (do_write, do_mknod): Set the file type information
278                 when creating the inode.
279
280 2001-05-03  Theodore Tso  <tytso@valinux.com>
281
282         * debugfs.c (do_open_filesys, main): Add -i option which will
283                 allow debugfs to examine ext2 image files.
284
285 2001-03-29  Theodore Tso  <tytso@valinux.com>
286
287         * debugfs.c (dump_blocks, dump_inode, internal_dump_inode): Add
288                 internal_dump_inode() interface for the logdump command.
289
290         * logdump.c: Imported code from Stephen Tweedie to dump the ext3
291                 journal.
292
293 2001-03-18  Theodore Tso  <tytso@valinux.com>
294
295         * debugfs.c (do_write, do_mknod): Remove extra (useless) call to
296                 ext2fs_write_inode.
297
298 2001-01-12  Theodore Ts'o  <tytso@valinux.com>
299
300         * setsuper.c: Cleaned up some random whitespace problems.
301
302         * debugfs.h,  debugfs.c  (do_show_super_stats): Use  full words
303                 instead of pluralism hack  to make I18N conversion easier.
304                 Clean up gcc -Wall complaints.
305
306 2001-01-11    <tytso@snap.thunk.org>
307
308         * debugfs.c, debugfs.h, dump.c, icheck.c, ls.c, lsdel.c, ncheck.c,
309                 setsuper.c, util.c: Change ino_t to ext2_ino_t.  Fix a few
310                 minor gcc-wall complaints while we're at it.
311
312 2001-01-01    <tytso@snap.thunk.org>
313
314         * debugfs.c Replace use of struct ext2fs_sb with struct
315                 ext2_super_block.
316
317 2000-12-30    <tytso@snap.thunk.org>
318
319         * dump.c (fix_perms): Fix bug for systems which don't have fchown;
320                 was incorrectly using chmod instead of chown.
321
322         * setsuper.c (find_field): Strip the s_prefix if given for ssv
323                 fields.  Remove hard-coded s_ from inode_size
324                 field.  (Suggested by Andreas Dilger)
325
326         * debugfs.c (do_modify_inode): Add the ability to set the inode
327                 generation number.  (Suggested by Andreas Dilger)
328
329 2000-08-23    <tytso@valinux.com>
330
331         * util.c (string_to_inode): Use strtoul instead of atoi, so that
332                 hex inode numbers will be accepted.
333
334 2000-08-19    <tytso@valinux.com>
335
336         * util.c (open_pager): Set SIGPIPE to be ignored, so that quitting
337                 out of the pager doesn't blow away debugfs.
338
339 2000-08-14    <tytso@valinux.com>
340
341         * debugfs.c (do_show_super_stats): Use list_super2() instead of
342                 using explicit printf statements.  (We get a more complete
343                 printout this way.)
344
345         * util.c (open_pager): If the PAGER environment variable is not
346                 set, default to using "more".
347
348         * setsuper.c: New function which implements the set_super_value
349                 command.  Allows the user to set arbitrary superblock
350                 fields.
351
352         * debugfs.c (dump_inode): Cap the length when printing a fast
353                 symbolic link to inode.i_size.
354                 (list_blocks_proc): Print block ranges (4510-4533) to make
355                 the stat output easier to read.
356
357 2000-06-27  Andreas Dilger <adilger@turbolabs.com>
358
359         * debugfs.c (list_blocks_proc): show relative inode block numbers
360                 and/or indirect block status
361
362 2000-07-13    <tytso@valinux.com>
363
364         * Release of E2fsprogs 1.19
365
366 2000-07-05  Theodore Ts'o  <tytso@valinux.com>
367
368         * debugfs.c (dump_inode): Make the generation field be printed as
369                 an unsigned integer.
370
371 2000-07-04    <tytso@snap.thunk.org>
372
373         * Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the
374                 mk_cmds support files from the source tree.
375
376 2000-06-09    <tytso@snap.thunk.org>
377
378         * lsdel.c (do_lsdel): Handle bad bad blocks in inode table.
379
380 2000-05-27  Theodore Ts'o  <tytso@valinux.com>
381
382         * debugfs.c (do_testb, do_testi): Call check_fs_bitmaps to avoid
383                 coredumping if the bitmaps aren't loaded.
384
385         * util.c (check_fs_bitmaps): New function which checks whether or
386                 not the bitmaps are loaded.
387
388 2000-05-23  Aaron Crane  <aaronc@pobox.com>
389
390         * debugfs.8.in: Documented new behaviour.
391
392         * ls.c (ls_l_file): Fix Y2K bug -- was printing 22-May-100 for
393                 recent files.  Switched to 4-digit years.
394
395         * dump.c, debug_cmds.ct (do_rdump): Add new debugfs command
396                 "rdump", which recursively dumps a directory and its
397                 contents.
398                 (fix_perms): New function.  Break permission-fixing
399                 code out of dump_file() so it can be called by rdump
400                 code as well.
401                 (dump_file): Call fix_perms().
402
403         * debugfs.c, debug_cmds.ct (do_lcd): Add new debugfs command
404                 "lcd", which changes the cwd on the native filesystem.
405
406         * debugfs.c (open_filesystem): Extra args for superblock,
407                 blocksize, and catastrophic mode.  Changed callers.
408                 (do_open_filesys, main): Accept new -b, -s, -c options
409                 for open_filesystem.
410
411 2000-02-02  Theodore Ts'o  <tytso@valinux.com>
412
413         * debugfs.c (dump_inode): Remove #ifdef for i_version
414                 vs. i_generation since we know it will always be
415                 i_generation now.
416
417 2000-01-18  Theodore Ts'o  <tytso@valinux.com>
418
419         * debugfs.c (main): Use return instead of exit at the end of main
420                 to avoid some compiler warnings.
421
422         * Makefile.in: Since LIBUUID can sometimes include
423                 "-lsocket" we need a separate DEPLIBUUID that can be used
424                 in Makefile's dependency rules.
425
426 1999-11-19    <tytso@valinux.com>
427
428         * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
429                 the source directory.
430
431 1999-11-10    <tytso@valinux.com>
432
433         * Release of E2fsprogs 1.18
434
435 1999-11-08    <tytso@valinux.com>
436
437         * icheck.c (do_icheck): 
438         * ncheck.c (do_ncheck): If ext2fs_open_inode_scan() returns 
439                 EXT2_ET_BAD_BLOCK_IN_INODE_TABLE loop to skip over the bad
440                 blocks in the inode table.
441
442 1999-10-26    <tytso@valinux.com>
443
444         * Release of E2fsprogs 1.17
445
446 1999-10-26    <tytso@valinux.com>
447
448         * debugfs.h: Add declaration for do_features()
449
450         * debugfs.c: Add #incldue of e2p.h to fix gcc warnings.
451
452 1999-10-25    <tytso@valinux.com>
453
454         * debugfs.c (do_dirty_filesys): Make the "dirty" command clear the
455                 valid bit on the superblock.  (And with a -clean option to
456                 set the valid bit.)  Originally it was used just to set
457                 the "needs to be written" bit in the in-core version of
458                 the fs structure.
459
460 1999-10-22    <tytso@valinux.com>
461
462         * Release of E2fsprogs 1.16
463
464 1999-09-07    <tytso@rsts-11.mit.edu>
465
466         * debugfs.c, debug_cmds.ct: Add new debugfs command "feature"
467                 which allows the user to set or clear filesystme features.
468                 Add the -f (force) option to the open command.  Add the 
469                 -h (superblock header only) option to the stats command.
470
471 1999-07-30    <tytso@rsts-11.mit.edu>
472
473         * debugfs.c (dump_inode): Fix debugfs message so it is the same
474                 for when compiled under either Linux 2.2 or 2.3.  This
475                 allows for the f_swapfs regression test suite to work
476                 regardless of which OS e2fsprogs was compiled on.
477
478 1999-07-18  Theodore Ts'o  <tytso@rsts-11.mit.edu>
479
480         * Release of E2fsprogs 1.15
481
482 1999-06-23    <tytso@valinux.com>
483
484         * debugfs.c (dump_inode): Add compatibility for Linux 2.3 kernels
485                 that use i_generation instead of i_version.  Patch
486                 supplied by Jon Bright <sircus@sircus.demon.co.uk>.
487
488 1999-02-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
489
490         * icheck.c (do_icheck): Check to make sure the inode has valid
491                 blocks before iterating over that inode's blocks.
492
493 1999-01-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
494
495         * Release of E2fsprogs 1.14
496
497 1998-12-15  Theodore Ts'o  <tytso@rsts-11.mit.edu>
498
499         * Release of E2fsprogs 1.13
500
501 1998-12-03  Theodore Ts'o  <tytso@rsts-11.mit.edu>
502
503         * Makefile.in: Updated dependencies.
504
505 1998-07-31  Theodore Ts'o  <tytso@rsts-11.mit.edu>
506
507         * debugfs.c (do_stat, do_clri): Fix bug where debugfs wasn't
508                 displaying the error message if ext2fs_read_inode() failed.
509                 (do_rm): Fix similar problem for call to ext2fs_namei().
510         
511 1998-07-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
512
513         * Release of E2fsprogs 1.12
514
515 1998-06-27  Theodore Ts'o  <tytso@rsts-11.mit.edu>
516
517         * debugfs.c: Add a -V option which displays the current version.
518
519 1998-03-31  Theodore Ts'o  <tytso@rsts-11.mit.edu>
520
521         * Makefile.in: Change to use new installation directory variables
522                 convention.  Fix installdirs and uninstall rules to reflect
523                 the fact that debugfs has been installed in the root
524                 filesystem.  Fix uninstall rules to take $(DESTDIR) into
525                 account.
526
527 1998-03-29  Theodore Ts'o  <tytso@rsts-11.mit.edu>
528
529         * debugfs.h: Add declaration for do_dirty_filsys() to prevent
530                 -Wall warnings.
531
532         * debugfs.c (copy_file): 
533         * dump.c (dump_file): Fix -Wall warning caused by
534                 signed/unsigned mismatch. 
535
536 1998-03-23  Theodore Ts'o  <tytso@rsts-11.mit.edu>
537
538         * debugfs.c, ls.c, lsdel.c: Add support for large files.  (The
539                 high 32 bits share space with the i_dir_acl field.)
540
541 Sun Mar  8 22:53:04 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
542
543         * ls.c (list_dir_proc): Mask off high 8 bits from
544                 dirent->name_len.
545
546 Mon Dec  1 13:21:09 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
547
548         * Makefile.in: Install debugfs in /sbin, instead of /usr/sbin.
549
550 Sat Oct 25 18:35:30 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
551
552         * debugfs.c (copy_file), dump.c (dump_file): Change to use the new
553                 fileio primitives in libext2.
554
555 Fri Oct 24 23:47:43 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
556
557         * debugfs.c (main, do_open_filesys): 
558         * dump.c (do_dump): Make the variable which getopt returns into be
559                 an int, so that it won't lose on platforms where char is
560                 unsigned. 
561
562 Tue Oct 14 21:50:24 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
563
564         * debugfs.c (main): When printing a usage message, have main
565                 return 1 (instead of not specifying a return value, bad!)
566
567 Mon Sep 15 22:03:36 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
568
569         * debugfs.c (main): Fix declaration of main so that it returns an int.
570
571 Tue Jun 17 01:33:20 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
572
573         * Release of E2fsprogs 1.11
574
575 Thu May  8 23:05:40 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
576
577         * debugfs.8.in: Fix minor typos and grammer oops found by Bill
578                 Hawes (whawes@star.net).
579
580 Thu Apr 24 12:16:42 1997  Theodre Ts'o  <tytso@localhost.mit.edu>
581
582         * Release of E2fsprogs version 1.10
583
584 Thu Apr 17 12:23:38 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
585
586         * Release of E2fsprogs version 1.09
587
588 Fri Apr 11 18:56:26 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
589
590         * Release of E2fsprogs version 1.08
591
592 Thu Apr 10 14:36:05 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
593
594         * ls.c: New file which implements the ls command.  Added the -l
595                 option. 
596
597 Wed Mar 12 13:32:05 1997  Theodore Y. Ts'o  <tytso@mit.edu>
598
599         * Release of E2fsprogs version 1.07
600
601 Wed Jan  1 23:53:26 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
602
603         * lsdel.c (do_lsdel): Use time_to_string() instead of ctime().
604
605 Tue Oct  8 02:02:03 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
606
607         * Release of E2fsprogs version 1.06
608
609 Thu Sep 12 15:23:07 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
610
611         * Release of E2fsprogs version 1.05
612
613 Mon Sep  9 23:05:11 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
614
615         * debugfs.c (unlink_file_by_name): If unlinking a file with a
616                 directory path, correctly replace the slash with a NULL.
617                 (do_show_debugfs_params): Don't try to print the open mode
618                 if there's no filesystem opened (since that will cause a
619                 core dump).
620                 (main): Fix usage string; the -w and device elements are
621                 independently optional.
622
623 Tu Sep  3 15:09:39 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
624
625         * debugfs.c (main): Added -f option to debugfs, which takes a
626                 command file of debugfs commands and executes them.
627
628 Sat Aug 31 01:18:43 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
629
630         * debugfs.8.in: Heavily edited and improved manual page.
631
632         * dump.c (dump_file): Improve the write function for writing out
633                 the file, so that it is limited to the actual size of the
634                 file, instead of outputing the nulls following the EOF.
635                 Make sure dump_file does the right thing for files with holes.
636                 (do_dump): Add support for the -p option to the dump
637                 command, which attempts to preserve the owner and
638                 permissions field.
639
640 Fri Aug 30 14:56:59 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
641
642         * debugfs.c (main): Add -R option to debugfs, which allows it to
643                 take a single debugfs command on the command line.
644
645 Fri Aug  9 09:03:31 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
646
647         * debugfs.c (do_open_filesys): Set optind to 0 to reset getopt(),
648                 to be complete correct.
649                 (do_show_super_stats): Print OS type, volume label, last
650                 mounted directory, and UUID.
651                 (dump_inode): Print the fragment information in a
652                 filesystem independent way.
653                 (do_modify_inode): Modify the fragement information in a
654                 filesystem independent way.
655
656 Thu May 16 11:12:30 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
657
658         * Release of E2fsprogs version 1.04
659
660 Wed May 3 20:41:26 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
661
662         * debugfs.c (dump_inode): Correctly print the translator on the hurd.
663                (do_modify_inode): Modify the translator block on the hurd.
664
665 Wed Mar 27 00:33:40 1996    <tytso@rsts-11.mit.edu>
666
667         * Release of E2fsprogs version 1.03
668
669 Wed Jan 31 11:06:08 1996    <tytso@rsts-11.mit.edu>
670
671         * Release of E2fsprogs version 1.02
672
673 Fri Dec  1 22:42:31 1995    <tytso@rsts-11.mit.edu>
674
675         * Makefile.in (LIBS): Rearrange the order of the libraries to be
676                 linked, so that -lext2fs is before -lcom_err.
677
678 Thu Oct 26 12:05:06 1995    <tytso@rsts-11.mit.edu>
679
680         * Makefile.in (install): Strip programs when they are installed.
681
682 Fri Aug 18 15:09:08 1995  Theodore Y. Ts'o  <tytso@dcl>
683
684         * debugfs.c (do_find_free_block): Fix typo in code which checked
685                 to see if the usage message should be printed.
686
687 Thu Aug 17 22:55:58 1995    <tytso@rsts-11.mit.edu>
688
689         * debugfs.c (do_open_filesys): Change to always set optreset to 1,
690                 to make BSD getopt()'s happy.  Also set optind to 1, which
691                 should make more getopt()'s happy.
692
693 Fri Aug 11 08:45:01 1995  Theodore Y. Ts'o  <tytso@lurch.mit.edu>
694
695         * debugfs.c (do_find_free_block, do_find_free_inode): Fix bug in
696                 the usage handling where "ffi ?" or "ffb ?" would
697                 dereference a NULL pointer.
698
699 Fri Aug 11 14:21:07 1995  Remy Card  <card@bbj>
700
701         * debugfs.8: Updated date and version number.
702
703 Thu Aug 10 14:28:50 1995  Remy Card  <card@bbj>
704
705         * debugfs.8: Fixed a spelling error in Ted's name :-)
706
707 Mon Jun 12 19:08:25 1995  Theodore Y. Ts'o  (tytso@dcl)
708
709         * debugfs.c, ncheck.c, icheck.c, lsdel.c, dump.c: Include
710                 <errno.h> (if it exists)
711
712         * debugfs.c, dump.c, icheck.c, lsdel.c, ncheck.c: Don't include
713                 <getopt.h> if it doesn't exist.
714
715 Sun Jun 11 15:21:07 1995  Theodore Y. Ts'o  <tytso@lurch.mit.edu>
716
717         * ncheck.c (do_ncheck): Use LINUX_S_ISDIR instead of S_ISDIR
718
719         * debugfs.c: Implement the mknod and write commands (from Linus).
720
721                 Change names of modify_char, modify_short, and modify_long
722                 to be modify_u8, modify_u16, and modify_u32, respectively.
723
724 Thu Jun  8 12:29:15 1995  Miles Bader  <miles@churchy.gnu.ai.mit.edu>
725
726         * debugfs.c (dump_inode): Only print out inode frag fields if
727         HAVE_EXT2_FRAGS is defined (by configure).  Don't print out the
728         reserved field at all for  now.
729
730         * Makefile.in: Rewritten to conform to GNU coding standards and
731         support separate compilation directories.
732
733 Thu Nov 24 17:46:23 1994  Theodore Y. Ts'o  (tytso@rt-11)
734
735         * dump.c: Added two new commands, "dump" and "cat", which allow
736                 the user to dump the contents of an inode to a file or to
737                 stdout, respectively.
738
739