blob: 051832cda4a82aaaab543c804bf7689f2adf9ff6 [file] [log] [blame]
Theodore Ts'o77200f42000-01-18 17:53:27 +000012000-01-18 Theodore Ts'o <tytso@valinux.com>
2
Theodore Ts'oe5973042000-01-18 17:58:34 +00003 * debugfs.c (main): Use return instead of exit at the end of main
4 to avoid some compiler warnings.
5
Theodore Ts'o77200f42000-01-18 17:53:27 +00006 * Makefile.in: Since LIBUUID can sometimes include
7 "-lsocket" we need a separate DEPLIBUUID that can be used
8 in Makefile's dependency rules.
9
Theodore Ts'o5c36a2f1999-11-19 18:42:30 +0000101999-11-19 <tytso@valinux.com>
11
12 * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
13 the source directory.
14
Theodore Ts'ocd086361999-11-10 16:00:39 +0000151999-11-10 <tytso@valinux.com>
16
17 * Release of E2fsprogs 1.18
18
Theodore Ts'o643efb81999-11-08 19:27:13 +0000191999-11-08 <tytso@valinux.com>
20
21 * icheck.c (do_icheck):
22 * ncheck.c (do_ncheck): If ext2fs_open_inode_scan() returns
23 EXT2_ET_BAD_BLOCK_IN_INODE_TABLE loop to skip over the bad
24 blocks in the inode table.
25
Theodore Ts'of68aa411999-10-26 14:20:22 +0000261999-10-26 <tytso@valinux.com>
27
Theodore Ts'o28e11941999-10-26 18:17:20 +000028 * Release of E2fsprogs 1.17
29
301999-10-26 <tytso@valinux.com>
31
Theodore Ts'of68aa411999-10-26 14:20:22 +000032 * debugfs.h: Add declaration for do_features()
33
34 * debugfs.c: Add #incldue of e2p.h to fix gcc warnings.
35
Theodore Ts'o601002b1999-10-26 02:06:39 +0000361999-10-25 <tytso@valinux.com>
37
38 * debugfs.c (do_dirty_filesys): Make the "dirty" command clear the
39 valid bit on the superblock. (And with a -clean option to
40 set the valid bit.) Originally it was used just to set
41 the "needs to be written" bit in the in-core version of
42 the fs structure.
43
Theodore Ts'o614fdfd1999-10-23 03:19:51 +0000441999-10-22 <tytso@valinux.com>
45
46 * Release of E2fsprogs 1.16
47
Theodore Ts'od3aea7d1999-09-14 20:55:37 +0000481999-09-07 <tytso@rsts-11.mit.edu>
49
50 * debugfs.c, debug_cmds.ct: Add new debugfs command "feature"
51 which allows the user to set or clear filesystme features.
52 Add the -f (force) option to the open command. Add the
53 -h (superblock header only) option to the stats command.
54
Theodore Ts'o55376d81999-07-31 00:32:57 +0000551999-07-30 <tytso@rsts-11.mit.edu>
56
57 * debugfs.c (dump_inode): Fix debugfs message so it is the same
58 for when compiled under either Linux 2.2 or 2.3. This
59 allows for the f_swapfs regression test suite to work
60 regardless of which OS e2fsprogs was compiled on.
61
Theodore Ts'o657cb971999-07-30 23:19:10 +0000621999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu>
63
64 * Release of E2fsprogs 1.15
65
Theodore Ts'ob41d3601999-06-25 15:32:37 +0000661999-06-23 <tytso@valinux.com>
67
68 * debugfs.c (dump_inode): Add compatibility for Linux 2.3 kernels
69 that use i_generation instead of i_version. Patch
70 supplied by Jon Bright <sircus@sircus.demon.co.uk>.
71
Theodore Ts'oce5ee991999-02-19 18:56:43 +0000721999-02-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
73
74 * icheck.c (do_icheck): Check to make sure the inode has valid
75 blocks before iterating over that inode's blocks.
76
Theodore Ts'o9e51eca1999-01-09 16:32:31 +0000771999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
78
79 * Release of E2fsprogs 1.14
80
Theodore Ts'o556ad131998-12-19 08:10:58 +0000811998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
82
83 * Release of E2fsprogs 1.13
84
Theodore Ts'odba838b1998-12-04 06:15:12 +0000851998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu>
86
87 * Makefile.in: Updated dependencies.
88
Theodore Ts'o91d6d481998-08-01 01:03:39 +0000891998-07-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
90
91 * debugfs.c (do_stat, do_clri): Fix bug where debugfs wasn't
92 displaying the error message if ext2fs_read_inode() failed.
93 (do_rm): Fix similar problem for call to ext2fs_namei().
94
Theodore Ts'o4a5fa191998-07-09 05:42:45 +0000951998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
96
97 * Release of E2fsprogs 1.12
98
Theodore Ts'o818180c1998-06-27 05:11:14 +0000991998-06-27 Theodore Ts'o <tytso@rsts-11.mit.edu>
100
101 * debugfs.c: Add a -V option which displays the current version.
102
Theodore Ts'o7e44f241998-04-01 03:16:29 +00001031998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
104
105 * Makefile.in: Change to use new installation directory variables
106 convention. Fix installdirs and uninstall rules to reflect
107 the fact that debugfs has been installed in the root
108 filesystem. Fix uninstall rules to take $(DESTDIR) into
109 account.
110
Theodore Ts'o4a31c481998-03-30 01:27:25 +00001111998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
112
113 * debugfs.h: Add declaration for do_dirty_filsys() to prevent
114 -Wall warnings.
115
116 * debugfs.c (copy_file):
117 * dump.c (dump_file): Fix -Wall warning caused by
118 signed/unsigned mismatch.
119
Theodore Ts'o36a43d61998-03-24 16:17:51 +00001201998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu>
121
122 * debugfs.c, ls.c, lsdel.c: Add support for large files. (The
123 high 32 bits share space with the i_dir_acl field.)
124
Theodore Ts'occe382b1998-03-09 13:07:09 +0000125Sun Mar 8 22:53:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
126
127 * ls.c (list_dir_proc): Mask off high 8 bits from
128 dirent->name_len.
129
Theodore Ts'o5be8dc21997-12-01 18:24:10 +0000130Mon Dec 1 13:21:09 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
131
132 * Makefile.in: Install debugfs in /sbin, instead of /usr/sbin.
133
Theodore Ts'o5a513841997-10-25 22:41:14 +0000134Sat Oct 25 18:35:30 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
135
136 * debugfs.c (copy_file), dump.c (dump_file): Change to use the new
137 fileio primitives in libext2.
138
Theodore Ts'of1304811997-10-25 03:51:53 +0000139Fri Oct 24 23:47:43 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
140
141 * debugfs.c (main, do_open_filesys):
142 * dump.c (do_dump): Make the variable which getopt returns into be
143 an int, so that it won't lose on platforms where char is
144 unsigned.
145
Theodore Ts'ob4ac9cc1997-10-15 01:54:48 +0000146Tue Oct 14 21:50:24 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
147
148 * debugfs.c (main): When printing a usage message, have main
149 return 1 (instead of not specifying a return value, bad!)
150
Theodore Ts'oa8859ca1997-09-16 02:08:28 +0000151Mon Sep 15 22:03:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
152
153 * debugfs.c (main): Fix declaration of main so that it returns an int.
154
Theodore Ts'o024996c1997-06-17 05:38:35 +0000155Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
156
157 * Release of E2fsprogs 1.11
158
Theodore Ts'o583ccdc1997-05-09 03:06:31 +0000159Thu May 8 23:05:40 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
160
161 * debugfs.8.in: Fix minor typos and grammer oops found by Bill
162 Hawes (whawes@star.net).
163
Theodore Ts'oa29f4d31997-04-29 21:26:48 +0000164Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
165
166 * Release of E2fsprogs version 1.10
167
168Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
169
170 * Release of E2fsprogs version 1.09
171
Theodore Ts'o2ecc6fe1997-04-29 17:57:00 +0000172Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
173
174 * Release of E2fsprogs version 1.08
175
Theodore Ts'o521e3681997-04-29 17:48:10 +0000176Thu Apr 10 14:36:05 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
177
178 * ls.c: New file which implements the ls command. Added the -l
179 option.
180
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000181Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
182
183 * Release of E2fsprogs version 1.07
184
185Wed Jan 1 23:53:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
186
187 * lsdel.c (do_lsdel): Use time_to_string() instead of ctime().
188
189Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
190
191 * Release of E2fsprogs version 1.06
192
Theodore Ts'o5c576471997-04-29 15:29:49 +0000193Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
194
195 * Release of E2fsprogs version 1.05
196
Theodore Ts'ofc6d9d51997-04-29 14:51:31 +0000197Mon Sep 9 23:05:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
198
199 * debugfs.c (unlink_file_by_name): If unlinking a file with a
200 directory path, correctly replace the slash with a NULL.
201 (do_show_debugfs_params): Don't try to print the open mode
202 if there's no filesystem opened (since that will cause a
203 core dump).
204 (main): Fix usage string; the -w and device elements are
205 independently optional.
206
207Tu Sep 3 15:09:39 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
208
209 * debugfs.c (main): Added -f option to debugfs, which takes a
210 command file of debugfs commands and executes them.
211
212Sat Aug 31 01:18:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
213
214 * debugfs.8.in: Heavily edited and improved manual page.
215
216 * dump.c (dump_file): Improve the write function for writing out
217 the file, so that it is limited to the actual size of the
218 file, instead of outputing the nulls following the EOF.
219 Make sure dump_file does the right thing for files with holes.
220 (do_dump): Add support for the -p option to the dump
221 command, which attempts to preserve the owner and
222 permissions field.
223
224Fri Aug 30 14:56:59 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
225
226 * debugfs.c (main): Add -R option to debugfs, which allows it to
227 take a single debugfs command on the command line.
228
229Fri Aug 9 09:03:31 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
230
231 * debugfs.c (do_open_filesys): Set optind to 0 to reset getopt(),
232 to be complete correct.
233 (do_show_super_stats): Print OS type, volume label, last
234 mounted directory, and UUID.
235 (dump_inode): Print the fragment information in a
236 filesystem independent way.
237 (do_modify_inode): Modify the fragement information in a
238 filesystem independent way.
239
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000240Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
241
242 * Release of E2fsprogs version 1.04
243
244Wed May 3 20:41:26 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
245
246 * debugfs.c (dump_inode): Correctly print the translator on the hurd.
247 (do_modify_inode): Modify the translator block on the hurd.
248
Theodore Ts'o7f88b041997-04-26 14:48:50 +0000249Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu>
250
251 * Release of E2fsprogs version 1.03
252
Theodore Ts'o74becf31997-04-26 14:37:06 +0000253Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
254
255 * Release of E2fsprogs version 1.02
256
257Fri Dec 1 22:42:31 1995 <tytso@rsts-11.mit.edu>
258
259 * Makefile.in (LIBS): Rearrange the order of the libraries to be
260 linked, so that -lext2fs is before -lcom_err.
261
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000262Thu Oct 26 12:05:06 1995 <tytso@rsts-11.mit.edu>
263
264 * Makefile.in (install): Strip programs when they are installed.
265
266Fri Aug 18 15:09:08 1995 Theodore Y. Ts'o <tytso@dcl>
267
268 * debugfs.c (do_find_free_block): Fix typo in code which checked
269 to see if the usage message should be printed.
270
271Thu Aug 17 22:55:58 1995 <tytso@rsts-11.mit.edu>
272
273 * debugfs.c (do_open_filesys): Change to always set optreset to 1,
274 to make BSD getopt()'s happy. Also set optind to 1, which
275 should make more getopt()'s happy.
276
277Fri Aug 11 08:45:01 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
278
279 * debugfs.c (do_find_free_block, do_find_free_inode): Fix bug in
280 the usage handling where "ffi ?" or "ffb ?" would
281 dereference a NULL pointer.
282
283Fri Aug 11 14:21:07 1995 Remy Card <card@bbj>
284
285 * debugfs.8: Updated date and version number.
286
287Thu Aug 10 14:28:50 1995 Remy Card <card@bbj>
288
289 * debugfs.8: Fixed a spelling error in Ted's name :-)
290
291Mon Jun 12 19:08:25 1995 Theodore Y. Ts'o (tytso@dcl)
292
293 * debugfs.c, ncheck.c, icheck.c, lsdel.c, dump.c: Include
294 <errno.h> (if it exists)
295
296 * debugfs.c, dump.c, icheck.c, lsdel.c, ncheck.c: Don't include
297 <getopt.h> if it doesn't exist.
298
299Sun Jun 11 15:21:07 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
300
301 * ncheck.c (do_ncheck): Use LINUX_S_ISDIR instead of S_ISDIR
302
303 * debugfs.c: Implement the mknod and write commands (from Linus).
304
305 Change names of modify_char, modify_short, and modify_long
306 to be modify_u8, modify_u16, and modify_u32, respectively.
307
308Thu Jun 8 12:29:15 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
309
310 * debugfs.c (dump_inode): Only print out inode frag fields if
311 HAVE_EXT2_FRAGS is defined (by configure). Don't print out the
312 reserved field at all for now.
313
314 * Makefile.in: Rewritten to conform to GNU coding standards and
315 support separate compilation directories.
316
Theodore Ts'o6f4a1091997-04-26 13:32:25 +0000317Thu Nov 24 17:46:23 1994 Theodore Y. Ts'o (tytso@rt-11)
318
319 * dump.c: Added two new commands, "dump" and "cat", which allow
320 the user to dump the contents of an inode to a file or to
321 stdout, respectively.
322
323