1
2002-03-08 Theodore Tso <tytso@mit.edu>
3
* Release of E2fsprogs 1.27
5
2002-03-07 <tytso@snap.thunk.org>
7
* ls.c (list_dir_proc): Fix typo in debugfs which was causing a
10
2002-03-05 Theodore Tso <tytso@mit.edu>
12
* lsdel.c (do_lsdel): lsdel uses the pager to print out the list
13
of potentially deleted inode. Thanks to Jaroslav Drzik
14
<jdrzik@host.sk> for suggesting this enhancement.
16
* debugfs.c (do_modify_inode): Fix bug which caused modify_inode
17
to core dump if a fliesystem isn't open. Thanks to
18
Jaroslav Drzik <jdrzik@host.sk> for finding and reporting
19
the bug and his proposed fix.
21
2002-02-26 Theodore Tso <tytso@mit.edu>
23
* ls.c (list_dir_proc): When listing the directory entry in long
24
format, include the file type of the directory entry in
27
2002-02-25 Theodore Tso <tytso@mit.edu>
29
* util.c (open_pager): If the PAGER environment is set to __none__
30
then don't use a pager at all, and ship it all to stdout.
32
* Makefile.in, debug_cmds.ct, htree.c: Add new file htree.c, which
33
implements the three new commands, htree_dump, dx_hash,
36
2002-02-24 Theodore Tso <tytso@mit.edu>
38
* Makefile.in (install): Remove any compressed man pages before
39
installing the man pages.
41
2002-02-03 Theodore Tso <tytso@thunk.org>
43
* Release of E2fsprogs 1.26
45
2002-01-03 Theodore Tso <tytso@mit.edu>
47
* lsdel.c (do_lsdel): New optional argument which allows the user
48
to only see the most recently deleted files.
50
* debugfs.c (do_undel, do_testb, do_freeb, do_setb, do_ffb): Add
51
new command, undelete, which automates undeleting a
52
deleted inode and linking it back to a directory. Add a
53
count argument to the testb, freeb, setb, and ffb commands.
55
* ls.c (list_dir_proc, do_list_dir): Add support for -d option
56
which lists deleted directory entries.
58
* debug_cmds.ct: Add new command, undelete.
60
* dump.c, icheck.c, logdump.c, ls.c, lsdel.c, setsuper.c,
61
debugfs.c: Use new utility functions which factor out
64
* util.c (debugfs_read_inode, debugfs_write_inode,
65
common_block_args_process, common_inode_args_process,
66
common_args_process, strtoblk, parse_ulong): New
67
functions which factor out commonly used code into
68
subroutines for ease of maintenance and to make the
69
executable size smaller.
71
2001-12-23 Theodore Tso <tytso@mit.edu>
73
* Makefile.in, jfs_user.h: Move linux/jbd.h to
74
ext2fs/kernel-jbd.h, to avoid using the system header
75
file version of hbd.h when using diet glibc (since it
76
forcibly adds /usr/include to the beginning of the
79
2001-12-22 Theodore Tso <tytso@mit.edu>
81
* debugfs.c (kill_file_by_inode, release_blocks_proc): Update the
82
group descriptor free block and inode counts when deleting
85
2001-12-16 Theodore Tso <tytso@mit.edu>
87
* setsuper.c (print_possible_fields),
88
logdump.c (dump_journal): Fix gcc -Wall nits
90
* Makefile.in, jfs_user.h: linux/jfs.h has been renamed to
93
2001-12-02 Theodore Tso <tytso@mit.edu>
95
* util.c (close_pager): Use pclose() instead of fclose() when
96
closing the pager stream.
98
2001-11-30 Theodore Tso <tytso@mit.edu>
100
* debugfs.c (finish_range, dump_blocks): Fixed bug in Andreas's >
101
2GB support changes: you need to use %lld when printf'ing
102
an long long variable.
104
2001-11-24 Theodore Tso <tytso@mit.edu>
106
* debugfs.8.in: Update manual page to document the set_super_value
107
and logdump commands, and move the "specifying files"
108
section closer to the beginning of the man page so people
111
* setsuper.c (print_possible_fields): "set_super_value -l" now
112
prints out the list of valid superblock fields which the
115
2001-09-20 Theodore Tso <tytso@thunk.org>
117
* Release of E2fsprogs 1.25
119
2001-09-02 Theodore Tso <tytso@thunk.org>
121
* Release of E2fsprogs 1.24a
123
2001-08-30 Theodore Tso <tytso@thunk.org>
125
* Release of E2fsprogs 1.24
127
2001-08-27 Theodore Tso <tytso@valinux.com>
129
* debugfs.c (main): Remove EXT2FS_VERSION from the version
130
display, since it only confuses people.
132
2001-08-15 Theodore Tso <tytso@valinux.com>
134
* Release of E2fsprogs 1.23
136
2001-08-12 Theodore Tso <tytso@valinux.com>
138
* logdump.c (do_logdump, dump_journal): Add support for dumping
141
2001-06-23 Theodore Tso <tytso@valinux.com>
143
* Release of E2fsprogs 1.22
145
2001-06-15 Theodore Tso <tytso@valinux.com>
147
* Release of E2fsprogs 1.21
149
2001-06-13 Theodore Tso <tytso@valinux.com>
151
* setsuper.c: Add s_lastcheck field to the fields which can be
152
modified using set_super_value. (Suggested by Andreas
155
2001-06-03 Theodore Tso <tytso@valinux.com>
157
* debugfs.c (copy_file): Fixed signed vs unsigned bug which causes
158
read errors to not be noticed.
160
2001-06-01 Theodore Tso <tytso@valinux.com>
162
* Makefile.in: Move include/asm/types.h.in to
163
lib/ext2fs/ext2_types.h.in.
165
* debugfs.c, debugfs.h, logdump.c: Fix various gcc -Wall nitpicks.
167
* logdump.c (read_journal_block): Replace pread with lseek/read
170
2001-05-25 Theodore Tso <tytso@valinux.com>
172
* Release of E2fsprogs 1.20
174
2001-05-14 Theodore Tso <tytso@valinux.com>
176
* debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
178
2001-05-12 Theodore Tso <tytso@valinux.com>
180
* debugfs.c (print_features): Use fputs instead of printf to
181
output using the passed-in FILE *.
183
2001-05-09 Theodore Tso <tytso@valinux.com>
185
* debugfs.c (do_write, do_mknod): Set the file type information
186
when creating the inode.
188
2001-05-03 Theodore Tso <tytso@valinux.com>
190
* debugfs.c (do_open_filesys, main): Add -i option which will
191
allow debugfs to examine ext2 image files.
193
2001-03-29 Theodore Tso <tytso@valinux.com>
195
* debugfs.c (dump_blocks, dump_inode, internal_dump_inode): Add
196
internal_dump_inode() interface for the logdump command.
198
* logdump.c: Imported code from Stephen Tweedie to dump the ext3
201
2001-03-18 Theodore Tso <tytso@valinux.com>
203
* debugfs.c (do_write, do_mknod): Remove extra (useless) call to
206
2001-01-12 Theodore Ts'o <tytso@valinux.com>
208
* setsuper.c: Cleaned up some random whitespace problems.
210
* debugfs.h, debugfs.c (do_show_super_stats): Use full words
211
instead of pluralism hack to make I18N conversion easier.
212
Clean up gcc -Wall complaints.
214
2001-01-11 <tytso@snap.thunk.org>
216
* debugfs.c, debugfs.h, dump.c, icheck.c, ls.c, lsdel.c, ncheck.c,
217
setsuper.c, util.c: Change ino_t to ext2_ino_t. Fix a few
218
minor gcc-wall complaints while we're at it.
220
2001-01-01 <tytso@snap.thunk.org>
222
* debugfs.c Replace use of struct ext2fs_sb with struct
225
2000-12-30 <tytso@snap.thunk.org>
227
* dump.c (fix_perms): Fix bug for systems which don't have fchown;
228
was incorrectly using chmod instead of chown.
230
* setsuper.c (find_field): Strip the s_prefix if given for ssv
231
fields. Remove hard-coded s_ from inode_size
232
field. (Suggested by Andreas Dilger)
234
* debugfs.c (do_modify_inode): Add the ability to set the inode
235
generation number. (Suggested by Andreas Dilger)
237
2000-08-23 <tytso@valinux.com>
239
* util.c (string_to_inode): Use strtoul instead of atoi, so that
240
hex inode numbers will be accepted.
242
2000-08-19 <tytso@valinux.com>
244
* util.c (open_pager): Set SIGPIPE to be ignored, so that quitting
245
out of the pager doesn't blow away debugfs.
247
2000-08-14 <tytso@valinux.com>
249
* debugfs.c (do_show_super_stats): Use list_super2() instead of
250
using explicit printf statements. (We get a more complete
253
* util.c (open_pager): If the PAGER environment variable is not
254
set, default to using "more".
256
* setsuper.c: New function which implements the set_super_value
257
command. Allows the user to set arbitrary superblock
260
* debugfs.c (dump_inode): Cap the length when printing a fast
261
symbolic link to inode.i_size.
262
(list_blocks_proc): Print block ranges (4510-4533) to make
263
the stat output easier to read.
265
2000-06-27 Andreas Dilger <adilger@turbolabs.com>
267
* debugfs.c (list_blocks_proc): show relative inode block numbers
268
and/or indirect block status
270
2000-07-13 <tytso@valinux.com>
272
* Release of E2fsprogs 1.19
274
2000-07-05 Theodore Ts'o <tytso@valinux.com>
276
* debugfs.c (dump_inode): Make the generation field be printed as
279
2000-07-04 <tytso@snap.thunk.org>
281
* Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the
282
mk_cmds support files from the source tree.
284
2000-06-09 <tytso@snap.thunk.org>
286
* lsdel.c (do_lsdel): Handle bad bad blocks in inode table.
288
2000-05-27 Theodore Ts'o <tytso@valinux.com>
290
* debugfs.c (do_testb, do_testi): Call check_fs_bitmaps to avoid
291
coredumping if the bitmaps aren't loaded.
293
* util.c (check_fs_bitmaps): New function which checks whether or
294
not the bitmaps are loaded.
296
2000-05-23 Aaron Crane <aaronc@pobox.com>
298
* debugfs.8.in: Documented new behaviour.
300
* ls.c (ls_l_file): Fix Y2K bug -- was printing 22-May-100 for
301
recent files. Switched to 4-digit years.
303
* dump.c, debug_cmds.ct (do_rdump): Add new debugfs command
304
"rdump", which recursively dumps a directory and its
306
(fix_perms): New function. Break permission-fixing
307
code out of dump_file() so it can be called by rdump
309
(dump_file): Call fix_perms().
311
* debugfs.c, debug_cmds.ct (do_lcd): Add new debugfs command
312
"lcd", which changes the cwd on the native filesystem.
314
* debugfs.c (open_filesystem): Extra args for superblock,
315
blocksize, and catastrophic mode. Changed callers.
316
(do_open_filesys, main): Accept new -b, -s, -c options
319
2000-02-02 Theodore Ts'o <tytso@valinux.com>
321
* debugfs.c (dump_inode): Remove #ifdef for i_version
322
vs. i_generation since we know it will always be
325
2000-01-18 Theodore Ts'o <tytso@valinux.com>
327
* debugfs.c (main): Use return instead of exit at the end of main
328
to avoid some compiler warnings.
330
* Makefile.in: Since LIBUUID can sometimes include
331
"-lsocket" we need a separate DEPLIBUUID that can be used
332
in Makefile's dependency rules.
334
1999-11-19 <tytso@valinux.com>
336
* Makefile.in (distclean): Remove TAGS and Makefile.in.old from
337
the source directory.
339
1999-11-10 <tytso@valinux.com>
341
* Release of E2fsprogs 1.18
343
1999-11-08 <tytso@valinux.com>
345
* icheck.c (do_icheck):
346
* ncheck.c (do_ncheck): If ext2fs_open_inode_scan() returns
347
EXT2_ET_BAD_BLOCK_IN_INODE_TABLE loop to skip over the bad
348
blocks in the inode table.
350
1999-10-26 <tytso@valinux.com>
352
* Release of E2fsprogs 1.17
354
1999-10-26 <tytso@valinux.com>
356
* debugfs.h: Add declaration for do_features()
358
* debugfs.c: Add #incldue of e2p.h to fix gcc warnings.
360
1999-10-25 <tytso@valinux.com>
362
* debugfs.c (do_dirty_filesys): Make the "dirty" command clear the
363
valid bit on the superblock. (And with a -clean option to
364
set the valid bit.) Originally it was used just to set
365
the "needs to be written" bit in the in-core version of
368
1999-10-22 <tytso@valinux.com>
370
* Release of E2fsprogs 1.16
372
1999-09-07 <tytso@rsts-11.mit.edu>
374
* debugfs.c, debug_cmds.ct: Add new debugfs command "feature"
375
which allows the user to set or clear filesystme features.
376
Add the -f (force) option to the open command. Add the
377
-h (superblock header only) option to the stats command.
379
1999-07-30 <tytso@rsts-11.mit.edu>
381
* debugfs.c (dump_inode): Fix debugfs message so it is the same
382
for when compiled under either Linux 2.2 or 2.3. This
383
allows for the f_swapfs regression test suite to work
384
regardless of which OS e2fsprogs was compiled on.
386
1999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu>
388
* Release of E2fsprogs 1.15
390
1999-06-23 <tytso@valinux.com>
392
* debugfs.c (dump_inode): Add compatibility for Linux 2.3 kernels
393
that use i_generation instead of i_version. Patch
394
supplied by Jon Bright <sircus@sircus.demon.co.uk>.
396
1999-02-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
398
* icheck.c (do_icheck): Check to make sure the inode has valid
399
blocks before iterating over that inode's blocks.
401
1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
403
* Release of E2fsprogs 1.14
405
1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
407
* Release of E2fsprogs 1.13
409
1998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu>
411
* Makefile.in: Updated dependencies.
413
1998-07-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
415
* debugfs.c (do_stat, do_clri): Fix bug where debugfs wasn't
416
displaying the error message if ext2fs_read_inode() failed.
417
(do_rm): Fix similar problem for call to ext2fs_namei().
419
1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
421
* Release of E2fsprogs 1.12
423
1998-06-27 Theodore Ts'o <tytso@rsts-11.mit.edu>
425
* debugfs.c: Add a -V option which displays the current version.
427
1998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
429
* Makefile.in: Change to use new installation directory variables
430
convention. Fix installdirs and uninstall rules to reflect
431
the fact that debugfs has been installed in the root
432
filesystem. Fix uninstall rules to take $(DESTDIR) into
435
1998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
437
* debugfs.h: Add declaration for do_dirty_filsys() to prevent
440
* debugfs.c (copy_file):
441
* dump.c (dump_file): Fix -Wall warning caused by
442
signed/unsigned mismatch.
444
1998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu>
446
* debugfs.c, ls.c, lsdel.c: Add support for large files. (The
447
high 32 bits share space with the i_dir_acl field.)
449
Sun Mar 8 22:53:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
451
* ls.c (list_dir_proc): Mask off high 8 bits from
454
Mon Dec 1 13:21:09 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
456
* Makefile.in: Install debugfs in /sbin, instead of /usr/sbin.
458
Sat Oct 25 18:35:30 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
460
* debugfs.c (copy_file), dump.c (dump_file): Change to use the new
461
fileio primitives in libext2.
463
Fri Oct 24 23:47:43 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
465
* debugfs.c (main, do_open_filesys):
466
* dump.c (do_dump): Make the variable which getopt returns into be
467
an int, so that it won't lose on platforms where char is
470
Tue Oct 14 21:50:24 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
472
* debugfs.c (main): When printing a usage message, have main
473
return 1 (instead of not specifying a return value, bad!)
475
Mon Sep 15 22:03:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
477
* debugfs.c (main): Fix declaration of main so that it returns an int.
479
Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
481
* Release of E2fsprogs 1.11
483
Thu May 8 23:05:40 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
485
* debugfs.8.in: Fix minor typos and grammer oops found by Bill
486
Hawes (whawes@star.net).
488
Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
490
* Release of E2fsprogs version 1.10
492
Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
494
* Release of E2fsprogs version 1.09
496
Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
498
* Release of E2fsprogs version 1.08
500
Thu Apr 10 14:36:05 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
502
* ls.c: New file which implements the ls command. Added the -l
505
Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
507
* Release of E2fsprogs version 1.07
509
Wed Jan 1 23:53:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
511
* lsdel.c (do_lsdel): Use time_to_string() instead of ctime().
513
Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
515
* Release of E2fsprogs version 1.06
517
Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
519
* Release of E2fsprogs version 1.05
521
Mon Sep 9 23:05:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
523
* debugfs.c (unlink_file_by_name): If unlinking a file with a
524
directory path, correctly replace the slash with a NULL.
525
(do_show_debugfs_params): Don't try to print the open mode
526
if there's no filesystem opened (since that will cause a
528
(main): Fix usage string; the -w and device elements are
529
independently optional.
531
Tu Sep 3 15:09:39 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
533
* debugfs.c (main): Added -f option to debugfs, which takes a
534
command file of debugfs commands and executes them.
536
Sat Aug 31 01:18:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
538
* debugfs.8.in: Heavily edited and improved manual page.
540
* dump.c (dump_file): Improve the write function for writing out
541
the file, so that it is limited to the actual size of the
542
file, instead of outputing the nulls following the EOF.
543
Make sure dump_file does the right thing for files with holes.
544
(do_dump): Add support for the -p option to the dump
545
command, which attempts to preserve the owner and
548
Fri Aug 30 14:56:59 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
550
* debugfs.c (main): Add -R option to debugfs, which allows it to
551
take a single debugfs command on the command line.
553
Fri Aug 9 09:03:31 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
555
* debugfs.c (do_open_filesys): Set optind to 0 to reset getopt(),
556
to be complete correct.
557
(do_show_super_stats): Print OS type, volume label, last
558
mounted directory, and UUID.
559
(dump_inode): Print the fragment information in a
560
filesystem independent way.
561
(do_modify_inode): Modify the fragement information in a
562
filesystem independent way.
564
Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
566
* Release of E2fsprogs version 1.04
568
Wed May 3 20:41:26 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
570
* debugfs.c (dump_inode): Correctly print the translator on the hurd.
571
(do_modify_inode): Modify the translator block on the hurd.
573
Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu>
575
* Release of E2fsprogs version 1.03
577
Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
579
* Release of E2fsprogs version 1.02
581
Fri Dec 1 22:42:31 1995 <tytso@rsts-11.mit.edu>
583
* Makefile.in (LIBS): Rearrange the order of the libraries to be
584
linked, so that -lext2fs is before -lcom_err.
586
Thu Oct 26 12:05:06 1995 <tytso@rsts-11.mit.edu>
588
* Makefile.in (install): Strip programs when they are installed.
590
Fri Aug 18 15:09:08 1995 Theodore Y. Ts'o <tytso@dcl>
592
* debugfs.c (do_find_free_block): Fix typo in code which checked
593
to see if the usage message should be printed.
595
Thu Aug 17 22:55:58 1995 <tytso@rsts-11.mit.edu>
597
* debugfs.c (do_open_filesys): Change to always set optreset to 1,
598
to make BSD getopt()'s happy. Also set optind to 1, which
599
should make more getopt()'s happy.
601
Fri Aug 11 08:45:01 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
603
* debugfs.c (do_find_free_block, do_find_free_inode): Fix bug in
604
the usage handling where "ffi ?" or "ffb ?" would
605
dereference a NULL pointer.
607
Fri Aug 11 14:21:07 1995 Remy Card <card@bbj>
609
* debugfs.8: Updated date and version number.
611
Thu Aug 10 14:28:50 1995 Remy Card <card@bbj>
613
* debugfs.8: Fixed a spelling error in Ted's name :-)
615
Mon Jun 12 19:08:25 1995 Theodore Y. Ts'o (tytso@dcl)
617
* debugfs.c, ncheck.c, icheck.c, lsdel.c, dump.c: Include
618
<errno.h> (if it exists)
620
* debugfs.c, dump.c, icheck.c, lsdel.c, ncheck.c: Don't include
621
<getopt.h> if it doesn't exist.
623
Sun Jun 11 15:21:07 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
625
* ncheck.c (do_ncheck): Use LINUX_S_ISDIR instead of S_ISDIR
627
* debugfs.c: Implement the mknod and write commands (from Linus).
629
Change names of modify_char, modify_short, and modify_long
630
to be modify_u8, modify_u16, and modify_u32, respectively.
632
Thu Jun 8 12:29:15 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
634
* debugfs.c (dump_inode): Only print out inode frag fields if
635
HAVE_EXT2_FRAGS is defined (by configure). Don't print out the
636
reserved field at all for now.
638
* Makefile.in: Rewritten to conform to GNU coding standards and
639
support separate compilation directories.
641
Thu Nov 24 17:46:23 1994 Theodore Y. Ts'o (tytso@rt-11)
643
* dump.c: Added two new commands, "dump" and "cat", which allow
644
the user to dump the contents of an inode to a file or to
645
stdout, respectively.