1 2001-01-01 <tytso@snap.thunk.org>
3 * debugfs.c Replace use of struct ext2fs_sb with struct
6 2000-12-30 <tytso@snap.thunk.org>
8 * dump.c (fix_perms): Fix bug for systems which don't have fchown;
9 was incorrectly using chmod instead of chown.
11 * setsuper.c (find_field): Strip the s_prefix if given for ssv
12 fields. Remove hard-coded s_ from inode_size
13 field. (Suggested by Andreas Dilger)
15 * debugfs.c (do_modify_inode): Add the ability to set the inode
16 generation number. (Suggested by Andreas Dilger)
18 2000-08-23 <tytso@valinux.com>
20 * util.c (string_to_inode): Use strtoul instead of atoi, so that
21 hex inode numbers will be accepted.
23 2000-08-19 <tytso@valinux.com>
25 * util.c (open_pager): Set SIGPIPE to be ignored, so that quitting
26 out of the pager doesn't blow away debugfs.
28 2000-08-14 <tytso@valinux.com>
30 * debugfs.c (do_show_super_stats): Use list_super2() instead of
31 using explicit printf statements. (We get a more complete
34 * util.c (open_pager): If the PAGER environment variable is not
35 set, default to using "more".
37 * setsuper.c: New function which implements the set_super_value
38 command. Allows the user to set arbitrary superblock
41 * debugfs.c (dump_inode): Cap the length when printing a fast
42 symbolic link to inode.i_size.
43 (list_blocks_proc): Print block ranges (4510-4533) to make
44 the stat output easier to read.
46 2000-06-27 Andreas Dilger <adilger@turbolabs.com>
48 * debugfs.c (list_blocks_proc): show relative inode block numbers
49 and/or indirect block status
51 2000-07-13 <tytso@valinux.com>
53 * Release of E2fsprogs 1.19
55 2000-07-05 Theodore Ts'o <tytso@valinux.com>
57 * debugfs.c (dump_inode): Make the generation field be printed as
60 2000-07-04 <tytso@snap.thunk.org>
62 * Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the
63 mk_cmds support files from the source tree.
65 2000-06-09 <tytso@snap.thunk.org>
67 * lsdel.c (do_lsdel): Handle bad bad blocks in inode table.
69 2000-05-27 Theodore Ts'o <tytso@valinux.com>
71 * debugfs.c (do_testb, do_testi): Call check_fs_bitmaps to avoid
72 coredumping if the bitmaps aren't loaded.
74 * util.c (check_fs_bitmaps): New function which checks whether or
75 not the bitmaps are loaded.
77 2000-05-23 Aaron Crane <aaronc@pobox.com>
79 * debugfs.8.in: Documented new behaviour.
81 * ls.c (ls_l_file): Fix Y2K bug -- was printing 22-May-100 for
82 recent files. Switched to 4-digit years.
84 * dump.c, debug_cmds.ct (do_rdump): Add new debugfs command
85 "rdump", which recursively dumps a directory and its
87 (fix_perms): New function. Break permission-fixing
88 code out of dump_file() so it can be called by rdump
90 (dump_file): Call fix_perms().
92 * debugfs.c, debug_cmds.ct (do_lcd): Add new debugfs command
93 "lcd", which changes the cwd on the native filesystem.
95 * debugfs.c (open_filesystem): Extra args for superblock,
96 blocksize, and catastrophic mode. Changed callers.
97 (do_open_filesys, main): Accept new -b, -s, -c options
100 2000-02-02 Theodore Ts'o <tytso@valinux.com>
102 * debugfs.c (dump_inode): Remove #ifdef for i_version
103 vs. i_generation since we know it will always be
106 2000-01-18 Theodore Ts'o <tytso@valinux.com>
108 * debugfs.c (main): Use return instead of exit at the end of main
109 to avoid some compiler warnings.
111 * Makefile.in: Since LIBUUID can sometimes include
112 "-lsocket" we need a separate DEPLIBUUID that can be used
113 in Makefile's dependency rules.
115 1999-11-19 <tytso@valinux.com>
117 * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
118 the source directory.
120 1999-11-10 <tytso@valinux.com>
122 * Release of E2fsprogs 1.18
124 1999-11-08 <tytso@valinux.com>
126 * icheck.c (do_icheck):
127 * ncheck.c (do_ncheck): If ext2fs_open_inode_scan() returns
128 EXT2_ET_BAD_BLOCK_IN_INODE_TABLE loop to skip over the bad
129 blocks in the inode table.
131 1999-10-26 <tytso@valinux.com>
133 * Release of E2fsprogs 1.17
135 1999-10-26 <tytso@valinux.com>
137 * debugfs.h: Add declaration for do_features()
139 * debugfs.c: Add #incldue of e2p.h to fix gcc warnings.
141 1999-10-25 <tytso@valinux.com>
143 * debugfs.c (do_dirty_filesys): Make the "dirty" command clear the
144 valid bit on the superblock. (And with a -clean option to
145 set the valid bit.) Originally it was used just to set
146 the "needs to be written" bit in the in-core version of
149 1999-10-22 <tytso@valinux.com>
151 * Release of E2fsprogs 1.16
153 1999-09-07 <tytso@rsts-11.mit.edu>
155 * debugfs.c, debug_cmds.ct: Add new debugfs command "feature"
156 which allows the user to set or clear filesystme features.
157 Add the -f (force) option to the open command. Add the
158 -h (superblock header only) option to the stats command.
160 1999-07-30 <tytso@rsts-11.mit.edu>
162 * debugfs.c (dump_inode): Fix debugfs message so it is the same
163 for when compiled under either Linux 2.2 or 2.3. This
164 allows for the f_swapfs regression test suite to work
165 regardless of which OS e2fsprogs was compiled on.
167 1999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu>
169 * Release of E2fsprogs 1.15
171 1999-06-23 <tytso@valinux.com>
173 * debugfs.c (dump_inode): Add compatibility for Linux 2.3 kernels
174 that use i_generation instead of i_version. Patch
175 supplied by Jon Bright <sircus@sircus.demon.co.uk>.
177 1999-02-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
179 * icheck.c (do_icheck): Check to make sure the inode has valid
180 blocks before iterating over that inode's blocks.
182 1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
184 * Release of E2fsprogs 1.14
186 1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
188 * Release of E2fsprogs 1.13
190 1998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu>
192 * Makefile.in: Updated dependencies.
194 1998-07-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
196 * debugfs.c (do_stat, do_clri): Fix bug where debugfs wasn't
197 displaying the error message if ext2fs_read_inode() failed.
198 (do_rm): Fix similar problem for call to ext2fs_namei().
200 1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
202 * Release of E2fsprogs 1.12
204 1998-06-27 Theodore Ts'o <tytso@rsts-11.mit.edu>
206 * debugfs.c: Add a -V option which displays the current version.
208 1998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
210 * Makefile.in: Change to use new installation directory variables
211 convention. Fix installdirs and uninstall rules to reflect
212 the fact that debugfs has been installed in the root
213 filesystem. Fix uninstall rules to take $(DESTDIR) into
216 1998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
218 * debugfs.h: Add declaration for do_dirty_filsys() to prevent
221 * debugfs.c (copy_file):
222 * dump.c (dump_file): Fix -Wall warning caused by
223 signed/unsigned mismatch.
225 1998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu>
227 * debugfs.c, ls.c, lsdel.c: Add support for large files. (The
228 high 32 bits share space with the i_dir_acl field.)
230 Sun Mar 8 22:53:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
232 * ls.c (list_dir_proc): Mask off high 8 bits from
235 Mon Dec 1 13:21:09 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
237 * Makefile.in: Install debugfs in /sbin, instead of /usr/sbin.
239 Sat Oct 25 18:35:30 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
241 * debugfs.c (copy_file), dump.c (dump_file): Change to use the new
242 fileio primitives in libext2.
244 Fri Oct 24 23:47:43 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
246 * debugfs.c (main, do_open_filesys):
247 * dump.c (do_dump): Make the variable which getopt returns into be
248 an int, so that it won't lose on platforms where char is
251 Tue Oct 14 21:50:24 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
253 * debugfs.c (main): When printing a usage message, have main
254 return 1 (instead of not specifying a return value, bad!)
256 Mon Sep 15 22:03:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
258 * debugfs.c (main): Fix declaration of main so that it returns an int.
260 Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
262 * Release of E2fsprogs 1.11
264 Thu May 8 23:05:40 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
266 * debugfs.8.in: Fix minor typos and grammer oops found by Bill
267 Hawes (whawes@star.net).
269 Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
271 * Release of E2fsprogs version 1.10
273 Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
275 * Release of E2fsprogs version 1.09
277 Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
279 * Release of E2fsprogs version 1.08
281 Thu Apr 10 14:36:05 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
283 * ls.c: New file which implements the ls command. Added the -l
286 Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
288 * Release of E2fsprogs version 1.07
290 Wed Jan 1 23:53:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
292 * lsdel.c (do_lsdel): Use time_to_string() instead of ctime().
294 Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
296 * Release of E2fsprogs version 1.06
298 Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
300 * Release of E2fsprogs version 1.05
302 Mon Sep 9 23:05:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
304 * debugfs.c (unlink_file_by_name): If unlinking a file with a
305 directory path, correctly replace the slash with a NULL.
306 (do_show_debugfs_params): Don't try to print the open mode
307 if there's no filesystem opened (since that will cause a
309 (main): Fix usage string; the -w and device elements are
310 independently optional.
312 Tu Sep 3 15:09:39 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
314 * debugfs.c (main): Added -f option to debugfs, which takes a
315 command file of debugfs commands and executes them.
317 Sat Aug 31 01:18:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
319 * debugfs.8.in: Heavily edited and improved manual page.
321 * dump.c (dump_file): Improve the write function for writing out
322 the file, so that it is limited to the actual size of the
323 file, instead of outputing the nulls following the EOF.
324 Make sure dump_file does the right thing for files with holes.
325 (do_dump): Add support for the -p option to the dump
326 command, which attempts to preserve the owner and
329 Fri Aug 30 14:56:59 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
331 * debugfs.c (main): Add -R option to debugfs, which allows it to
332 take a single debugfs command on the command line.
334 Fri Aug 9 09:03:31 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
336 * debugfs.c (do_open_filesys): Set optind to 0 to reset getopt(),
337 to be complete correct.
338 (do_show_super_stats): Print OS type, volume label, last
339 mounted directory, and UUID.
340 (dump_inode): Print the fragment information in a
341 filesystem independent way.
342 (do_modify_inode): Modify the fragement information in a
343 filesystem independent way.
345 Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
347 * Release of E2fsprogs version 1.04
349 Wed May 3 20:41:26 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
351 * debugfs.c (dump_inode): Correctly print the translator on the hurd.
352 (do_modify_inode): Modify the translator block on the hurd.
354 Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu>
356 * Release of E2fsprogs version 1.03
358 Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
360 * Release of E2fsprogs version 1.02
362 Fri Dec 1 22:42:31 1995 <tytso@rsts-11.mit.edu>
364 * Makefile.in (LIBS): Rearrange the order of the libraries to be
365 linked, so that -lext2fs is before -lcom_err.
367 Thu Oct 26 12:05:06 1995 <tytso@rsts-11.mit.edu>
369 * Makefile.in (install): Strip programs when they are installed.
371 Fri Aug 18 15:09:08 1995 Theodore Y. Ts'o <tytso@dcl>
373 * debugfs.c (do_find_free_block): Fix typo in code which checked
374 to see if the usage message should be printed.
376 Thu Aug 17 22:55:58 1995 <tytso@rsts-11.mit.edu>
378 * debugfs.c (do_open_filesys): Change to always set optreset to 1,
379 to make BSD getopt()'s happy. Also set optind to 1, which
380 should make more getopt()'s happy.
382 Fri Aug 11 08:45:01 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
384 * debugfs.c (do_find_free_block, do_find_free_inode): Fix bug in
385 the usage handling where "ffi ?" or "ffb ?" would
386 dereference a NULL pointer.
388 Fri Aug 11 14:21:07 1995 Remy Card <card@bbj>
390 * debugfs.8: Updated date and version number.
392 Thu Aug 10 14:28:50 1995 Remy Card <card@bbj>
394 * debugfs.8: Fixed a spelling error in Ted's name :-)
396 Mon Jun 12 19:08:25 1995 Theodore Y. Ts'o (tytso@dcl)
398 * debugfs.c, ncheck.c, icheck.c, lsdel.c, dump.c: Include
399 <errno.h> (if it exists)
401 * debugfs.c, dump.c, icheck.c, lsdel.c, ncheck.c: Don't include
402 <getopt.h> if it doesn't exist.
404 Sun Jun 11 15:21:07 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
406 * ncheck.c (do_ncheck): Use LINUX_S_ISDIR instead of S_ISDIR
408 * debugfs.c: Implement the mknod and write commands (from Linus).
410 Change names of modify_char, modify_short, and modify_long
411 to be modify_u8, modify_u16, and modify_u32, respectively.
413 Thu Jun 8 12:29:15 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
415 * debugfs.c (dump_inode): Only print out inode frag fields if
416 HAVE_EXT2_FRAGS is defined (by configure). Don't print out the
417 reserved field at all for now.
419 * Makefile.in: Rewritten to conform to GNU coding standards and
420 support separate compilation directories.
422 Thu Nov 24 17:46:23 1994 Theodore Y. Ts'o (tytso@rt-11)
424 * dump.c: Added two new commands, "dump" and "cat", which allow
425 the user to dump the contents of an inode to a file or to
426 stdout, respectively.