blob: 24977f0873cc3ec7d807e47d8eecfd37197bdb81 [file] [log] [blame]
Theodore Ts'od7f64ae2002-07-09 01:27:05 -040012002-07-09 Theodore Ts'o <tytso@mit.edu>
2
3 * debugfs.c (do_rmdir), debugfs.8.in: Implement the rmdir command.
4 Addresses Debian bug #138003.
5
Theodore Ts'o503f9e72002-06-26 16:52:10 -040062002-06-26 Theodore Ts'o <tytso@mit.edu>
7
8 * htree.c (do_dx_hash): Use new ext2fs_dirhash function signature.
9 Add getopt support so user can specify the hash version.
10
Theodore Ts'ob38cd282002-05-11 22:13:20 -0400112002-05-11 <tytso@snap.thunk.org>
12
13 * debug_cmds.ct, debugfs.c (do_bmap): Add new command "bmap" which
14 calculates the logical->physical block mapping for an
15 inode.
16
17 * debugfs.c (do_init_filsys, main), util.c
18 (common_block_args_process): Fix bad calling parameter
19 order when calling parse_ulong. This broke the -b and -s
20 options to debugfs, as well as do_init, and the testb,
21 setb, clearb functions.
22
Theodore Ts'oe5b3b272002-04-01 15:42:21 -0500232002-04-01 <tytso@snap.thunk.org>
24
25 * util.c (parse_ulong): Fix typo which cases parse_ulong to
26 coredump if the err variable is filled in (for example, if
27 the -b or -s options are passed to the debugfs's
28 command-line invocation).
29
Theodore Ts'o52783e02002-03-11 15:04:45 -0500302002-03-11 Theodore Tso <tytso@mit.edu>
31
Theodore Ts'of9190c82002-03-12 01:05:06 -050032 * ls.c (list_dir_proc): Fix bug: ls -l fails to print the file
33 type correctly if running on big-endian systems.
34
Theodore Ts'o52783e02002-03-11 15:04:45 -050035 * htree.c (htree_dump_leaf_node): Use the ext2_dirhash function
36 instead of a local static function.
37
Theodore Ts'oa8e77242002-03-08 03:12:14 -0500382002-03-08 Theodore Tso <tytso@mit.edu>
39
40 * Release of E2fsprogs 1.27
41
Theodore Ts'o3f830202002-03-07 02:56:53 -0500422002-03-07 <tytso@snap.thunk.org>
43
44 * ls.c (list_dir_proc): Fix typo in debugfs which was causing a
45 compiler warning.
46
Theodore Ts'o7380ac92002-03-05 01:57:53 -0500472002-03-05 Theodore Tso <tytso@mit.edu>
48
49 * lsdel.c (do_lsdel): lsdel uses the pager to print out the list
50 of potentially deleted inode. Thanks to Jaroslav Drzik
51 <jdrzik@host.sk> for suggesting this enhancement.
52
53 * debugfs.c (do_modify_inode): Fix bug which caused modify_inode
54 to core dump if a fliesystem isn't open. Thanks to
55 Jaroslav Drzik <jdrzik@host.sk> for finding and reporting
56 the bug and his proposed fix.
57
Theodore Ts'ofa7c3022002-02-26 17:13:12 -0500582002-02-26 Theodore Tso <tytso@mit.edu>
59
60 * ls.c (list_dir_proc): When listing the directory entry in long
61 format, include the file type of the directory entry in
62 parenthesis.
63
Theodore Ts'o57173d02002-02-26 14:59:39 -0500642002-02-25 Theodore Tso <tytso@mit.edu>
Theodore Ts'odf614db2002-02-25 04:28:45 -050065
66 * util.c (open_pager): If the PAGER environment is set to __none__
67 then don't use a pager at all, and ship it all to stdout.
68
69 * Makefile.in, debug_cmds.ct, htree.c: Add new file htree.c, which
70 implements the three new commands, htree_dump, dx_hash,
71 and dirsearch.
72
Theodore Ts'o57173d02002-02-26 14:59:39 -0500732002-02-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'ob9f40922002-02-24 03:08:57 -050074
75 * Makefile.in (install): Remove any compressed man pages before
76 installing the man pages.
77
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -0500782002-02-03 Theodore Tso <tytso@thunk.org>
79
80 * Release of E2fsprogs 1.26
81
Theodore Ts'o57173d02002-02-26 14:59:39 -0500822002-01-03 Theodore Tso <tytso@mit.edu>
Theodore Ts'oe1018ee2002-01-03 04:55:25 -050083
84 * lsdel.c (do_lsdel): New optional argument which allows the user
85 to only see the most recently deleted files.
86
87 * debugfs.c (do_undel, do_testb, do_freeb, do_setb, do_ffb): Add
88 new command, undelete, which automates undeleting a
89 deleted inode and linking it back to a directory. Add a
90 count argument to the testb, freeb, setb, and ffb commands.
91
92 * ls.c (list_dir_proc, do_list_dir): Add support for -d option
93 which lists deleted directory entries.
94
95 * debug_cmds.ct: Add new command, undelete.
96
97 * dump.c, icheck.c, logdump.c, ls.c, lsdel.c, setsuper.c,
98 debugfs.c: Use new utility functions which factor out
99 commonly used code.
100
101 * util.c (debugfs_read_inode, debugfs_write_inode,
102 common_block_args_process, common_inode_args_process,
103 common_args_process, strtoblk, parse_ulong): New
104 functions which factor out commonly used code into
105 subroutines for ease of maintenance and to make the
106 executable size smaller.
107
Theodore Ts'o57173d02002-02-26 14:59:39 -05001082001-12-23 Theodore Tso <tytso@mit.edu>
Theodore Ts'o19007e52001-12-23 19:33:51 -0500109
110 * Makefile.in, jfs_user.h: Move linux/jbd.h to
111 ext2fs/kernel-jbd.h, to avoid using the system header
112 file version of hbd.h when using diet glibc (since it
113 forcibly adds /usr/include to the beginning of the
114 include search path.)
115
Theodore Ts'o57173d02002-02-26 14:59:39 -05001162001-12-22 Theodore Tso <tytso@mit.edu>
Theodore Ts'o34436892001-12-22 13:06:02 -0500117
118 * debugfs.c (kill_file_by_inode, release_blocks_proc): Update the
119 group descriptor free block and inode counts when deleting
120 or killing a file.
121
Theodore Ts'o57173d02002-02-26 14:59:39 -05001222001-12-16 Theodore Tso <tytso@mit.edu>
Theodore Ts'o8cf93332001-12-16 02:23:36 -0500123
Theodore Ts'o4ea7bd02001-12-16 23:23:37 -0500124 * setsuper.c (print_possible_fields),
125 logdump.c (dump_journal): Fix gcc -Wall nits
126
Theodore Ts'o8cf93332001-12-16 02:23:36 -0500127 * Makefile.in, jfs_user.h: linux/jfs.h has been renamed to
128 linux/jbd.h
129
Theodore Ts'o57173d02002-02-26 14:59:39 -05001302001-12-02 Theodore Tso <tytso@mit.edu>
Theodore Ts'o571fc5a2001-12-02 17:23:27 +0100131
132 * util.c (close_pager): Use pclose() instead of fclose() when
133 closing the pager stream.
134
Theodore Ts'o57173d02002-02-26 14:59:39 -05001352001-11-30 Theodore Tso <tytso@mit.edu>
Theodore Ts'oe8981882001-11-30 11:51:30 +0100136
137 * debugfs.c (finish_range, dump_blocks): Fixed bug in Andreas's >
138 2GB support changes: you need to use %lld when printf'ing
139 an long long variable.
140
Theodore Ts'o57173d02002-02-26 14:59:39 -05001412001-11-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'o6e96adc2001-11-24 16:10:52 -0500142
143 * debugfs.8.in: Update manual page to document the set_super_value
144 and logdump commands, and move the "specifying files"
145 section closer to the beginning of the man page so people
146 won't miss it.
147
148 * setsuper.c (print_possible_fields): "set_super_value -l" now
149 prints out the list of valid superblock fields which the
150 ssv command can set.
151
Theodore Ts'ofbf91112001-09-20 10:47:47 -04001522001-09-20 Theodore Tso <tytso@thunk.org>
153
154 * Release of E2fsprogs 1.25
155
Theodore Ts'ofb707752001-09-04 15:00:37 -04001562001-09-02 Theodore Tso <tytso@thunk.org>
157
158 * Release of E2fsprogs 1.24a
159
Theodore Ts'o109624a2001-08-31 00:59:55 -04001602001-08-30 Theodore Tso <tytso@thunk.org>
161
162 * Release of E2fsprogs 1.24
163
Theodore Ts'o0f8973f2001-08-27 12:44:23 -04001642001-08-27 Theodore Tso <tytso@valinux.com>
165
166 * debugfs.c (main): Remove EXT2FS_VERSION from the version
167 display, since it only confuses people.
168
Theodore Ts'o943ed872001-08-27 12:29:22 -04001692001-08-15 Theodore Tso <tytso@valinux.com>
170
171 * Release of E2fsprogs 1.23
172
Theodore Ts'o5faba3a2001-08-12 03:38:51 -04001732001-08-12 Theodore Tso <tytso@valinux.com>
174
175 * logdump.c (do_logdump, dump_journal): Add support for dumping
176 external journals.
177
Theodore Ts'o67960132001-06-23 00:16:37 -04001782001-06-23 Theodore Tso <tytso@valinux.com>
179
180 * Release of E2fsprogs 1.22
181
Theodore Ts'of4f75ba2001-06-16 01:14:28 +00001822001-06-15 Theodore Tso <tytso@valinux.com>
183
184 * Release of E2fsprogs 1.21
185
Theodore Ts'o364a3732001-06-13 23:46:39 +00001862001-06-13 Theodore Tso <tytso@valinux.com>
187
188 * setsuper.c: Add s_lastcheck field to the fields which can be
189 modified using set_super_value. (Suggested by Andreas
190 Dilger)
191
Theodore Ts'ob7846402001-06-03 23:27:56 +00001922001-06-03 Theodore Tso <tytso@valinux.com>
193
194 * debugfs.c (copy_file): Fixed signed vs unsigned bug which causes
195 read errors to not be noticed.
196
Theodore Ts'o4bb0c042001-06-01 15:22:38 +00001972001-06-01 Theodore Tso <tytso@valinux.com>
198
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000199 * Makefile.in: Move include/asm/types.h.in to
Theodore Ts'o36a23e12001-06-02 00:54:10 +0000200 lib/ext2fs/ext2_types.h.in.
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000201
Theodore Ts'o5e4f0702001-06-01 15:36:05 +0000202 * debugfs.c, debugfs.h, logdump.c: Fix various gcc -Wall nitpicks.
203
Theodore Ts'o4bb0c042001-06-01 15:22:38 +0000204 * logdump.c (read_journal_block): Replace pread with lseek/read
205 combination.
206
Theodore Ts'obb185862001-05-25 17:35:00 +00002072001-05-25 Theodore Tso <tytso@valinux.com>
208
209 * Release of E2fsprogs 1.20
210
Theodore Ts'o54c637d2001-05-14 11:45:38 +00002112001-05-14 Theodore Tso <tytso@valinux.com>
212
213 * debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
214
Theodore Ts'o777ebb32001-05-13 02:45:15 +00002152001-05-12 Theodore Tso <tytso@valinux.com>
216
217 * debugfs.c (print_features): Use fputs instead of printf to
218 output using the passed-in FILE *.
219
Theodore Ts'o085cb192001-05-09 06:09:12 +00002202001-05-09 Theodore Tso <tytso@valinux.com>
221
222 * debugfs.c (do_write, do_mknod): Set the file type information
223 when creating the inode.
224
Theodore Ts'o59cf7e02001-05-03 15:05:55 +00002252001-05-03 Theodore Tso <tytso@valinux.com>
226
227 * debugfs.c (do_open_filesys, main): Add -i option which will
228 allow debugfs to examine ext2 image files.
229
Theodore Ts'oda81e3f2001-03-29 20:49:58 +00002302001-03-29 Theodore Tso <tytso@valinux.com>
231
232 * debugfs.c (dump_blocks, dump_inode, internal_dump_inode): Add
233 internal_dump_inode() interface for the logdump command.
234
235 * logdump.c: Imported code from Stephen Tweedie to dump the ext3
236 journal.
237
Theodore Ts'o0a24c002001-03-18 18:16:18 +00002382001-03-18 Theodore Tso <tytso@valinux.com>
239
240 * debugfs.c (do_write, do_mknod): Remove extra (useless) call to
241 ext2fs_write_inode.
242
Theodore Ts'ob74d1d82001-01-12 17:23:52 +00002432001-01-12 Theodore Ts'o <tytso@valinux.com>
244
Theodore Ts'o426d7342001-01-13 01:29:05 +0000245 * setsuper.c: Cleaned up some random whitespace problems.
246
247 * debugfs.h, debugfs.c (do_show_super_stats): Use full words
Theodore Ts'ob74d1d82001-01-12 17:23:52 +0000248 instead of pluralism hack to make I18N conversion easier.
249 Clean up gcc -Wall complaints.
250
Theodore Ts'ob044c2e2001-01-11 15:26:39 +00002512001-01-11 <tytso@snap.thunk.org>
252
253 * debugfs.c, debugfs.h, dump.c, icheck.c, ls.c, lsdel.c, ncheck.c,
254 setsuper.c, util.c: Change ino_t to ext2_ino_t. Fix a few
255 minor gcc-wall complaints while we're at it.
256
Theodore Ts'o5dd8f962001-01-01 15:51:50 +00002572001-01-01 <tytso@snap.thunk.org>
258
259 * debugfs.c Replace use of struct ext2fs_sb with struct
260 ext2_super_block.
261
Theodore Ts'o3db93052000-12-30 20:26:31 +00002622000-12-30 <tytso@snap.thunk.org>
263
Theodore Ts'oc5de1d42000-12-31 01:39:54 +0000264 * dump.c (fix_perms): Fix bug for systems which don't have fchown;
265 was incorrectly using chmod instead of chown.
266
Theodore Ts'o3db93052000-12-30 20:26:31 +0000267 * setsuper.c (find_field): Strip the s_prefix if given for ssv
Theodore Ts'oc5de1d42000-12-31 01:39:54 +0000268 fields. Remove hard-coded s_ from inode_size
269 field. (Suggested by Andreas Dilger)
Theodore Ts'o3db93052000-12-30 20:26:31 +0000270
271 * debugfs.c (do_modify_inode): Add the ability to set the inode
272 generation number. (Suggested by Andreas Dilger)
273
Theodore Ts'o9131a752000-08-23 04:36:25 +00002742000-08-23 <tytso@valinux.com>
275
276 * util.c (string_to_inode): Use strtoul instead of atoi, so that
277 hex inode numbers will be accepted.
278
Theodore Ts'o2c4a5402000-08-19 17:33:28 +00002792000-08-19 <tytso@valinux.com>
280
281 * util.c (open_pager): Set SIGPIPE to be ignored, so that quitting
282 out of the pager doesn't blow away debugfs.
283
Theodore Ts'o0a3db932000-08-14 17:06:05 +00002842000-08-14 <tytso@valinux.com>
285
Theodore Ts'obd09eff2000-08-14 20:39:17 +0000286 * debugfs.c (do_show_super_stats): Use list_super2() instead of
287 using explicit printf statements. (We get a more complete
288 printout this way.)
289
Theodore Ts'oc6bd0c92000-08-14 20:37:09 +0000290 * util.c (open_pager): If the PAGER environment variable is not
291 set, default to using "more".
292
293 * setsuper.c: New function which implements the set_super_value
294 command. Allows the user to set arbitrary superblock
295 fields.
296
Theodore Ts'o0a3db932000-08-14 17:06:05 +0000297 * debugfs.c (dump_inode): Cap the length when printing a fast
298 symbolic link to inode.i_size.
299 (list_blocks_proc): Print block ranges (4510-4533) to make
300 the stat output easier to read.
301
Theodore Ts'oa5eef732000-08-14 15:47:15 +00003022000-06-27 Andreas Dilger <adilger@turbolabs.com>
303
304 * debugfs.c (list_blocks_proc): show relative inode block numbers
305 and/or indirect block status
306
Theodore Ts'of9e67062000-07-13 23:25:54 +00003072000-07-13 <tytso@valinux.com>
308
309 * Release of E2fsprogs 1.19
310
Theodore Ts'o14197172000-07-05 17:48:34 +00003112000-07-05 Theodore Ts'o <tytso@valinux.com>
312
313 * debugfs.c (dump_inode): Make the generation field be printed as
314 an unsigned integer.
315
Theodore Ts'o619dd192000-07-04 12:37:55 +00003162000-07-04 <tytso@snap.thunk.org>
317
318 * Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the
319 mk_cmds support files from the source tree.
320
Theodore Ts'oee753092000-06-09 04:24:36 +00003212000-06-09 <tytso@snap.thunk.org>
322
323 * lsdel.c (do_lsdel): Handle bad bad blocks in inode table.
324
Theodore Ts'od61f6172000-05-27 16:04:00 +00003252000-05-27 Theodore Ts'o <tytso@valinux.com>
326
327 * debugfs.c (do_testb, do_testi): Call check_fs_bitmaps to avoid
328 coredumping if the bitmaps aren't loaded.
329
330 * util.c (check_fs_bitmaps): New function which checks whether or
331 not the bitmaps are loaded.
332
Theodore Ts'o2e8d40d2000-05-27 15:15:40 +00003332000-05-23 Aaron Crane <aaronc@pobox.com>
334
335 * debugfs.8.in: Documented new behaviour.
336
337 * ls.c (ls_l_file): Fix Y2K bug -- was printing 22-May-100 for
338 recent files. Switched to 4-digit years.
339
340 * dump.c, debug_cmds.ct (do_rdump): Add new debugfs command
341 "rdump", which recursively dumps a directory and its
342 contents.
343 (fix_perms): New function. Break permission-fixing
344 code out of dump_file() so it can be called by rdump
345 code as well.
346 (dump_file): Call fix_perms().
347
348 * debugfs.c, debug_cmds.ct (do_lcd): Add new debugfs command
349 "lcd", which changes the cwd on the native filesystem.
350
351 * debugfs.c (open_filesystem): Extra args for superblock,
352 blocksize, and catastrophic mode. Changed callers.
353 (do_open_filesys, main): Accept new -b, -s, -c options
354 for open_filesystem.
355
Theodore Ts'o80e808f2000-02-02 16:19:59 +00003562000-02-02 Theodore Ts'o <tytso@valinux.com>
357
358 * debugfs.c (dump_inode): Remove #ifdef for i_version
359 vs. i_generation since we know it will always be
360 i_generation now.
361
Theodore Ts'o77200f42000-01-18 17:53:27 +00003622000-01-18 Theodore Ts'o <tytso@valinux.com>
363
Theodore Ts'oe5973042000-01-18 17:58:34 +0000364 * debugfs.c (main): Use return instead of exit at the end of main
365 to avoid some compiler warnings.
366
Theodore Ts'o77200f42000-01-18 17:53:27 +0000367 * Makefile.in: Since LIBUUID can sometimes include
368 "-lsocket" we need a separate DEPLIBUUID that can be used
369 in Makefile's dependency rules.
370
Theodore Ts'o5c36a2f1999-11-19 18:42:30 +00003711999-11-19 <tytso@valinux.com>
372
373 * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
374 the source directory.
375
Theodore Ts'ocd086361999-11-10 16:00:39 +00003761999-11-10 <tytso@valinux.com>
377
378 * Release of E2fsprogs 1.18
379
Theodore Ts'o643efb81999-11-08 19:27:13 +00003801999-11-08 <tytso@valinux.com>
381
382 * icheck.c (do_icheck):
383 * ncheck.c (do_ncheck): If ext2fs_open_inode_scan() returns
384 EXT2_ET_BAD_BLOCK_IN_INODE_TABLE loop to skip over the bad
385 blocks in the inode table.
386
Theodore Ts'of68aa411999-10-26 14:20:22 +00003871999-10-26 <tytso@valinux.com>
388
Theodore Ts'o28e11941999-10-26 18:17:20 +0000389 * Release of E2fsprogs 1.17
390
3911999-10-26 <tytso@valinux.com>
392
Theodore Ts'of68aa411999-10-26 14:20:22 +0000393 * debugfs.h: Add declaration for do_features()
394
395 * debugfs.c: Add #incldue of e2p.h to fix gcc warnings.
396
Theodore Ts'o601002b1999-10-26 02:06:39 +00003971999-10-25 <tytso@valinux.com>
398
399 * debugfs.c (do_dirty_filesys): Make the "dirty" command clear the
400 valid bit on the superblock. (And with a -clean option to
401 set the valid bit.) Originally it was used just to set
402 the "needs to be written" bit in the in-core version of
403 the fs structure.
404
Theodore Ts'o614fdfd1999-10-23 03:19:51 +00004051999-10-22 <tytso@valinux.com>
406
407 * Release of E2fsprogs 1.16
408
Theodore Ts'od3aea7d1999-09-14 20:55:37 +00004091999-09-07 <tytso@rsts-11.mit.edu>
410
411 * debugfs.c, debug_cmds.ct: Add new debugfs command "feature"
412 which allows the user to set or clear filesystme features.
413 Add the -f (force) option to the open command. Add the
414 -h (superblock header only) option to the stats command.
415
Theodore Ts'o55376d81999-07-31 00:32:57 +00004161999-07-30 <tytso@rsts-11.mit.edu>
417
418 * debugfs.c (dump_inode): Fix debugfs message so it is the same
419 for when compiled under either Linux 2.2 or 2.3. This
420 allows for the f_swapfs regression test suite to work
421 regardless of which OS e2fsprogs was compiled on.
422
Theodore Ts'o657cb971999-07-30 23:19:10 +00004231999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu>
424
425 * Release of E2fsprogs 1.15
426
Theodore Ts'ob41d3601999-06-25 15:32:37 +00004271999-06-23 <tytso@valinux.com>
428
429 * debugfs.c (dump_inode): Add compatibility for Linux 2.3 kernels
430 that use i_generation instead of i_version. Patch
431 supplied by Jon Bright <sircus@sircus.demon.co.uk>.
432
Theodore Ts'oce5ee991999-02-19 18:56:43 +00004331999-02-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
434
435 * icheck.c (do_icheck): Check to make sure the inode has valid
436 blocks before iterating over that inode's blocks.
437
Theodore Ts'o9e51eca1999-01-09 16:32:31 +00004381999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
439
440 * Release of E2fsprogs 1.14
441
Theodore Ts'o556ad131998-12-19 08:10:58 +00004421998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
443
444 * Release of E2fsprogs 1.13
445
Theodore Ts'odba838b1998-12-04 06:15:12 +00004461998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu>
447
448 * Makefile.in: Updated dependencies.
449
Theodore Ts'o91d6d481998-08-01 01:03:39 +00004501998-07-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
451
452 * debugfs.c (do_stat, do_clri): Fix bug where debugfs wasn't
453 displaying the error message if ext2fs_read_inode() failed.
454 (do_rm): Fix similar problem for call to ext2fs_namei().
455
Theodore Ts'o4a5fa191998-07-09 05:42:45 +00004561998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
457
458 * Release of E2fsprogs 1.12
459
Theodore Ts'o818180c1998-06-27 05:11:14 +00004601998-06-27 Theodore Ts'o <tytso@rsts-11.mit.edu>
461
462 * debugfs.c: Add a -V option which displays the current version.
463
Theodore Ts'o7e44f241998-04-01 03:16:29 +00004641998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
465
466 * Makefile.in: Change to use new installation directory variables
467 convention. Fix installdirs and uninstall rules to reflect
468 the fact that debugfs has been installed in the root
469 filesystem. Fix uninstall rules to take $(DESTDIR) into
470 account.
471
Theodore Ts'o4a31c481998-03-30 01:27:25 +00004721998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
473
474 * debugfs.h: Add declaration for do_dirty_filsys() to prevent
475 -Wall warnings.
476
477 * debugfs.c (copy_file):
478 * dump.c (dump_file): Fix -Wall warning caused by
479 signed/unsigned mismatch.
480
Theodore Ts'o36a43d61998-03-24 16:17:51 +00004811998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu>
482
483 * debugfs.c, ls.c, lsdel.c: Add support for large files. (The
484 high 32 bits share space with the i_dir_acl field.)
485
Theodore Ts'occe382b1998-03-09 13:07:09 +0000486Sun Mar 8 22:53:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
487
488 * ls.c (list_dir_proc): Mask off high 8 bits from
489 dirent->name_len.
490
Theodore Ts'o5be8dc21997-12-01 18:24:10 +0000491Mon Dec 1 13:21:09 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
492
493 * Makefile.in: Install debugfs in /sbin, instead of /usr/sbin.
494
Theodore Ts'o5a513841997-10-25 22:41:14 +0000495Sat Oct 25 18:35:30 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
496
497 * debugfs.c (copy_file), dump.c (dump_file): Change to use the new
498 fileio primitives in libext2.
499
Theodore Ts'of1304811997-10-25 03:51:53 +0000500Fri Oct 24 23:47:43 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
501
502 * debugfs.c (main, do_open_filesys):
503 * dump.c (do_dump): Make the variable which getopt returns into be
504 an int, so that it won't lose on platforms where char is
505 unsigned.
506
Theodore Ts'ob4ac9cc1997-10-15 01:54:48 +0000507Tue Oct 14 21:50:24 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
508
509 * debugfs.c (main): When printing a usage message, have main
510 return 1 (instead of not specifying a return value, bad!)
511
Theodore Ts'oa8859ca1997-09-16 02:08:28 +0000512Mon Sep 15 22:03:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
513
514 * debugfs.c (main): Fix declaration of main so that it returns an int.
515
Theodore Ts'o024996c1997-06-17 05:38:35 +0000516Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
517
518 * Release of E2fsprogs 1.11
519
Theodore Ts'o583ccdc1997-05-09 03:06:31 +0000520Thu May 8 23:05:40 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
521
522 * debugfs.8.in: Fix minor typos and grammer oops found by Bill
523 Hawes (whawes@star.net).
524
Theodore Ts'oa29f4d31997-04-29 21:26:48 +0000525Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
526
527 * Release of E2fsprogs version 1.10
528
529Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
530
531 * Release of E2fsprogs version 1.09
532
Theodore Ts'o2ecc6fe1997-04-29 17:57:00 +0000533Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
534
535 * Release of E2fsprogs version 1.08
536
Theodore Ts'o521e3681997-04-29 17:48:10 +0000537Thu Apr 10 14:36:05 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
538
539 * ls.c: New file which implements the ls command. Added the -l
540 option.
541
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000542Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
543
544 * Release of E2fsprogs version 1.07
545
546Wed Jan 1 23:53:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
547
548 * lsdel.c (do_lsdel): Use time_to_string() instead of ctime().
549
550Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
551
552 * Release of E2fsprogs version 1.06
553
Theodore Ts'o5c576471997-04-29 15:29:49 +0000554Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
555
556 * Release of E2fsprogs version 1.05
557
Theodore Ts'ofc6d9d51997-04-29 14:51:31 +0000558Mon Sep 9 23:05:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
559
560 * debugfs.c (unlink_file_by_name): If unlinking a file with a
561 directory path, correctly replace the slash with a NULL.
562 (do_show_debugfs_params): Don't try to print the open mode
563 if there's no filesystem opened (since that will cause a
564 core dump).
565 (main): Fix usage string; the -w and device elements are
566 independently optional.
567
568Tu Sep 3 15:09:39 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
569
570 * debugfs.c (main): Added -f option to debugfs, which takes a
571 command file of debugfs commands and executes them.
572
573Sat Aug 31 01:18:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
574
575 * debugfs.8.in: Heavily edited and improved manual page.
576
577 * dump.c (dump_file): Improve the write function for writing out
578 the file, so that it is limited to the actual size of the
579 file, instead of outputing the nulls following the EOF.
580 Make sure dump_file does the right thing for files with holes.
581 (do_dump): Add support for the -p option to the dump
582 command, which attempts to preserve the owner and
583 permissions field.
584
585Fri Aug 30 14:56:59 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
586
587 * debugfs.c (main): Add -R option to debugfs, which allows it to
588 take a single debugfs command on the command line.
589
590Fri Aug 9 09:03:31 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
591
592 * debugfs.c (do_open_filesys): Set optind to 0 to reset getopt(),
593 to be complete correct.
594 (do_show_super_stats): Print OS type, volume label, last
595 mounted directory, and UUID.
596 (dump_inode): Print the fragment information in a
597 filesystem independent way.
598 (do_modify_inode): Modify the fragement information in a
599 filesystem independent way.
600
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000601Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
602
603 * Release of E2fsprogs version 1.04
604
605Wed May 3 20:41:26 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
606
607 * debugfs.c (dump_inode): Correctly print the translator on the hurd.
608 (do_modify_inode): Modify the translator block on the hurd.
609
Theodore Ts'o7f88b041997-04-26 14:48:50 +0000610Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu>
611
612 * Release of E2fsprogs version 1.03
613
Theodore Ts'o74becf31997-04-26 14:37:06 +0000614Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
615
616 * Release of E2fsprogs version 1.02
617
618Fri Dec 1 22:42:31 1995 <tytso@rsts-11.mit.edu>
619
620 * Makefile.in (LIBS): Rearrange the order of the libraries to be
621 linked, so that -lext2fs is before -lcom_err.
622
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000623Thu Oct 26 12:05:06 1995 <tytso@rsts-11.mit.edu>
624
625 * Makefile.in (install): Strip programs when they are installed.
626
627Fri Aug 18 15:09:08 1995 Theodore Y. Ts'o <tytso@dcl>
628
629 * debugfs.c (do_find_free_block): Fix typo in code which checked
630 to see if the usage message should be printed.
631
632Thu Aug 17 22:55:58 1995 <tytso@rsts-11.mit.edu>
633
634 * debugfs.c (do_open_filesys): Change to always set optreset to 1,
635 to make BSD getopt()'s happy. Also set optind to 1, which
636 should make more getopt()'s happy.
637
638Fri Aug 11 08:45:01 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
639
640 * debugfs.c (do_find_free_block, do_find_free_inode): Fix bug in
641 the usage handling where "ffi ?" or "ffb ?" would
642 dereference a NULL pointer.
643
644Fri Aug 11 14:21:07 1995 Remy Card <card@bbj>
645
646 * debugfs.8: Updated date and version number.
647
648Thu Aug 10 14:28:50 1995 Remy Card <card@bbj>
649
650 * debugfs.8: Fixed a spelling error in Ted's name :-)
651
652Mon Jun 12 19:08:25 1995 Theodore Y. Ts'o (tytso@dcl)
653
654 * debugfs.c, ncheck.c, icheck.c, lsdel.c, dump.c: Include
655 <errno.h> (if it exists)
656
657 * debugfs.c, dump.c, icheck.c, lsdel.c, ncheck.c: Don't include
658 <getopt.h> if it doesn't exist.
659
660Sun Jun 11 15:21:07 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
661
662 * ncheck.c (do_ncheck): Use LINUX_S_ISDIR instead of S_ISDIR
663
664 * debugfs.c: Implement the mknod and write commands (from Linus).
665
666 Change names of modify_char, modify_short, and modify_long
667 to be modify_u8, modify_u16, and modify_u32, respectively.
668
669Thu Jun 8 12:29:15 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
670
671 * debugfs.c (dump_inode): Only print out inode frag fields if
672 HAVE_EXT2_FRAGS is defined (by configure). Don't print out the
673 reserved field at all for now.
674
675 * Makefile.in: Rewritten to conform to GNU coding standards and
676 support separate compilation directories.
677
Theodore Ts'o6f4a1091997-04-26 13:32:25 +0000678Thu Nov 24 17:46:23 1994 Theodore Y. Ts'o (tytso@rt-11)
679
680 * dump.c: Added two new commands, "dump" and "cat", which allow
681 the user to dump the contents of an inode to a file or to
682 stdout, respectively.
683
684