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