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