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