blob: 6756a3ac4ff53ff66a43d711e13452f5a473ede3 [file] [log] [blame]
Theodore Ts'oa5eef732000-08-14 15:47:15 +000012000-06-27 Andreas Dilger <adilger@turbolabs.com>
2
3 * debugfs.c (list_blocks_proc): show relative inode block numbers
4 and/or indirect block status
5
Theodore Ts'of9e67062000-07-13 23:25:54 +000062000-07-13 <tytso@valinux.com>
7
8 * Release of E2fsprogs 1.19
9
Theodore Ts'o14197172000-07-05 17:48:34 +0000102000-07-05 Theodore Ts'o <tytso@valinux.com>
11
12 * debugfs.c (dump_inode): Make the generation field be printed as
13 an unsigned integer.
14
Theodore Ts'o619dd192000-07-04 12:37:55 +0000152000-07-04 <tytso@snap.thunk.org>
16
17 * Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the
18 mk_cmds support files from the source tree.
19
Theodore Ts'oee753092000-06-09 04:24:36 +0000202000-06-09 <tytso@snap.thunk.org>
21
22 * lsdel.c (do_lsdel): Handle bad bad blocks in inode table.
23
Theodore Ts'od61f6172000-05-27 16:04:00 +0000242000-05-27 Theodore Ts'o <tytso@valinux.com>
25
26 * debugfs.c (do_testb, do_testi): Call check_fs_bitmaps to avoid
27 coredumping if the bitmaps aren't loaded.
28
29 * util.c (check_fs_bitmaps): New function which checks whether or
30 not the bitmaps are loaded.
31
Theodore Ts'o2e8d40d2000-05-27 15:15:40 +0000322000-05-23 Aaron Crane <aaronc@pobox.com>
33
34 * debugfs.8.in: Documented new behaviour.
35
36 * ls.c (ls_l_file): Fix Y2K bug -- was printing 22-May-100 for
37 recent files. Switched to 4-digit years.
38
39 * dump.c, debug_cmds.ct (do_rdump): Add new debugfs command
40 "rdump", which recursively dumps a directory and its
41 contents.
42 (fix_perms): New function. Break permission-fixing
43 code out of dump_file() so it can be called by rdump
44 code as well.
45 (dump_file): Call fix_perms().
46
47 * debugfs.c, debug_cmds.ct (do_lcd): Add new debugfs command
48 "lcd", which changes the cwd on the native filesystem.
49
50 * debugfs.c (open_filesystem): Extra args for superblock,
51 blocksize, and catastrophic mode. Changed callers.
52 (do_open_filesys, main): Accept new -b, -s, -c options
53 for open_filesystem.
54
Theodore Ts'o80e808f2000-02-02 16:19:59 +0000552000-02-02 Theodore Ts'o <tytso@valinux.com>
56
57 * debugfs.c (dump_inode): Remove #ifdef for i_version
58 vs. i_generation since we know it will always be
59 i_generation now.
60
Theodore Ts'o77200f42000-01-18 17:53:27 +0000612000-01-18 Theodore Ts'o <tytso@valinux.com>
62
Theodore Ts'oe5973042000-01-18 17:58:34 +000063 * debugfs.c (main): Use return instead of exit at the end of main
64 to avoid some compiler warnings.
65
Theodore Ts'o77200f42000-01-18 17:53:27 +000066 * Makefile.in: Since LIBUUID can sometimes include
67 "-lsocket" we need a separate DEPLIBUUID that can be used
68 in Makefile's dependency rules.
69
Theodore Ts'o5c36a2f1999-11-19 18:42:30 +0000701999-11-19 <tytso@valinux.com>
71
72 * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
73 the source directory.
74
Theodore Ts'ocd086361999-11-10 16:00:39 +0000751999-11-10 <tytso@valinux.com>
76
77 * Release of E2fsprogs 1.18
78
Theodore Ts'o643efb81999-11-08 19:27:13 +0000791999-11-08 <tytso@valinux.com>
80
81 * icheck.c (do_icheck):
82 * ncheck.c (do_ncheck): If ext2fs_open_inode_scan() returns
83 EXT2_ET_BAD_BLOCK_IN_INODE_TABLE loop to skip over the bad
84 blocks in the inode table.
85
Theodore Ts'of68aa411999-10-26 14:20:22 +0000861999-10-26 <tytso@valinux.com>
87
Theodore Ts'o28e11941999-10-26 18:17:20 +000088 * Release of E2fsprogs 1.17
89
901999-10-26 <tytso@valinux.com>
91
Theodore Ts'of68aa411999-10-26 14:20:22 +000092 * debugfs.h: Add declaration for do_features()
93
94 * debugfs.c: Add #incldue of e2p.h to fix gcc warnings.
95
Theodore Ts'o601002b1999-10-26 02:06:39 +0000961999-10-25 <tytso@valinux.com>
97
98 * debugfs.c (do_dirty_filesys): Make the "dirty" command clear the
99 valid bit on the superblock. (And with a -clean option to
100 set the valid bit.) Originally it was used just to set
101 the "needs to be written" bit in the in-core version of
102 the fs structure.
103
Theodore Ts'o614fdfd1999-10-23 03:19:51 +00001041999-10-22 <tytso@valinux.com>
105
106 * Release of E2fsprogs 1.16
107
Theodore Ts'od3aea7d1999-09-14 20:55:37 +00001081999-09-07 <tytso@rsts-11.mit.edu>
109
110 * debugfs.c, debug_cmds.ct: Add new debugfs command "feature"
111 which allows the user to set or clear filesystme features.
112 Add the -f (force) option to the open command. Add the
113 -h (superblock header only) option to the stats command.
114
Theodore Ts'o55376d81999-07-31 00:32:57 +00001151999-07-30 <tytso@rsts-11.mit.edu>
116
117 * debugfs.c (dump_inode): Fix debugfs message so it is the same
118 for when compiled under either Linux 2.2 or 2.3. This
119 allows for the f_swapfs regression test suite to work
120 regardless of which OS e2fsprogs was compiled on.
121
Theodore Ts'o657cb971999-07-30 23:19:10 +00001221999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu>
123
124 * Release of E2fsprogs 1.15
125
Theodore Ts'ob41d3601999-06-25 15:32:37 +00001261999-06-23 <tytso@valinux.com>
127
128 * debugfs.c (dump_inode): Add compatibility for Linux 2.3 kernels
129 that use i_generation instead of i_version. Patch
130 supplied by Jon Bright <sircus@sircus.demon.co.uk>.
131
Theodore Ts'oce5ee991999-02-19 18:56:43 +00001321999-02-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
133
134 * icheck.c (do_icheck): Check to make sure the inode has valid
135 blocks before iterating over that inode's blocks.
136
Theodore Ts'o9e51eca1999-01-09 16:32:31 +00001371999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
138
139 * Release of E2fsprogs 1.14
140
Theodore Ts'o556ad131998-12-19 08:10:58 +00001411998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
142
143 * Release of E2fsprogs 1.13
144
Theodore Ts'odba838b1998-12-04 06:15:12 +00001451998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu>
146
147 * Makefile.in: Updated dependencies.
148
Theodore Ts'o91d6d481998-08-01 01:03:39 +00001491998-07-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
150
151 * debugfs.c (do_stat, do_clri): Fix bug where debugfs wasn't
152 displaying the error message if ext2fs_read_inode() failed.
153 (do_rm): Fix similar problem for call to ext2fs_namei().
154
Theodore Ts'o4a5fa191998-07-09 05:42:45 +00001551998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
156
157 * Release of E2fsprogs 1.12
158
Theodore Ts'o818180c1998-06-27 05:11:14 +00001591998-06-27 Theodore Ts'o <tytso@rsts-11.mit.edu>
160
161 * debugfs.c: Add a -V option which displays the current version.
162
Theodore Ts'o7e44f241998-04-01 03:16:29 +00001631998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
164
165 * Makefile.in: Change to use new installation directory variables
166 convention. Fix installdirs and uninstall rules to reflect
167 the fact that debugfs has been installed in the root
168 filesystem. Fix uninstall rules to take $(DESTDIR) into
169 account.
170
Theodore Ts'o4a31c481998-03-30 01:27:25 +00001711998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
172
173 * debugfs.h: Add declaration for do_dirty_filsys() to prevent
174 -Wall warnings.
175
176 * debugfs.c (copy_file):
177 * dump.c (dump_file): Fix -Wall warning caused by
178 signed/unsigned mismatch.
179
Theodore Ts'o36a43d61998-03-24 16:17:51 +00001801998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu>
181
182 * debugfs.c, ls.c, lsdel.c: Add support for large files. (The
183 high 32 bits share space with the i_dir_acl field.)
184
Theodore Ts'occe382b1998-03-09 13:07:09 +0000185Sun Mar 8 22:53:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
186
187 * ls.c (list_dir_proc): Mask off high 8 bits from
188 dirent->name_len.
189
Theodore Ts'o5be8dc21997-12-01 18:24:10 +0000190Mon Dec 1 13:21:09 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
191
192 * Makefile.in: Install debugfs in /sbin, instead of /usr/sbin.
193
Theodore Ts'o5a513841997-10-25 22:41:14 +0000194Sat Oct 25 18:35:30 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
195
196 * debugfs.c (copy_file), dump.c (dump_file): Change to use the new
197 fileio primitives in libext2.
198
Theodore Ts'of1304811997-10-25 03:51:53 +0000199Fri Oct 24 23:47:43 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
200
201 * debugfs.c (main, do_open_filesys):
202 * dump.c (do_dump): Make the variable which getopt returns into be
203 an int, so that it won't lose on platforms where char is
204 unsigned.
205
Theodore Ts'ob4ac9cc1997-10-15 01:54:48 +0000206Tue Oct 14 21:50:24 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
207
208 * debugfs.c (main): When printing a usage message, have main
209 return 1 (instead of not specifying a return value, bad!)
210
Theodore Ts'oa8859ca1997-09-16 02:08:28 +0000211Mon Sep 15 22:03:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
212
213 * debugfs.c (main): Fix declaration of main so that it returns an int.
214
Theodore Ts'o024996c1997-06-17 05:38:35 +0000215Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
216
217 * Release of E2fsprogs 1.11
218
Theodore Ts'o583ccdc1997-05-09 03:06:31 +0000219Thu May 8 23:05:40 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
220
221 * debugfs.8.in: Fix minor typos and grammer oops found by Bill
222 Hawes (whawes@star.net).
223
Theodore Ts'oa29f4d31997-04-29 21:26:48 +0000224Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
225
226 * Release of E2fsprogs version 1.10
227
228Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
229
230 * Release of E2fsprogs version 1.09
231
Theodore Ts'o2ecc6fe1997-04-29 17:57:00 +0000232Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
233
234 * Release of E2fsprogs version 1.08
235
Theodore Ts'o521e3681997-04-29 17:48:10 +0000236Thu Apr 10 14:36:05 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
237
238 * ls.c: New file which implements the ls command. Added the -l
239 option.
240
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000241Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
242
243 * Release of E2fsprogs version 1.07
244
245Wed Jan 1 23:53:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
246
247 * lsdel.c (do_lsdel): Use time_to_string() instead of ctime().
248
249Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
250
251 * Release of E2fsprogs version 1.06
252
Theodore Ts'o5c576471997-04-29 15:29:49 +0000253Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
254
255 * Release of E2fsprogs version 1.05
256
Theodore Ts'ofc6d9d51997-04-29 14:51:31 +0000257Mon Sep 9 23:05:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
258
259 * debugfs.c (unlink_file_by_name): If unlinking a file with a
260 directory path, correctly replace the slash with a NULL.
261 (do_show_debugfs_params): Don't try to print the open mode
262 if there's no filesystem opened (since that will cause a
263 core dump).
264 (main): Fix usage string; the -w and device elements are
265 independently optional.
266
267Tu Sep 3 15:09:39 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
268
269 * debugfs.c (main): Added -f option to debugfs, which takes a
270 command file of debugfs commands and executes them.
271
272Sat Aug 31 01:18:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
273
274 * debugfs.8.in: Heavily edited and improved manual page.
275
276 * dump.c (dump_file): Improve the write function for writing out
277 the file, so that it is limited to the actual size of the
278 file, instead of outputing the nulls following the EOF.
279 Make sure dump_file does the right thing for files with holes.
280 (do_dump): Add support for the -p option to the dump
281 command, which attempts to preserve the owner and
282 permissions field.
283
284Fri Aug 30 14:56:59 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
285
286 * debugfs.c (main): Add -R option to debugfs, which allows it to
287 take a single debugfs command on the command line.
288
289Fri Aug 9 09:03:31 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
290
291 * debugfs.c (do_open_filesys): Set optind to 0 to reset getopt(),
292 to be complete correct.
293 (do_show_super_stats): Print OS type, volume label, last
294 mounted directory, and UUID.
295 (dump_inode): Print the fragment information in a
296 filesystem independent way.
297 (do_modify_inode): Modify the fragement information in a
298 filesystem independent way.
299
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000300Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
301
302 * Release of E2fsprogs version 1.04
303
304Wed May 3 20:41:26 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
305
306 * debugfs.c (dump_inode): Correctly print the translator on the hurd.
307 (do_modify_inode): Modify the translator block on the hurd.
308
Theodore Ts'o7f88b041997-04-26 14:48:50 +0000309Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu>
310
311 * Release of E2fsprogs version 1.03
312
Theodore Ts'o74becf31997-04-26 14:37:06 +0000313Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
314
315 * Release of E2fsprogs version 1.02
316
317Fri Dec 1 22:42:31 1995 <tytso@rsts-11.mit.edu>
318
319 * Makefile.in (LIBS): Rearrange the order of the libraries to be
320 linked, so that -lext2fs is before -lcom_err.
321
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000322Thu Oct 26 12:05:06 1995 <tytso@rsts-11.mit.edu>
323
324 * Makefile.in (install): Strip programs when they are installed.
325
326Fri Aug 18 15:09:08 1995 Theodore Y. Ts'o <tytso@dcl>
327
328 * debugfs.c (do_find_free_block): Fix typo in code which checked
329 to see if the usage message should be printed.
330
331Thu Aug 17 22:55:58 1995 <tytso@rsts-11.mit.edu>
332
333 * debugfs.c (do_open_filesys): Change to always set optreset to 1,
334 to make BSD getopt()'s happy. Also set optind to 1, which
335 should make more getopt()'s happy.
336
337Fri Aug 11 08:45:01 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
338
339 * debugfs.c (do_find_free_block, do_find_free_inode): Fix bug in
340 the usage handling where "ffi ?" or "ffb ?" would
341 dereference a NULL pointer.
342
343Fri Aug 11 14:21:07 1995 Remy Card <card@bbj>
344
345 * debugfs.8: Updated date and version number.
346
347Thu Aug 10 14:28:50 1995 Remy Card <card@bbj>
348
349 * debugfs.8: Fixed a spelling error in Ted's name :-)
350
351Mon Jun 12 19:08:25 1995 Theodore Y. Ts'o (tytso@dcl)
352
353 * debugfs.c, ncheck.c, icheck.c, lsdel.c, dump.c: Include
354 <errno.h> (if it exists)
355
356 * debugfs.c, dump.c, icheck.c, lsdel.c, ncheck.c: Don't include
357 <getopt.h> if it doesn't exist.
358
359Sun Jun 11 15:21:07 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
360
361 * ncheck.c (do_ncheck): Use LINUX_S_ISDIR instead of S_ISDIR
362
363 * debugfs.c: Implement the mknod and write commands (from Linus).
364
365 Change names of modify_char, modify_short, and modify_long
366 to be modify_u8, modify_u16, and modify_u32, respectively.
367
368Thu Jun 8 12:29:15 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
369
370 * debugfs.c (dump_inode): Only print out inode frag fields if
371 HAVE_EXT2_FRAGS is defined (by configure). Don't print out the
372 reserved field at all for now.
373
374 * Makefile.in: Rewritten to conform to GNU coding standards and
375 support separate compilation directories.
376
Theodore Ts'o6f4a1091997-04-26 13:32:25 +0000377Thu Nov 24 17:46:23 1994 Theodore Y. Ts'o (tytso@rt-11)
378
379 * dump.c: Added two new commands, "dump" and "cat", which allow
380 the user to dump the contents of an inode to a file or to
381 stdout, respectively.
382
383