blob: 2d796e21d54b756681f677176a161a5dac8b9add [file] [log] [blame]
Theodore Ts'o1dd090f2002-10-31 11:53:49 -050012002-10-31 Theodore Ts'o <tytso@mit.edu>
2
Theodore Ts'o5d823a42002-11-01 02:13:53 -05003 * Release of E2fsprogs 1.30
4
52002-10-31 Theodore Ts'o <tytso@mit.edu>
6
Theodore Ts'o1dd090f2002-10-31 11:53:49 -05007 * debugfs.c (do_write): Check to see if the filename exists before
8 creating it, and give an error if so. Addresses
9 Sourceforge bug #478195.
10
Theodore Ts'o482afc42002-10-31 03:32:34 -0500112002-10-30 Theodore Ts'o <tytso@mit.edu>
12
13 * Makefile.in (install): Search all compression extensions when
14 deleting old man pages.
15
Theodore Ts'o3e699062002-10-13 23:56:28 -0400162002-10-13 Theodore Ts'o <tytso@mit.edu>
17
18 * debugfs.h, htree.c, setsuper.c: Fix gcc -Wall nits.
19
Theodore Ts'o8132d842002-10-02 22:07:17 -0400202002-10-02 Theodore Y. Ts'o <tytso@mit.edu>
21
22 * htree.c (htree_dump_leaf_node): Use ext2fs_read_dir_block2 so
23 that the directory entries are appropriately byte-swapped.
24
Theodore Ts'oc6633052002-09-24 01:26:50 -0400252001-09-24 Theodore Tso <tytso@mit.edu>
26
27 * Release of E2fsprogs 1.29
28
Theodore Ts'o42e5b5f2002-09-22 15:27:28 -0400292002-09-22 root <tytso@mit.edu>
30
31 * htree.c (htree_dump_int_node): Flag continuation hashes to make
32 them easier to find.
33
Theodore Ts'o87ee8dc2002-08-31 03:02:57 -0400342001-08-31 Theodore Tso <tytso@thunk.org>
35
36 * Release of E2fsprogs 1.28
37
Theodore Ts'of61fc0b2002-08-24 00:04:03 -0400382002-08-23 Theodore Ts'o <tytso@mit.edu>
39
40 * setsuper.c: Add support for the fields s_uuid, s_journal_uuid,
41 s_hash_seed, s_def_hash_version. Add routines for parsing
42 UUID's and hash algorithm identifiers.
43
Theodore Ts'oed909bb2002-08-16 17:03:59 -0400442002-08-16 Theodore Ts'o <tytso@mit.edu>
45
46 * icheck.c (do_icheck): Check to see if the block is listed as
47 part of the extended attribute block.
48
Theodore Ts'o155f5772002-07-21 14:17:45 -0400492002-07-21 Theodore Ts'o <tytso@mit.edu>
50
51 * htree.c (do_htree_dump): Fix a bug where we were not cleanly
52 closing the pager after errors, which would leave the
53 tty in noecho mode.
54
Theodore Ts'o621732c2002-07-18 22:19:51 -0400552002-07-18 Theodore Ts'o <tytso@mit.edu>
56
57 * htree.c (htree_dump_int_node): Add byte swapping code sot that
58 the htree dump function works on a big-endian machine.
59
Theodore Ts'o34be9602002-07-15 16:56:41 -0400602002-07-15 Theodore Ts'o <tytso@mit.edu>
61
62 * debugfs.c (do_show_super_stats): Calculate and print the number
63 of directories on a filesystem --- because we can and
64 because it can be useful.
65
Theodore Ts'od7f64ae2002-07-09 01:27:05 -0400662002-07-09 Theodore Ts'o <tytso@mit.edu>
67
68 * debugfs.c (do_rmdir), debugfs.8.in: Implement the rmdir command.
69 Addresses Debian bug #138003.
70
Theodore Ts'o503f9e72002-06-26 16:52:10 -0400712002-06-26 Theodore Ts'o <tytso@mit.edu>
72
73 * htree.c (do_dx_hash): Use new ext2fs_dirhash function signature.
74 Add getopt support so user can specify the hash version.
75
Theodore Ts'ob38cd282002-05-11 22:13:20 -0400762002-05-11 <tytso@snap.thunk.org>
77
78 * debug_cmds.ct, debugfs.c (do_bmap): Add new command "bmap" which
79 calculates the logical->physical block mapping for an
80 inode.
81
82 * debugfs.c (do_init_filsys, main), util.c
83 (common_block_args_process): Fix bad calling parameter
84 order when calling parse_ulong. This broke the -b and -s
85 options to debugfs, as well as do_init, and the testb,
86 setb, clearb functions.
87
Theodore Ts'oe5b3b272002-04-01 15:42:21 -0500882002-04-01 <tytso@snap.thunk.org>
89
90 * util.c (parse_ulong): Fix typo which cases parse_ulong to
91 coredump if the err variable is filled in (for example, if
92 the -b or -s options are passed to the debugfs's
93 command-line invocation).
94
Theodore Ts'o52783e02002-03-11 15:04:45 -0500952002-03-11 Theodore Tso <tytso@mit.edu>
96
Theodore Ts'of9190c82002-03-12 01:05:06 -050097 * ls.c (list_dir_proc): Fix bug: ls -l fails to print the file
98 type correctly if running on big-endian systems.
99
Theodore Ts'o52783e02002-03-11 15:04:45 -0500100 * htree.c (htree_dump_leaf_node): Use the ext2_dirhash function
101 instead of a local static function.
102
Theodore Ts'oa8e77242002-03-08 03:12:14 -05001032002-03-08 Theodore Tso <tytso@mit.edu>
104
105 * Release of E2fsprogs 1.27
106
Theodore Ts'o3f830202002-03-07 02:56:53 -05001072002-03-07 <tytso@snap.thunk.org>
108
109 * ls.c (list_dir_proc): Fix typo in debugfs which was causing a
110 compiler warning.
111
Theodore Ts'o7380ac92002-03-05 01:57:53 -05001122002-03-05 Theodore Tso <tytso@mit.edu>
113
114 * lsdel.c (do_lsdel): lsdel uses the pager to print out the list
115 of potentially deleted inode. Thanks to Jaroslav Drzik
116 <jdrzik@host.sk> for suggesting this enhancement.
117
118 * debugfs.c (do_modify_inode): Fix bug which caused modify_inode
119 to core dump if a fliesystem isn't open. Thanks to
120 Jaroslav Drzik <jdrzik@host.sk> for finding and reporting
121 the bug and his proposed fix.
122
Theodore Ts'ofa7c3022002-02-26 17:13:12 -05001232002-02-26 Theodore Tso <tytso@mit.edu>
124
125 * ls.c (list_dir_proc): When listing the directory entry in long
126 format, include the file type of the directory entry in
127 parenthesis.
128
Theodore Ts'o57173d02002-02-26 14:59:39 -05001292002-02-25 Theodore Tso <tytso@mit.edu>
Theodore Ts'odf614db2002-02-25 04:28:45 -0500130
131 * util.c (open_pager): If the PAGER environment is set to __none__
132 then don't use a pager at all, and ship it all to stdout.
133
134 * Makefile.in, debug_cmds.ct, htree.c: Add new file htree.c, which
135 implements the three new commands, htree_dump, dx_hash,
136 and dirsearch.
137
Theodore Ts'o57173d02002-02-26 14:59:39 -05001382002-02-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'ob9f40922002-02-24 03:08:57 -0500139
140 * Makefile.in (install): Remove any compressed man pages before
141 installing the man pages.
142
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -05001432002-02-03 Theodore Tso <tytso@thunk.org>
144
145 * Release of E2fsprogs 1.26
146
Theodore Ts'o57173d02002-02-26 14:59:39 -05001472002-01-03 Theodore Tso <tytso@mit.edu>
Theodore Ts'oe1018ee2002-01-03 04:55:25 -0500148
149 * lsdel.c (do_lsdel): New optional argument which allows the user
150 to only see the most recently deleted files.
151
152 * debugfs.c (do_undel, do_testb, do_freeb, do_setb, do_ffb): Add
153 new command, undelete, which automates undeleting a
154 deleted inode and linking it back to a directory. Add a
155 count argument to the testb, freeb, setb, and ffb commands.
156
157 * ls.c (list_dir_proc, do_list_dir): Add support for -d option
158 which lists deleted directory entries.
159
160 * debug_cmds.ct: Add new command, undelete.
161
162 * dump.c, icheck.c, logdump.c, ls.c, lsdel.c, setsuper.c,
163 debugfs.c: Use new utility functions which factor out
164 commonly used code.
165
166 * util.c (debugfs_read_inode, debugfs_write_inode,
167 common_block_args_process, common_inode_args_process,
168 common_args_process, strtoblk, parse_ulong): New
169 functions which factor out commonly used code into
170 subroutines for ease of maintenance and to make the
171 executable size smaller.
172
Theodore Ts'o57173d02002-02-26 14:59:39 -05001732001-12-23 Theodore Tso <tytso@mit.edu>
Theodore Ts'o19007e52001-12-23 19:33:51 -0500174
175 * Makefile.in, jfs_user.h: Move linux/jbd.h to
176 ext2fs/kernel-jbd.h, to avoid using the system header
177 file version of hbd.h when using diet glibc (since it
178 forcibly adds /usr/include to the beginning of the
179 include search path.)
180
Theodore Ts'o57173d02002-02-26 14:59:39 -05001812001-12-22 Theodore Tso <tytso@mit.edu>
Theodore Ts'o34436892001-12-22 13:06:02 -0500182
183 * debugfs.c (kill_file_by_inode, release_blocks_proc): Update the
184 group descriptor free block and inode counts when deleting
185 or killing a file.
186
Theodore Ts'o57173d02002-02-26 14:59:39 -05001872001-12-16 Theodore Tso <tytso@mit.edu>
Theodore Ts'o8cf93332001-12-16 02:23:36 -0500188
Theodore Ts'o4ea7bd02001-12-16 23:23:37 -0500189 * setsuper.c (print_possible_fields),
190 logdump.c (dump_journal): Fix gcc -Wall nits
191
Theodore Ts'o8cf93332001-12-16 02:23:36 -0500192 * Makefile.in, jfs_user.h: linux/jfs.h has been renamed to
193 linux/jbd.h
194
Theodore Ts'o57173d02002-02-26 14:59:39 -05001952001-12-02 Theodore Tso <tytso@mit.edu>
Theodore Ts'o571fc5a2001-12-02 17:23:27 +0100196
197 * util.c (close_pager): Use pclose() instead of fclose() when
198 closing the pager stream.
199
Theodore Ts'o57173d02002-02-26 14:59:39 -05002002001-11-30 Theodore Tso <tytso@mit.edu>
Theodore Ts'oe8981882001-11-30 11:51:30 +0100201
202 * debugfs.c (finish_range, dump_blocks): Fixed bug in Andreas's >
203 2GB support changes: you need to use %lld when printf'ing
204 an long long variable.
205
Theodore Ts'o57173d02002-02-26 14:59:39 -05002062001-11-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'o6e96adc2001-11-24 16:10:52 -0500207
208 * debugfs.8.in: Update manual page to document the set_super_value
209 and logdump commands, and move the "specifying files"
210 section closer to the beginning of the man page so people
211 won't miss it.
212
213 * setsuper.c (print_possible_fields): "set_super_value -l" now
214 prints out the list of valid superblock fields which the
215 ssv command can set.
216
Theodore Ts'ofbf91112001-09-20 10:47:47 -04002172001-09-20 Theodore Tso <tytso@thunk.org>
218
219 * Release of E2fsprogs 1.25
220
Theodore Ts'ofb707752001-09-04 15:00:37 -04002212001-09-02 Theodore Tso <tytso@thunk.org>
222
223 * Release of E2fsprogs 1.24a
224
Theodore Ts'o109624a2001-08-31 00:59:55 -04002252001-08-30 Theodore Tso <tytso@thunk.org>
226
227 * Release of E2fsprogs 1.24
228
Theodore Ts'o0f8973f2001-08-27 12:44:23 -04002292001-08-27 Theodore Tso <tytso@valinux.com>
230
231 * debugfs.c (main): Remove EXT2FS_VERSION from the version
232 display, since it only confuses people.
233
Theodore Ts'o943ed872001-08-27 12:29:22 -04002342001-08-15 Theodore Tso <tytso@valinux.com>
235
236 * Release of E2fsprogs 1.23
237
Theodore Ts'o5faba3a2001-08-12 03:38:51 -04002382001-08-12 Theodore Tso <tytso@valinux.com>
239
240 * logdump.c (do_logdump, dump_journal): Add support for dumping
241 external journals.
242
Theodore Ts'o67960132001-06-23 00:16:37 -04002432001-06-23 Theodore Tso <tytso@valinux.com>
244
245 * Release of E2fsprogs 1.22
246
Theodore Ts'of4f75ba2001-06-16 01:14:28 +00002472001-06-15 Theodore Tso <tytso@valinux.com>
248
249 * Release of E2fsprogs 1.21
250
Theodore Ts'o364a3732001-06-13 23:46:39 +00002512001-06-13 Theodore Tso <tytso@valinux.com>
252
253 * setsuper.c: Add s_lastcheck field to the fields which can be
254 modified using set_super_value. (Suggested by Andreas
255 Dilger)
256
Theodore Ts'ob7846402001-06-03 23:27:56 +00002572001-06-03 Theodore Tso <tytso@valinux.com>
258
259 * debugfs.c (copy_file): Fixed signed vs unsigned bug which causes
260 read errors to not be noticed.
261
Theodore Ts'o4bb0c042001-06-01 15:22:38 +00002622001-06-01 Theodore Tso <tytso@valinux.com>
263
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000264 * Makefile.in: Move include/asm/types.h.in to
Theodore Ts'o36a23e12001-06-02 00:54:10 +0000265 lib/ext2fs/ext2_types.h.in.
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000266
Theodore Ts'o5e4f0702001-06-01 15:36:05 +0000267 * debugfs.c, debugfs.h, logdump.c: Fix various gcc -Wall nitpicks.
268
Theodore Ts'o4bb0c042001-06-01 15:22:38 +0000269 * logdump.c (read_journal_block): Replace pread with lseek/read
270 combination.
271
Theodore Ts'obb185862001-05-25 17:35:00 +00002722001-05-25 Theodore Tso <tytso@valinux.com>
273
274 * Release of E2fsprogs 1.20
275
Theodore Ts'o54c637d2001-05-14 11:45:38 +00002762001-05-14 Theodore Tso <tytso@valinux.com>
277
278 * debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
279
Theodore Ts'o777ebb32001-05-13 02:45:15 +00002802001-05-12 Theodore Tso <tytso@valinux.com>
281
282 * debugfs.c (print_features): Use fputs instead of printf to
283 output using the passed-in FILE *.
284
Theodore Ts'o085cb192001-05-09 06:09:12 +00002852001-05-09 Theodore Tso <tytso@valinux.com>
286
287 * debugfs.c (do_write, do_mknod): Set the file type information
288 when creating the inode.
289
Theodore Ts'o59cf7e02001-05-03 15:05:55 +00002902001-05-03 Theodore Tso <tytso@valinux.com>
291
292 * debugfs.c (do_open_filesys, main): Add -i option which will
293 allow debugfs to examine ext2 image files.
294
Theodore Ts'oda81e3f2001-03-29 20:49:58 +00002952001-03-29 Theodore Tso <tytso@valinux.com>
296
297 * debugfs.c (dump_blocks, dump_inode, internal_dump_inode): Add
298 internal_dump_inode() interface for the logdump command.
299
300 * logdump.c: Imported code from Stephen Tweedie to dump the ext3
301 journal.
302
Theodore Ts'o0a24c002001-03-18 18:16:18 +00003032001-03-18 Theodore Tso <tytso@valinux.com>
304
305 * debugfs.c (do_write, do_mknod): Remove extra (useless) call to
306 ext2fs_write_inode.
307
Theodore Ts'ob74d1d82001-01-12 17:23:52 +00003082001-01-12 Theodore Ts'o <tytso@valinux.com>
309
Theodore Ts'o426d7342001-01-13 01:29:05 +0000310 * setsuper.c: Cleaned up some random whitespace problems.
311
312 * debugfs.h, debugfs.c (do_show_super_stats): Use full words
Theodore Ts'ob74d1d82001-01-12 17:23:52 +0000313 instead of pluralism hack to make I18N conversion easier.
314 Clean up gcc -Wall complaints.
315
Theodore Ts'ob044c2e2001-01-11 15:26:39 +00003162001-01-11 <tytso@snap.thunk.org>
317
318 * debugfs.c, debugfs.h, dump.c, icheck.c, ls.c, lsdel.c, ncheck.c,
319 setsuper.c, util.c: Change ino_t to ext2_ino_t. Fix a few
320 minor gcc-wall complaints while we're at it.
321
Theodore Ts'o5dd8f962001-01-01 15:51:50 +00003222001-01-01 <tytso@snap.thunk.org>
323
324 * debugfs.c Replace use of struct ext2fs_sb with struct
325 ext2_super_block.
326
Theodore Ts'o3db93052000-12-30 20:26:31 +00003272000-12-30 <tytso@snap.thunk.org>
328
Theodore Ts'oc5de1d42000-12-31 01:39:54 +0000329 * dump.c (fix_perms): Fix bug for systems which don't have fchown;
330 was incorrectly using chmod instead of chown.
331
Theodore Ts'o3db93052000-12-30 20:26:31 +0000332 * setsuper.c (find_field): Strip the s_prefix if given for ssv
Theodore Ts'oc5de1d42000-12-31 01:39:54 +0000333 fields. Remove hard-coded s_ from inode_size
334 field. (Suggested by Andreas Dilger)
Theodore Ts'o3db93052000-12-30 20:26:31 +0000335
336 * debugfs.c (do_modify_inode): Add the ability to set the inode
337 generation number. (Suggested by Andreas Dilger)
338
Theodore Ts'o9131a752000-08-23 04:36:25 +00003392000-08-23 <tytso@valinux.com>
340
341 * util.c (string_to_inode): Use strtoul instead of atoi, so that
342 hex inode numbers will be accepted.
343
Theodore Ts'o2c4a5402000-08-19 17:33:28 +00003442000-08-19 <tytso@valinux.com>
345
346 * util.c (open_pager): Set SIGPIPE to be ignored, so that quitting
347 out of the pager doesn't blow away debugfs.
348
Theodore Ts'o0a3db932000-08-14 17:06:05 +00003492000-08-14 <tytso@valinux.com>
350
Theodore Ts'obd09eff2000-08-14 20:39:17 +0000351 * debugfs.c (do_show_super_stats): Use list_super2() instead of
352 using explicit printf statements. (We get a more complete
353 printout this way.)
354
Theodore Ts'oc6bd0c92000-08-14 20:37:09 +0000355 * util.c (open_pager): If the PAGER environment variable is not
356 set, default to using "more".
357
358 * setsuper.c: New function which implements the set_super_value
359 command. Allows the user to set arbitrary superblock
360 fields.
361
Theodore Ts'o0a3db932000-08-14 17:06:05 +0000362 * debugfs.c (dump_inode): Cap the length when printing a fast
363 symbolic link to inode.i_size.
364 (list_blocks_proc): Print block ranges (4510-4533) to make
365 the stat output easier to read.
366
Theodore Ts'oa5eef732000-08-14 15:47:15 +00003672000-06-27 Andreas Dilger <adilger@turbolabs.com>
368
369 * debugfs.c (list_blocks_proc): show relative inode block numbers
370 and/or indirect block status
371
Theodore Ts'of9e67062000-07-13 23:25:54 +00003722000-07-13 <tytso@valinux.com>
373
374 * Release of E2fsprogs 1.19
375
Theodore Ts'o14197172000-07-05 17:48:34 +00003762000-07-05 Theodore Ts'o <tytso@valinux.com>
377
378 * debugfs.c (dump_inode): Make the generation field be printed as
379 an unsigned integer.
380
Theodore Ts'o619dd192000-07-04 12:37:55 +00003812000-07-04 <tytso@snap.thunk.org>
382
383 * Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the
384 mk_cmds support files from the source tree.
385
Theodore Ts'oee753092000-06-09 04:24:36 +00003862000-06-09 <tytso@snap.thunk.org>
387
388 * lsdel.c (do_lsdel): Handle bad bad blocks in inode table.
389
Theodore Ts'od61f6172000-05-27 16:04:00 +00003902000-05-27 Theodore Ts'o <tytso@valinux.com>
391
392 * debugfs.c (do_testb, do_testi): Call check_fs_bitmaps to avoid
393 coredumping if the bitmaps aren't loaded.
394
395 * util.c (check_fs_bitmaps): New function which checks whether or
396 not the bitmaps are loaded.
397
Theodore Ts'o2e8d40d2000-05-27 15:15:40 +00003982000-05-23 Aaron Crane <aaronc@pobox.com>
399
400 * debugfs.8.in: Documented new behaviour.
401
402 * ls.c (ls_l_file): Fix Y2K bug -- was printing 22-May-100 for
403 recent files. Switched to 4-digit years.
404
405 * dump.c, debug_cmds.ct (do_rdump): Add new debugfs command
406 "rdump", which recursively dumps a directory and its
407 contents.
408 (fix_perms): New function. Break permission-fixing
409 code out of dump_file() so it can be called by rdump
410 code as well.
411 (dump_file): Call fix_perms().
412
413 * debugfs.c, debug_cmds.ct (do_lcd): Add new debugfs command
414 "lcd", which changes the cwd on the native filesystem.
415
416 * debugfs.c (open_filesystem): Extra args for superblock,
417 blocksize, and catastrophic mode. Changed callers.
418 (do_open_filesys, main): Accept new -b, -s, -c options
419 for open_filesystem.
420
Theodore Ts'o80e808f2000-02-02 16:19:59 +00004212000-02-02 Theodore Ts'o <tytso@valinux.com>
422
423 * debugfs.c (dump_inode): Remove #ifdef for i_version
424 vs. i_generation since we know it will always be
425 i_generation now.
426
Theodore Ts'o77200f42000-01-18 17:53:27 +00004272000-01-18 Theodore Ts'o <tytso@valinux.com>
428
Theodore Ts'oe5973042000-01-18 17:58:34 +0000429 * debugfs.c (main): Use return instead of exit at the end of main
430 to avoid some compiler warnings.
431
Theodore Ts'o77200f42000-01-18 17:53:27 +0000432 * Makefile.in: Since LIBUUID can sometimes include
433 "-lsocket" we need a separate DEPLIBUUID that can be used
434 in Makefile's dependency rules.
435
Theodore Ts'o5c36a2f1999-11-19 18:42:30 +00004361999-11-19 <tytso@valinux.com>
437
438 * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
439 the source directory.
440
Theodore Ts'ocd086361999-11-10 16:00:39 +00004411999-11-10 <tytso@valinux.com>
442
443 * Release of E2fsprogs 1.18
444
Theodore Ts'o643efb81999-11-08 19:27:13 +00004451999-11-08 <tytso@valinux.com>
446
447 * icheck.c (do_icheck):
448 * ncheck.c (do_ncheck): If ext2fs_open_inode_scan() returns
449 EXT2_ET_BAD_BLOCK_IN_INODE_TABLE loop to skip over the bad
450 blocks in the inode table.
451
Theodore Ts'of68aa411999-10-26 14:20:22 +00004521999-10-26 <tytso@valinux.com>
453
Theodore Ts'o28e11941999-10-26 18:17:20 +0000454 * Release of E2fsprogs 1.17
455
4561999-10-26 <tytso@valinux.com>
457
Theodore Ts'of68aa411999-10-26 14:20:22 +0000458 * debugfs.h: Add declaration for do_features()
459
460 * debugfs.c: Add #incldue of e2p.h to fix gcc warnings.
461
Theodore Ts'o601002b1999-10-26 02:06:39 +00004621999-10-25 <tytso@valinux.com>
463
464 * debugfs.c (do_dirty_filesys): Make the "dirty" command clear the
465 valid bit on the superblock. (And with a -clean option to
466 set the valid bit.) Originally it was used just to set
467 the "needs to be written" bit in the in-core version of
468 the fs structure.
469
Theodore Ts'o614fdfd1999-10-23 03:19:51 +00004701999-10-22 <tytso@valinux.com>
471
472 * Release of E2fsprogs 1.16
473
Theodore Ts'od3aea7d1999-09-14 20:55:37 +00004741999-09-07 <tytso@rsts-11.mit.edu>
475
476 * debugfs.c, debug_cmds.ct: Add new debugfs command "feature"
477 which allows the user to set or clear filesystme features.
478 Add the -f (force) option to the open command. Add the
479 -h (superblock header only) option to the stats command.
480
Theodore Ts'o55376d81999-07-31 00:32:57 +00004811999-07-30 <tytso@rsts-11.mit.edu>
482
483 * debugfs.c (dump_inode): Fix debugfs message so it is the same
484 for when compiled under either Linux 2.2 or 2.3. This
485 allows for the f_swapfs regression test suite to work
486 regardless of which OS e2fsprogs was compiled on.
487
Theodore Ts'o657cb971999-07-30 23:19:10 +00004881999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu>
489
490 * Release of E2fsprogs 1.15
491
Theodore Ts'ob41d3601999-06-25 15:32:37 +00004921999-06-23 <tytso@valinux.com>
493
494 * debugfs.c (dump_inode): Add compatibility for Linux 2.3 kernels
495 that use i_generation instead of i_version. Patch
496 supplied by Jon Bright <sircus@sircus.demon.co.uk>.
497
Theodore Ts'oce5ee991999-02-19 18:56:43 +00004981999-02-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
499
500 * icheck.c (do_icheck): Check to make sure the inode has valid
501 blocks before iterating over that inode's blocks.
502
Theodore Ts'o9e51eca1999-01-09 16:32:31 +00005031999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
504
505 * Release of E2fsprogs 1.14
506
Theodore Ts'o556ad131998-12-19 08:10:58 +00005071998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
508
509 * Release of E2fsprogs 1.13
510
Theodore Ts'odba838b1998-12-04 06:15:12 +00005111998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu>
512
513 * Makefile.in: Updated dependencies.
514
Theodore Ts'o91d6d481998-08-01 01:03:39 +00005151998-07-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
516
517 * debugfs.c (do_stat, do_clri): Fix bug where debugfs wasn't
518 displaying the error message if ext2fs_read_inode() failed.
519 (do_rm): Fix similar problem for call to ext2fs_namei().
520
Theodore Ts'o4a5fa191998-07-09 05:42:45 +00005211998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
522
523 * Release of E2fsprogs 1.12
524
Theodore Ts'o818180c1998-06-27 05:11:14 +00005251998-06-27 Theodore Ts'o <tytso@rsts-11.mit.edu>
526
527 * debugfs.c: Add a -V option which displays the current version.
528
Theodore Ts'o7e44f241998-04-01 03:16:29 +00005291998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
530
531 * Makefile.in: Change to use new installation directory variables
532 convention. Fix installdirs and uninstall rules to reflect
533 the fact that debugfs has been installed in the root
534 filesystem. Fix uninstall rules to take $(DESTDIR) into
535 account.
536
Theodore Ts'o4a31c481998-03-30 01:27:25 +00005371998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
538
539 * debugfs.h: Add declaration for do_dirty_filsys() to prevent
540 -Wall warnings.
541
542 * debugfs.c (copy_file):
543 * dump.c (dump_file): Fix -Wall warning caused by
544 signed/unsigned mismatch.
545
Theodore Ts'o36a43d61998-03-24 16:17:51 +00005461998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu>
547
548 * debugfs.c, ls.c, lsdel.c: Add support for large files. (The
549 high 32 bits share space with the i_dir_acl field.)
550
Theodore Ts'occe382b1998-03-09 13:07:09 +0000551Sun Mar 8 22:53:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
552
553 * ls.c (list_dir_proc): Mask off high 8 bits from
554 dirent->name_len.
555
Theodore Ts'o5be8dc21997-12-01 18:24:10 +0000556Mon Dec 1 13:21:09 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
557
558 * Makefile.in: Install debugfs in /sbin, instead of /usr/sbin.
559
Theodore Ts'o5a513841997-10-25 22:41:14 +0000560Sat Oct 25 18:35:30 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
561
562 * debugfs.c (copy_file), dump.c (dump_file): Change to use the new
563 fileio primitives in libext2.
564
Theodore Ts'of1304811997-10-25 03:51:53 +0000565Fri Oct 24 23:47:43 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
566
567 * debugfs.c (main, do_open_filesys):
568 * dump.c (do_dump): Make the variable which getopt returns into be
569 an int, so that it won't lose on platforms where char is
570 unsigned.
571
Theodore Ts'ob4ac9cc1997-10-15 01:54:48 +0000572Tue Oct 14 21:50:24 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
573
574 * debugfs.c (main): When printing a usage message, have main
575 return 1 (instead of not specifying a return value, bad!)
576
Theodore Ts'oa8859ca1997-09-16 02:08:28 +0000577Mon Sep 15 22:03:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
578
579 * debugfs.c (main): Fix declaration of main so that it returns an int.
580
Theodore Ts'o024996c1997-06-17 05:38:35 +0000581Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
582
583 * Release of E2fsprogs 1.11
584
Theodore Ts'o583ccdc1997-05-09 03:06:31 +0000585Thu May 8 23:05:40 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
586
587 * debugfs.8.in: Fix minor typos and grammer oops found by Bill
588 Hawes (whawes@star.net).
589
Theodore Ts'oa29f4d31997-04-29 21:26:48 +0000590Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
591
592 * Release of E2fsprogs version 1.10
593
594Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
595
596 * Release of E2fsprogs version 1.09
597
Theodore Ts'o2ecc6fe1997-04-29 17:57:00 +0000598Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
599
600 * Release of E2fsprogs version 1.08
601
Theodore Ts'o521e3681997-04-29 17:48:10 +0000602Thu Apr 10 14:36:05 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
603
604 * ls.c: New file which implements the ls command. Added the -l
605 option.
606
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000607Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
608
609 * Release of E2fsprogs version 1.07
610
611Wed Jan 1 23:53:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
612
613 * lsdel.c (do_lsdel): Use time_to_string() instead of ctime().
614
615Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
616
617 * Release of E2fsprogs version 1.06
618
Theodore Ts'o5c576471997-04-29 15:29:49 +0000619Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
620
621 * Release of E2fsprogs version 1.05
622
Theodore Ts'ofc6d9d51997-04-29 14:51:31 +0000623Mon Sep 9 23:05:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
624
625 * debugfs.c (unlink_file_by_name): If unlinking a file with a
626 directory path, correctly replace the slash with a NULL.
627 (do_show_debugfs_params): Don't try to print the open mode
628 if there's no filesystem opened (since that will cause a
629 core dump).
630 (main): Fix usage string; the -w and device elements are
631 independently optional.
632
633Tu Sep 3 15:09:39 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
634
635 * debugfs.c (main): Added -f option to debugfs, which takes a
636 command file of debugfs commands and executes them.
637
638Sat Aug 31 01:18:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
639
640 * debugfs.8.in: Heavily edited and improved manual page.
641
642 * dump.c (dump_file): Improve the write function for writing out
643 the file, so that it is limited to the actual size of the
644 file, instead of outputing the nulls following the EOF.
645 Make sure dump_file does the right thing for files with holes.
646 (do_dump): Add support for the -p option to the dump
647 command, which attempts to preserve the owner and
648 permissions field.
649
650Fri Aug 30 14:56:59 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
651
652 * debugfs.c (main): Add -R option to debugfs, which allows it to
653 take a single debugfs command on the command line.
654
655Fri Aug 9 09:03:31 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
656
657 * debugfs.c (do_open_filesys): Set optind to 0 to reset getopt(),
658 to be complete correct.
659 (do_show_super_stats): Print OS type, volume label, last
660 mounted directory, and UUID.
661 (dump_inode): Print the fragment information in a
662 filesystem independent way.
663 (do_modify_inode): Modify the fragement information in a
664 filesystem independent way.
665
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000666Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
667
668 * Release of E2fsprogs version 1.04
669
670Wed May 3 20:41:26 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
671
672 * debugfs.c (dump_inode): Correctly print the translator on the hurd.
673 (do_modify_inode): Modify the translator block on the hurd.
674
Theodore Ts'o7f88b041997-04-26 14:48:50 +0000675Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu>
676
677 * Release of E2fsprogs version 1.03
678
Theodore Ts'o74becf31997-04-26 14:37:06 +0000679Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
680
681 * Release of E2fsprogs version 1.02
682
683Fri Dec 1 22:42:31 1995 <tytso@rsts-11.mit.edu>
684
685 * Makefile.in (LIBS): Rearrange the order of the libraries to be
686 linked, so that -lext2fs is before -lcom_err.
687
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000688Thu Oct 26 12:05:06 1995 <tytso@rsts-11.mit.edu>
689
690 * Makefile.in (install): Strip programs when they are installed.
691
692Fri Aug 18 15:09:08 1995 Theodore Y. Ts'o <tytso@dcl>
693
694 * debugfs.c (do_find_free_block): Fix typo in code which checked
695 to see if the usage message should be printed.
696
697Thu Aug 17 22:55:58 1995 <tytso@rsts-11.mit.edu>
698
699 * debugfs.c (do_open_filesys): Change to always set optreset to 1,
700 to make BSD getopt()'s happy. Also set optind to 1, which
701 should make more getopt()'s happy.
702
703Fri Aug 11 08:45:01 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
704
705 * debugfs.c (do_find_free_block, do_find_free_inode): Fix bug in
706 the usage handling where "ffi ?" or "ffb ?" would
707 dereference a NULL pointer.
708
709Fri Aug 11 14:21:07 1995 Remy Card <card@bbj>
710
711 * debugfs.8: Updated date and version number.
712
713Thu Aug 10 14:28:50 1995 Remy Card <card@bbj>
714
715 * debugfs.8: Fixed a spelling error in Ted's name :-)
716
717Mon Jun 12 19:08:25 1995 Theodore Y. Ts'o (tytso@dcl)
718
719 * debugfs.c, ncheck.c, icheck.c, lsdel.c, dump.c: Include
720 <errno.h> (if it exists)
721
722 * debugfs.c, dump.c, icheck.c, lsdel.c, ncheck.c: Don't include
723 <getopt.h> if it doesn't exist.
724
725Sun Jun 11 15:21:07 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
726
727 * ncheck.c (do_ncheck): Use LINUX_S_ISDIR instead of S_ISDIR
728
729 * debugfs.c: Implement the mknod and write commands (from Linus).
730
731 Change names of modify_char, modify_short, and modify_long
732 to be modify_u8, modify_u16, and modify_u32, respectively.
733
734Thu Jun 8 12:29:15 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
735
736 * debugfs.c (dump_inode): Only print out inode frag fields if
737 HAVE_EXT2_FRAGS is defined (by configure). Don't print out the
738 reserved field at all for now.
739
740 * Makefile.in: Rewritten to conform to GNU coding standards and
741 support separate compilation directories.
742
Theodore Ts'o6f4a1091997-04-26 13:32:25 +0000743Thu Nov 24 17:46:23 1994 Theodore Y. Ts'o (tytso@rt-11)
744
745 * dump.c: Added two new commands, "dump" and "cat", which allow
746 the user to dump the contents of an inode to a file or to
747 stdout, respectively.
748
749