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