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