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