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