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