1 2006-02-05 Theodore Ts'o <tytso@mit.edu>
3 * Release of E2fsprogs 1.36
5 2005-02-03 Theodore Ts'o <tytso@mit.edu>
7 * set_fields.c: Define _XOPEN_SOURCE to be 500 to fix compilation
10 2005-01-20 Theodore Ts'o <tytso@mit.edu>
12 * set_fields.c: Add support for the jnl_blocks[] for set_super_value
14 2005-01-19 Matthias Andree <matthias.andree@gmx.de>
16 * set_fields.c: Add _XOPEN_SOURCE #define on all but Solaris
17 systems so that strptime() gets defined.
18 (parse_bmap): Add missing return statement.
20 2005-01-07 Theodore Ts'o <tytso@mit.edu>
22 * debug_cmds.ct: Make the official name of set_inode be
23 set_inode_field, since it is more intuitive.
25 * set_fields.c (print_possible_fields): Document bmap[] in
26 "set_inode_field -l" listing. Change name of set_inode to
27 set_inode_field in usage message.
29 2004-12-23 Theodore Ts'o <tytso@mit.edu>
31 * set_fields.c: Add support for array indexes, which we use for
32 the i_block[] array. Also add the pseudo inode field
33 bmap, which can be used for setting logical->physical
36 2004-12-21 Theodore Ts'o <tytso@mit.edu>
38 * setfields.c: Renamed from setsuper.c
39 Added support to set date/time fields.
40 Added support for setting superblock values wtime, mtime,
41 lastcheck, and mkfs_time as date/time fields.
42 Added support for the set_inode command.
43 * debugfs.h, debug_cmds.ct, debugfs.8.in: Added set_inode command
45 2004-12-16 Theodore Ts'o <tytso@mit.edu>
47 * setsuper.c: Add definitions for newer superblock fields:
48 reserved_gdt_blocks, jnl_backup_type, default_mount_opts,
49 first_meta_bg, and mkfs_time.
51 2004-12-14 Theodore Ts'o <tytso@mit.edu>
53 * Makefile.in: Move strip command to install-strip target.
54 Use Linux-kernel-style makefile output for "make install"
56 * Makefile.in (installdirs): Use $(MKINSTALLDIRS) macro
58 2004-11-30 Theodore Ts'o <tytso@mit.edu>
60 * util.c (time_to_string): If the TZ environment variable is set
61 to GMT, use gmtime() instead of localtime() or ctime() to
62 force the use of GMT. This is because the dietlibc
63 doesn't honor the TZ environment variable.
65 * Makefile.in: Use Linux-kernel-style makefile output to make it
66 easier to see errors/warnings.
68 2004-11-29 Theodore Ts'o <tytso@mit.edu>
70 * debugfs.c (do_open_filesys): Fix obvious uninitialized variable
73 2004-11-19 Theodore Ts'o <tytso@mit.edu>
75 * debugfs.c (kill_file_by_inode): Only iterate over the inode to
76 release blocks if the inode has them; otherwise attempting
77 to rm devices and fast symlinks will lead to errors.
78 (Addresses Sourceforge Bug #954741 and #957244)
80 2004-07-28 Theodore Ts'o <tytso@mit.edu>
82 * debugfs.c, debugfs.8.in: Add new option -d which allows the
83 system administrator to specify data source of a
84 filesystem being opened via an e2image file.
86 2004-04-11 Theodore Ts'o <tytso@mit.edu>
88 * util.c (open_pager): Use DEBUGFS_PAGER in preference to PAGER
89 (Addresses Debian Bug #239547)
91 2004-04-03 Theodore Ts'o <tytso@mit.edu>
93 * Makefile.in: Update the modtime even if subst doesn't need to
94 update the debugfs man page, to avoid always re-running
95 subst, especially since there are no dependencies on the
98 2004-03-20 Theodore Ts'o <tytso@mit.edu>
100 * debugfs.c (make_link): Set the filetype information when
103 2004-02-28 Theodore Ts'o <tytso@mit.edu>
105 * Release of E2fsprogs 1.35
107 2004-02-23 Theodore Ts'o <tytso@mit.edu>
109 * debugfs.c (internal_dump_inode): Display the major/minor device
110 numbers for block/character devices.
111 (do_mknod): Add support for new-style device numbers (where
112 the major or minor number is greater than 255 and less
113 than 65535). (Addresses Sourceforge bug #865289)
115 2004-02-21 Theodore Ts'o <tytso@mit.edu>
117 * debugfs.8.in: Fix the debugfs man page to reference the
118 init_filesys command, instead of "initialize". (Addresses
121 2004-02-14 Theodore Ts'o <tytso@mit.edu>
123 * debugfs.c (internal_dump_inode): Correctly deal with symlinks
124 that have extended attribute information. (Addresses
127 2004-01-24 Theodore Ts'o <tytso@mit.edu>
129 * debugfs.8.in: Document the PAGER and DEBUGFS_PAGER environment
132 * util.c (open_pager): Use the "more" pager in preference to
133 "less", since "less" doesn't work terribly well for
136 2003-12-25 Theodore Ts'o <tytso@mit.edu>
138 * util.c (open_pager): Try to use the DEBUGFS_PAGER environment
139 variable first, and then fall back to the PAGER
140 environment variable. Finally, search for an appropriate
143 2003-12-11 Theodore Ts'o <tytso@thunk.org>
145 * debugfs.c (do_write, do_mkdir): If the directory is full,
146 automatically call ext2fs_expand_dir() and then retry to
147 add the link to the directory as a convenience to the
148 user. (Addresses Debian Bug: #217892)
149 (do_mknod): Clean up expand_dir error handling.
151 2003-12-07 Theodore Ts'o <tytso@mit.edu>
153 * debugfs.c (do_write): Mask off the file type bits, and OR in the
154 regular file information. (Addresses Debian Bug: #217456)
156 * util.c (open_pager): Search for the pager to use, starting with
157 'pager', and then falling back to 'less' and then 'more'.
158 (Addresses Debian Bug: #221977)
160 * debugfs.c, debugfs.h, dump.c, htree.c, icheck.c, logdump.c,
161 ls.c, lsdel.c, ncheck.c, setsuper.c, unused.c: Fix gcc
164 2003-08-24 Theodore Ts'o <tytso@mit.edu>
166 * debugfs.8.in: Adjust description line so that apropos
167 "ext2" or "ext3" will find the man page. (Addresses
170 2003-08-21 Theodore Ts'o <tytso@mit.edu>
172 * debugfs.8.in: Fully document the logdump command in the debugfs
175 * logdump.c (do_logdump): Add -s option which will use the journal
176 inode information in the superblock.
178 2003-07-25 Theodore Ts'o <tytso@mit.edu>
180 * Release of E2fsprogs 1.34
182 2003-07-06 Theodore Ts'o <tytso@mit.edu>
184 * debugfs.c (do_imap): Fix gcc -Wall nitpicks (printf format types).
186 2003-05-21 Theodore Ts'o <tytso@mit.edu>
188 * unused.c (do_dump_unused): Add new command which dumps the
189 unused blocks. (Initial implementation; currently only
190 dumps the output to stdout.)
192 2003-05-13 root <tytso@mit.edu>
194 * util.c (reset_getopt), debugfs.c (do_open_filesys,
195 do_show_super_stats), ls.c (do_list_dir), dump.c (do_dump),
196 htree.c (do_htree_dump, do_dx_hash), logdump.c (do_logdump):
197 Define and use a new function, reset_getopt(), which does whatever
198 is necessary to reset getopt() again. This is different for
199 different implementations, so the portabilty issues are a bit of a
200 nightmare. (Addresses Debian bug #192834)
202 2003-05-05 Theodore Ts'o <tytso@mit.edu>
204 * debugfs.c (do_imap), debugfs.h, debug_cmds.ct, debugfs.8.in:
205 Added new command, imap, which prints the location of a
206 specified inode in the inode table.
208 2003-04-21 Theodore Ts'o <tytso@mit.edu>
210 * Release of E2fsprogs 1.33
212 2003-03-16 Theodore Ts'o <tytso@mit.edu>
214 * Makefile.in (DLOPEN_LIB): Link in the libdl library if it is
215 present on the system.
217 * debugfs.c (main): Call ss_get_readline() to attempt to pull in
218 the readline library.
220 2003-03-06 Theodore Tso <tytso@mit.edu>
222 * debugfs.c (do_open_filesys, do_show_super_stats),
223 ls.c (do_list_dir), dump.c (do_dump), htree.c (do_htree_dump,
224 do_dx_hash), logdump.c (do_logdump): Reset optind to 1 for better
225 compatibility with non-glibc implementations of getopt.
227 2003-03-01 Theodore Ts'o <tytso@mit.edu>
229 * Makefile.in, logdump.c (do_logdump): Use the blkid functions to
230 find the external journal device.
232 2003-01-21 Theodore Ts'o <tytso@mit.edu>
234 * dump.c (do_dump): Open the output file with O_LARGEFILE so we
235 can write files larger than 2GB.
237 2002-11-09 Theodore Ts'o <tytso@mit.edu>
239 * Release of E2fsprogs 1.32
241 2002-11-08 Theodore Ts'o <tytso@mit.edu>
243 * Release of E2fsprogs 1.31
245 2002-10-31 Theodore Ts'o <tytso@mit.edu>
247 * Release of E2fsprogs 1.30
249 2002-10-31 Theodore Ts'o <tytso@mit.edu>
251 * debugfs.c (do_write): Check to see if the filename exists before
252 creating it, and give an error if so. Addresses
253 Sourceforge bug #478195.
255 2002-10-30 Theodore Ts'o <tytso@mit.edu>
257 * Makefile.in (install): Search all compression extensions when
258 deleting old man pages.
260 2002-10-13 Theodore Ts'o <tytso@mit.edu>
262 * debugfs.h, htree.c, setsuper.c: Fix gcc -Wall nits.
264 2002-10-02 Theodore Y. Ts'o <tytso@mit.edu>
266 * htree.c (htree_dump_leaf_node): Use ext2fs_read_dir_block2 so
267 that the directory entries are appropriately byte-swapped.
269 2001-09-24 Theodore Tso <tytso@mit.edu>
271 * Release of E2fsprogs 1.29
273 2002-09-22 root <tytso@mit.edu>
275 * htree.c (htree_dump_int_node): Flag continuation hashes to make
278 2001-08-31 Theodore Tso <tytso@thunk.org>
280 * Release of E2fsprogs 1.28
282 2002-08-23 Theodore Ts'o <tytso@mit.edu>
284 * setsuper.c: Add support for the fields s_uuid, s_journal_uuid,
285 s_hash_seed, s_def_hash_version. Add routines for parsing
286 UUID's and hash algorithm identifiers.
288 2002-08-16 Theodore Ts'o <tytso@mit.edu>
290 * icheck.c (do_icheck): Check to see if the block is listed as
291 part of the extended attribute block.
293 2002-07-21 Theodore Ts'o <tytso@mit.edu>
295 * htree.c (do_htree_dump): Fix a bug where we were not cleanly
296 closing the pager after errors, which would leave the
299 2002-07-18 Theodore Ts'o <tytso@mit.edu>
301 * htree.c (htree_dump_int_node): Add byte swapping code sot that
302 the htree dump function works on a big-endian machine.
304 2002-07-15 Theodore Ts'o <tytso@mit.edu>
306 * debugfs.c (do_show_super_stats): Calculate and print the number
307 of directories on a filesystem --- because we can and
308 because it can be useful.
310 2002-07-09 Theodore Ts'o <tytso@mit.edu>
312 * debugfs.c (do_rmdir), debugfs.8.in: Implement the rmdir command.
313 Addresses Debian bug #138003.
315 2002-06-26 Theodore Ts'o <tytso@mit.edu>
317 * htree.c (do_dx_hash): Use new ext2fs_dirhash function signature.
318 Add getopt support so user can specify the hash version.
320 2002-05-11 <tytso@snap.thunk.org>
322 * debug_cmds.ct, debugfs.c (do_bmap): Add new command "bmap" which
323 calculates the logical->physical block mapping for an
326 * debugfs.c (do_init_filsys, main), util.c
327 (common_block_args_process): Fix bad calling parameter
328 order when calling parse_ulong. This broke the -b and -s
329 options to debugfs, as well as do_init, and the testb,
330 setb, clearb functions.
332 2002-04-01 <tytso@snap.thunk.org>
334 * util.c (parse_ulong): Fix typo which cases parse_ulong to
335 coredump if the err variable is filled in (for example, if
336 the -b or -s options are passed to the debugfs's
337 command-line invocation).
339 2002-03-11 Theodore Tso <tytso@mit.edu>
341 * ls.c (list_dir_proc): Fix bug: ls -l fails to print the file
342 type correctly if running on big-endian systems.
344 * htree.c (htree_dump_leaf_node): Use the ext2_dirhash function
345 instead of a local static function.
347 2002-03-08 Theodore Tso <tytso@mit.edu>
349 * Release of E2fsprogs 1.27
351 2002-03-07 <tytso@snap.thunk.org>
353 * ls.c (list_dir_proc): Fix typo in debugfs which was causing a
356 2002-03-05 Theodore Tso <tytso@mit.edu>
358 * lsdel.c (do_lsdel): lsdel uses the pager to print out the list
359 of potentially deleted inode. Thanks to Jaroslav Drzik
360 <jdrzik@host.sk> for suggesting this enhancement.
362 * debugfs.c (do_modify_inode): Fix bug which caused modify_inode
363 to core dump if a fliesystem isn't open. Thanks to
364 Jaroslav Drzik <jdrzik@host.sk> for finding and reporting
365 the bug and his proposed fix.
367 2002-02-26 Theodore Tso <tytso@mit.edu>
369 * ls.c (list_dir_proc): When listing the directory entry in long
370 format, include the file type of the directory entry in
373 2002-02-25 Theodore Tso <tytso@mit.edu>
375 * util.c (open_pager): If the PAGER environment is set to __none__
376 then don't use a pager at all, and ship it all to stdout.
378 * Makefile.in, debug_cmds.ct, htree.c: Add new file htree.c, which
379 implements the three new commands, htree_dump, dx_hash,
382 2002-02-24 Theodore Tso <tytso@mit.edu>
384 * Makefile.in (install): Remove any compressed man pages before
385 installing the man pages.
387 2002-02-03 Theodore Tso <tytso@thunk.org>
389 * Release of E2fsprogs 1.26
391 2002-01-03 Theodore Tso <tytso@mit.edu>
393 * lsdel.c (do_lsdel): New optional argument which allows the user
394 to only see the most recently deleted files.
396 * debugfs.c (do_undel, do_testb, do_freeb, do_setb, do_ffb): Add
397 new command, undelete, which automates undeleting a
398 deleted inode and linking it back to a directory. Add a
399 count argument to the testb, freeb, setb, and ffb commands.
401 * ls.c (list_dir_proc, do_list_dir): Add support for -d option
402 which lists deleted directory entries.
404 * debug_cmds.ct: Add new command, undelete.
406 * dump.c, icheck.c, logdump.c, ls.c, lsdel.c, setsuper.c,
407 debugfs.c: Use new utility functions which factor out
410 * util.c (debugfs_read_inode, debugfs_write_inode,
411 common_block_args_process, common_inode_args_process,
412 common_args_process, strtoblk, parse_ulong): New
413 functions which factor out commonly used code into
414 subroutines for ease of maintenance and to make the
415 executable size smaller.
417 2001-12-23 Theodore Tso <tytso@mit.edu>
419 * Makefile.in, jfs_user.h: Move linux/jbd.h to
420 ext2fs/kernel-jbd.h, to avoid using the system header
421 file version of hbd.h when using diet glibc (since it
422 forcibly adds /usr/include to the beginning of the
423 include search path.)
425 2001-12-22 Theodore Tso <tytso@mit.edu>
427 * debugfs.c (kill_file_by_inode, release_blocks_proc): Update the
428 group descriptor free block and inode counts when deleting
431 2001-12-16 Theodore Tso <tytso@mit.edu>
433 * setsuper.c (print_possible_fields),
434 logdump.c (dump_journal): Fix gcc -Wall nits
436 * Makefile.in, jfs_user.h: linux/jfs.h has been renamed to
439 2001-12-02 Theodore Tso <tytso@mit.edu>
441 * util.c (close_pager): Use pclose() instead of fclose() when
442 closing the pager stream.
444 2001-11-30 Theodore Tso <tytso@mit.edu>
446 * debugfs.c (finish_range, dump_blocks): Fixed bug in Andreas's >
447 2GB support changes: you need to use %lld when printf'ing
448 an long long variable.
450 2001-11-24 Theodore Tso <tytso@mit.edu>
452 * debugfs.8.in: Update manual page to document the set_super_value
453 and logdump commands, and move the "specifying files"
454 section closer to the beginning of the man page so people
457 * setsuper.c (print_possible_fields): "set_super_value -l" now
458 prints out the list of valid superblock fields which the
461 2001-09-20 Theodore Tso <tytso@thunk.org>
463 * Release of E2fsprogs 1.25
465 2001-09-02 Theodore Tso <tytso@thunk.org>
467 * Release of E2fsprogs 1.24a
469 2001-08-30 Theodore Tso <tytso@thunk.org>
471 * Release of E2fsprogs 1.24
473 2001-08-27 Theodore Tso <tytso@valinux.com>
475 * debugfs.c (main): Remove EXT2FS_VERSION from the version
476 display, since it only confuses people.
478 2001-08-15 Theodore Tso <tytso@valinux.com>
480 * Release of E2fsprogs 1.23
482 2001-08-12 Theodore Tso <tytso@valinux.com>
484 * logdump.c (do_logdump, dump_journal): Add support for dumping
487 2001-06-23 Theodore Tso <tytso@valinux.com>
489 * Release of E2fsprogs 1.22
491 2001-06-15 Theodore Tso <tytso@valinux.com>
493 * Release of E2fsprogs 1.21
495 2001-06-13 Theodore Tso <tytso@valinux.com>
497 * setsuper.c: Add s_lastcheck field to the fields which can be
498 modified using set_super_value. (Suggested by Andreas
501 2001-06-03 Theodore Tso <tytso@valinux.com>
503 * debugfs.c (copy_file): Fixed signed vs unsigned bug which causes
504 read errors to not be noticed.
506 2001-06-01 Theodore Tso <tytso@valinux.com>
508 * Makefile.in: Move include/asm/types.h.in to
509 lib/ext2fs/ext2_types.h.in.
511 * debugfs.c, debugfs.h, logdump.c: Fix various gcc -Wall nitpicks.
513 * logdump.c (read_journal_block): Replace pread with lseek/read
516 2001-05-25 Theodore Tso <tytso@valinux.com>
518 * Release of E2fsprogs 1.20
520 2001-05-14 Theodore Tso <tytso@valinux.com>
522 * debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
524 2001-05-12 Theodore Tso <tytso@valinux.com>
526 * debugfs.c (print_features): Use fputs instead of printf to
527 output using the passed-in FILE *.
529 2001-05-09 Theodore Tso <tytso@valinux.com>
531 * debugfs.c (do_write, do_mknod): Set the file type information
532 when creating the inode.
534 2001-05-03 Theodore Tso <tytso@valinux.com>
536 * debugfs.c (do_open_filesys, main): Add -i option which will
537 allow debugfs to examine ext2 image files.
539 2001-03-29 Theodore Tso <tytso@valinux.com>
541 * debugfs.c (dump_blocks, dump_inode, internal_dump_inode): Add
542 internal_dump_inode() interface for the logdump command.
544 * logdump.c: Imported code from Stephen Tweedie to dump the ext3
547 2001-03-18 Theodore Tso <tytso@valinux.com>
549 * debugfs.c (do_write, do_mknod): Remove extra (useless) call to
552 2001-01-12 Theodore Ts'o <tytso@valinux.com>
554 * setsuper.c: Cleaned up some random whitespace problems.
556 * debugfs.h, debugfs.c (do_show_super_stats): Use full words
557 instead of pluralism hack to make I18N conversion easier.
558 Clean up gcc -Wall complaints.
560 2001-01-11 <tytso@snap.thunk.org>
562 * debugfs.c, debugfs.h, dump.c, icheck.c, ls.c, lsdel.c, ncheck.c,
563 setsuper.c, util.c: Change ino_t to ext2_ino_t. Fix a few
564 minor gcc-wall complaints while we're at it.
566 2001-01-01 <tytso@snap.thunk.org>
568 * debugfs.c Replace use of struct ext2fs_sb with struct
571 2000-12-30 <tytso@snap.thunk.org>
573 * dump.c (fix_perms): Fix bug for systems which don't have fchown;
574 was incorrectly using chmod instead of chown.
576 * setsuper.c (find_field): Strip the s_prefix if given for ssv
577 fields. Remove hard-coded s_ from inode_size
578 field. (Suggested by Andreas Dilger)
580 * debugfs.c (do_modify_inode): Add the ability to set the inode
581 generation number. (Suggested by Andreas Dilger)
583 2000-08-23 <tytso@valinux.com>
585 * util.c (string_to_inode): Use strtoul instead of atoi, so that
586 hex inode numbers will be accepted.
588 2000-08-19 <tytso@valinux.com>
590 * util.c (open_pager): Set SIGPIPE to be ignored, so that quitting
591 out of the pager doesn't blow away debugfs.
593 2000-08-14 <tytso@valinux.com>
595 * debugfs.c (do_show_super_stats): Use list_super2() instead of
596 using explicit printf statements. (We get a more complete
599 * util.c (open_pager): If the PAGER environment variable is not
600 set, default to using "more".
602 * setsuper.c: New function which implements the set_super_value
603 command. Allows the user to set arbitrary superblock
606 * debugfs.c (dump_inode): Cap the length when printing a fast
607 symbolic link to inode.i_size.
608 (list_blocks_proc): Print block ranges (4510-4533) to make
609 the stat output easier to read.
611 2000-06-27 Andreas Dilger <adilger@turbolabs.com>
613 * debugfs.c (list_blocks_proc): show relative inode block numbers
614 and/or indirect block status
616 2000-07-13 <tytso@valinux.com>
618 * Release of E2fsprogs 1.19
620 2000-07-05 Theodore Ts'o <tytso@valinux.com>
622 * debugfs.c (dump_inode): Make the generation field be printed as
625 2000-07-04 <tytso@snap.thunk.org>
627 * Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the
628 mk_cmds support files from the source tree.
630 2000-06-09 <tytso@snap.thunk.org>
632 * lsdel.c (do_lsdel): Handle bad bad blocks in inode table.
634 2000-05-27 Theodore Ts'o <tytso@valinux.com>
636 * debugfs.c (do_testb, do_testi): Call check_fs_bitmaps to avoid
637 coredumping if the bitmaps aren't loaded.
639 * util.c (check_fs_bitmaps): New function which checks whether or
640 not the bitmaps are loaded.
642 2000-05-23 Aaron Crane <aaronc@pobox.com>
644 * debugfs.8.in: Documented new behaviour.
646 * ls.c (ls_l_file): Fix Y2K bug -- was printing 22-May-100 for
647 recent files. Switched to 4-digit years.
649 * dump.c, debug_cmds.ct (do_rdump): Add new debugfs command
650 "rdump", which recursively dumps a directory and its
652 (fix_perms): New function. Break permission-fixing
653 code out of dump_file() so it can be called by rdump
655 (dump_file): Call fix_perms().
657 * debugfs.c, debug_cmds.ct (do_lcd): Add new debugfs command
658 "lcd", which changes the cwd on the native filesystem.
660 * debugfs.c (open_filesystem): Extra args for superblock,
661 blocksize, and catastrophic mode. Changed callers.
662 (do_open_filesys, main): Accept new -b, -s, -c options
665 2000-02-02 Theodore Ts'o <tytso@valinux.com>
667 * debugfs.c (dump_inode): Remove #ifdef for i_version
668 vs. i_generation since we know it will always be
671 2000-01-18 Theodore Ts'o <tytso@valinux.com>
673 * debugfs.c (main): Use return instead of exit at the end of main
674 to avoid some compiler warnings.
676 * Makefile.in: Since LIBUUID can sometimes include
677 "-lsocket" we need a separate DEPLIBUUID that can be used
678 in Makefile's dependency rules.
680 1999-11-19 <tytso@valinux.com>
682 * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
683 the source directory.
685 1999-11-10 <tytso@valinux.com>
687 * Release of E2fsprogs 1.18
689 1999-11-08 <tytso@valinux.com>
691 * icheck.c (do_icheck):
692 * ncheck.c (do_ncheck): If ext2fs_open_inode_scan() returns
693 EXT2_ET_BAD_BLOCK_IN_INODE_TABLE loop to skip over the bad
694 blocks in the inode table.
696 1999-10-26 <tytso@valinux.com>
698 * Release of E2fsprogs 1.17
700 1999-10-26 <tytso@valinux.com>
702 * debugfs.h: Add declaration for do_features()
704 * debugfs.c: Add #incldue of e2p.h to fix gcc warnings.
706 1999-10-25 <tytso@valinux.com>
708 * debugfs.c (do_dirty_filesys): Make the "dirty" command clear the
709 valid bit on the superblock. (And with a -clean option to
710 set the valid bit.) Originally it was used just to set
711 the "needs to be written" bit in the in-core version of
714 1999-10-22 <tytso@valinux.com>
716 * Release of E2fsprogs 1.16
718 1999-09-07 <tytso@rsts-11.mit.edu>
720 * debugfs.c, debug_cmds.ct: Add new debugfs command "feature"
721 which allows the user to set or clear filesystme features.
722 Add the -f (force) option to the open command. Add the
723 -h (superblock header only) option to the stats command.
725 1999-07-30 <tytso@rsts-11.mit.edu>
727 * debugfs.c (dump_inode): Fix debugfs message so it is the same
728 for when compiled under either Linux 2.2 or 2.3. This
729 allows for the f_swapfs regression test suite to work
730 regardless of which OS e2fsprogs was compiled on.
732 1999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu>
734 * Release of E2fsprogs 1.15
736 1999-06-23 <tytso@valinux.com>
738 * debugfs.c (dump_inode): Add compatibility for Linux 2.3 kernels
739 that use i_generation instead of i_version. Patch
740 supplied by Jon Bright <sircus@sircus.demon.co.uk>.
742 1999-02-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
744 * icheck.c (do_icheck): Check to make sure the inode has valid
745 blocks before iterating over that inode's blocks.
747 1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
749 * Release of E2fsprogs 1.14
751 1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
753 * Release of E2fsprogs 1.13
755 1998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu>
757 * Makefile.in: Updated dependencies.
759 1998-07-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
761 * debugfs.c (do_stat, do_clri): Fix bug where debugfs wasn't
762 displaying the error message if ext2fs_read_inode() failed.
763 (do_rm): Fix similar problem for call to ext2fs_namei().
765 1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
767 * Release of E2fsprogs 1.12
769 1998-06-27 Theodore Ts'o <tytso@rsts-11.mit.edu>
771 * debugfs.c: Add a -V option which displays the current version.
773 1998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
775 * Makefile.in: Change to use new installation directory variables
776 convention. Fix installdirs and uninstall rules to reflect
777 the fact that debugfs has been installed in the root
778 filesystem. Fix uninstall rules to take $(DESTDIR) into
781 1998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
783 * debugfs.h: Add declaration for do_dirty_filsys() to prevent
786 * debugfs.c (copy_file):
787 * dump.c (dump_file): Fix -Wall warning caused by
788 signed/unsigned mismatch.
790 1998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu>
792 * debugfs.c, ls.c, lsdel.c: Add support for large files. (The
793 high 32 bits share space with the i_dir_acl field.)
795 Sun Mar 8 22:53:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
797 * ls.c (list_dir_proc): Mask off high 8 bits from
800 Mon Dec 1 13:21:09 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
802 * Makefile.in: Install debugfs in /sbin, instead of /usr/sbin.
804 Sat Oct 25 18:35:30 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
806 * debugfs.c (copy_file), dump.c (dump_file): Change to use the new
807 fileio primitives in libext2.
809 Fri Oct 24 23:47:43 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
811 * debugfs.c (main, do_open_filesys):
812 * dump.c (do_dump): Make the variable which getopt returns into be
813 an int, so that it won't lose on platforms where char is
816 Tue Oct 14 21:50:24 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
818 * debugfs.c (main): When printing a usage message, have main
819 return 1 (instead of not specifying a return value, bad!)
821 Mon Sep 15 22:03:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
823 * debugfs.c (main): Fix declaration of main so that it returns an int.
825 Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
827 * Release of E2fsprogs 1.11
829 Thu May 8 23:05:40 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
831 * debugfs.8.in: Fix minor typos and grammer oops found by Bill
832 Hawes (whawes@star.net).
834 Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
836 * Release of E2fsprogs version 1.10
838 Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
840 * Release of E2fsprogs version 1.09
842 Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
844 * Release of E2fsprogs version 1.08
846 Thu Apr 10 14:36:05 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
848 * ls.c: New file which implements the ls command. Added the -l
851 Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
853 * Release of E2fsprogs version 1.07
855 Wed Jan 1 23:53:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
857 * lsdel.c (do_lsdel): Use time_to_string() instead of ctime().
859 Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
861 * Release of E2fsprogs version 1.06
863 Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
865 * Release of E2fsprogs version 1.05
867 Mon Sep 9 23:05:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
869 * debugfs.c (unlink_file_by_name): If unlinking a file with a
870 directory path, correctly replace the slash with a NULL.
871 (do_show_debugfs_params): Don't try to print the open mode
872 if there's no filesystem opened (since that will cause a
874 (main): Fix usage string; the -w and device elements are
875 independently optional.
877 Tu Sep 3 15:09:39 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
879 * debugfs.c (main): Added -f option to debugfs, which takes a
880 command file of debugfs commands and executes them.
882 Sat Aug 31 01:18:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
884 * debugfs.8.in: Heavily edited and improved manual page.
886 * dump.c (dump_file): Improve the write function for writing out
887 the file, so that it is limited to the actual size of the
888 file, instead of outputing the nulls following the EOF.
889 Make sure dump_file does the right thing for files with holes.
890 (do_dump): Add support for the -p option to the dump
891 command, which attempts to preserve the owner and
894 Fri Aug 30 14:56:59 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
896 * debugfs.c (main): Add -R option to debugfs, which allows it to
897 take a single debugfs command on the command line.
899 Fri Aug 9 09:03:31 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
901 * debugfs.c (do_open_filesys): Set optind to 0 to reset getopt(),
902 to be complete correct.
903 (do_show_super_stats): Print OS type, volume label, last
904 mounted directory, and UUID.
905 (dump_inode): Print the fragment information in a
906 filesystem independent way.
907 (do_modify_inode): Modify the fragement information in a
908 filesystem independent way.
910 Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
912 * Release of E2fsprogs version 1.04
914 Wed May 3 20:41:26 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
916 * debugfs.c (dump_inode): Correctly print the translator on the hurd.
917 (do_modify_inode): Modify the translator block on the hurd.
919 Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu>
921 * Release of E2fsprogs version 1.03
923 Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
925 * Release of E2fsprogs version 1.02
927 Fri Dec 1 22:42:31 1995 <tytso@rsts-11.mit.edu>
929 * Makefile.in (LIBS): Rearrange the order of the libraries to be
930 linked, so that -lext2fs is before -lcom_err.
932 Thu Oct 26 12:05:06 1995 <tytso@rsts-11.mit.edu>
934 * Makefile.in (install): Strip programs when they are installed.
936 Fri Aug 18 15:09:08 1995 Theodore Y. Ts'o <tytso@dcl>
938 * debugfs.c (do_find_free_block): Fix typo in code which checked
939 to see if the usage message should be printed.
941 Thu Aug 17 22:55:58 1995 <tytso@rsts-11.mit.edu>
943 * debugfs.c (do_open_filesys): Change to always set optreset to 1,
944 to make BSD getopt()'s happy. Also set optind to 1, which
945 should make more getopt()'s happy.
947 Fri Aug 11 08:45:01 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
949 * debugfs.c (do_find_free_block, do_find_free_inode): Fix bug in
950 the usage handling where "ffi ?" or "ffb ?" would
951 dereference a NULL pointer.
953 Fri Aug 11 14:21:07 1995 Remy Card <card@bbj>
955 * debugfs.8: Updated date and version number.
957 Thu Aug 10 14:28:50 1995 Remy Card <card@bbj>
959 * debugfs.8: Fixed a spelling error in Ted's name :-)
961 Mon Jun 12 19:08:25 1995 Theodore Y. Ts'o (tytso@dcl)
963 * debugfs.c, ncheck.c, icheck.c, lsdel.c, dump.c: Include
964 <errno.h> (if it exists)
966 * debugfs.c, dump.c, icheck.c, lsdel.c, ncheck.c: Don't include
967 <getopt.h> if it doesn't exist.
969 Sun Jun 11 15:21:07 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
971 * ncheck.c (do_ncheck): Use LINUX_S_ISDIR instead of S_ISDIR
973 * debugfs.c: Implement the mknod and write commands (from Linus).
975 Change names of modify_char, modify_short, and modify_long
976 to be modify_u8, modify_u16, and modify_u32, respectively.
978 Thu Jun 8 12:29:15 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
980 * debugfs.c (dump_inode): Only print out inode frag fields if
981 HAVE_EXT2_FRAGS is defined (by configure). Don't print out the
982 reserved field at all for now.
984 * Makefile.in: Rewritten to conform to GNU coding standards and
985 support separate compilation directories.
987 Thu Nov 24 17:46:23 1994 Theodore Y. Ts'o (tytso@rt-11)
989 * dump.c: Added two new commands, "dump" and "cat", which allow
990 the user to dump the contents of an inode to a file or to
991 stdout, respectively.