blob: aacb43da6b96f37b5cc57617ba255d3049c6b671 [file] [log] [blame]
Theodore Ts'o34be9602002-07-15 16:56:41 -040012002-07-15 Theodore Ts'o <tytso@mit.edu>
2
3 * debugfs.c (do_show_super_stats): Calculate and print the number
4 of directories on a filesystem --- because we can and
5 because it can be useful.
6
Theodore Ts'od7f64ae2002-07-09 01:27:05 -040072002-07-09 Theodore Ts'o <tytso@mit.edu>
8
9 * debugfs.c (do_rmdir), debugfs.8.in: Implement the rmdir command.
10 Addresses Debian bug #138003.
11
Theodore Ts'o503f9e72002-06-26 16:52:10 -0400122002-06-26 Theodore Ts'o <tytso@mit.edu>
13
14 * htree.c (do_dx_hash): Use new ext2fs_dirhash function signature.
15 Add getopt support so user can specify the hash version.
16
Theodore Ts'ob38cd282002-05-11 22:13:20 -0400172002-05-11 <tytso@snap.thunk.org>
18
19 * debug_cmds.ct, debugfs.c (do_bmap): Add new command "bmap" which
20 calculates the logical->physical block mapping for an
21 inode.
22
23 * debugfs.c (do_init_filsys, main), util.c
24 (common_block_args_process): Fix bad calling parameter
25 order when calling parse_ulong. This broke the -b and -s
26 options to debugfs, as well as do_init, and the testb,
27 setb, clearb functions.
28
Theodore Ts'oe5b3b272002-04-01 15:42:21 -0500292002-04-01 <tytso@snap.thunk.org>
30
31 * util.c (parse_ulong): Fix typo which cases parse_ulong to
32 coredump if the err variable is filled in (for example, if
33 the -b or -s options are passed to the debugfs's
34 command-line invocation).
35
Theodore Ts'o52783e02002-03-11 15:04:45 -0500362002-03-11 Theodore Tso <tytso@mit.edu>
37
Theodore Ts'of9190c82002-03-12 01:05:06 -050038 * ls.c (list_dir_proc): Fix bug: ls -l fails to print the file
39 type correctly if running on big-endian systems.
40
Theodore Ts'o52783e02002-03-11 15:04:45 -050041 * htree.c (htree_dump_leaf_node): Use the ext2_dirhash function
42 instead of a local static function.
43
Theodore Ts'oa8e77242002-03-08 03:12:14 -0500442002-03-08 Theodore Tso <tytso@mit.edu>
45
46 * Release of E2fsprogs 1.27
47
Theodore Ts'o3f830202002-03-07 02:56:53 -0500482002-03-07 <tytso@snap.thunk.org>
49
50 * ls.c (list_dir_proc): Fix typo in debugfs which was causing a
51 compiler warning.
52
Theodore Ts'o7380ac92002-03-05 01:57:53 -0500532002-03-05 Theodore Tso <tytso@mit.edu>
54
55 * lsdel.c (do_lsdel): lsdel uses the pager to print out the list
56 of potentially deleted inode. Thanks to Jaroslav Drzik
57 <jdrzik@host.sk> for suggesting this enhancement.
58
59 * debugfs.c (do_modify_inode): Fix bug which caused modify_inode
60 to core dump if a fliesystem isn't open. Thanks to
61 Jaroslav Drzik <jdrzik@host.sk> for finding and reporting
62 the bug and his proposed fix.
63
Theodore Ts'ofa7c3022002-02-26 17:13:12 -0500642002-02-26 Theodore Tso <tytso@mit.edu>
65
66 * ls.c (list_dir_proc): When listing the directory entry in long
67 format, include the file type of the directory entry in
68 parenthesis.
69
Theodore Ts'o57173d02002-02-26 14:59:39 -0500702002-02-25 Theodore Tso <tytso@mit.edu>
Theodore Ts'odf614db2002-02-25 04:28:45 -050071
72 * util.c (open_pager): If the PAGER environment is set to __none__
73 then don't use a pager at all, and ship it all to stdout.
74
75 * Makefile.in, debug_cmds.ct, htree.c: Add new file htree.c, which
76 implements the three new commands, htree_dump, dx_hash,
77 and dirsearch.
78
Theodore Ts'o57173d02002-02-26 14:59:39 -0500792002-02-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'ob9f40922002-02-24 03:08:57 -050080
81 * Makefile.in (install): Remove any compressed man pages before
82 installing the man pages.
83
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -0500842002-02-03 Theodore Tso <tytso@thunk.org>
85
86 * Release of E2fsprogs 1.26
87
Theodore Ts'o57173d02002-02-26 14:59:39 -0500882002-01-03 Theodore Tso <tytso@mit.edu>
Theodore Ts'oe1018ee2002-01-03 04:55:25 -050089
90 * lsdel.c (do_lsdel): New optional argument which allows the user
91 to only see the most recently deleted files.
92
93 * debugfs.c (do_undel, do_testb, do_freeb, do_setb, do_ffb): Add
94 new command, undelete, which automates undeleting a
95 deleted inode and linking it back to a directory. Add a
96 count argument to the testb, freeb, setb, and ffb commands.
97
98 * ls.c (list_dir_proc, do_list_dir): Add support for -d option
99 which lists deleted directory entries.
100
101 * debug_cmds.ct: Add new command, undelete.
102
103 * dump.c, icheck.c, logdump.c, ls.c, lsdel.c, setsuper.c,
104 debugfs.c: Use new utility functions which factor out
105 commonly used code.
106
107 * util.c (debugfs_read_inode, debugfs_write_inode,
108 common_block_args_process, common_inode_args_process,
109 common_args_process, strtoblk, parse_ulong): New
110 functions which factor out commonly used code into
111 subroutines for ease of maintenance and to make the
112 executable size smaller.
113
Theodore Ts'o57173d02002-02-26 14:59:39 -05001142001-12-23 Theodore Tso <tytso@mit.edu>
Theodore Ts'o19007e52001-12-23 19:33:51 -0500115
116 * Makefile.in, jfs_user.h: Move linux/jbd.h to
117 ext2fs/kernel-jbd.h, to avoid using the system header
118 file version of hbd.h when using diet glibc (since it
119 forcibly adds /usr/include to the beginning of the
120 include search path.)
121
Theodore Ts'o57173d02002-02-26 14:59:39 -05001222001-12-22 Theodore Tso <tytso@mit.edu>
Theodore Ts'o34436892001-12-22 13:06:02 -0500123
124 * debugfs.c (kill_file_by_inode, release_blocks_proc): Update the
125 group descriptor free block and inode counts when deleting
126 or killing a file.
127
Theodore Ts'o57173d02002-02-26 14:59:39 -05001282001-12-16 Theodore Tso <tytso@mit.edu>
Theodore Ts'o8cf93332001-12-16 02:23:36 -0500129
Theodore Ts'o4ea7bd02001-12-16 23:23:37 -0500130 * setsuper.c (print_possible_fields),
131 logdump.c (dump_journal): Fix gcc -Wall nits
132
Theodore Ts'o8cf93332001-12-16 02:23:36 -0500133 * Makefile.in, jfs_user.h: linux/jfs.h has been renamed to
134 linux/jbd.h
135
Theodore Ts'o57173d02002-02-26 14:59:39 -05001362001-12-02 Theodore Tso <tytso@mit.edu>
Theodore Ts'o571fc5a2001-12-02 17:23:27 +0100137
138 * util.c (close_pager): Use pclose() instead of fclose() when
139 closing the pager stream.
140
Theodore Ts'o57173d02002-02-26 14:59:39 -05001412001-11-30 Theodore Tso <tytso@mit.edu>
Theodore Ts'oe8981882001-11-30 11:51:30 +0100142
143 * debugfs.c (finish_range, dump_blocks): Fixed bug in Andreas's >
144 2GB support changes: you need to use %lld when printf'ing
145 an long long variable.
146
Theodore Ts'o57173d02002-02-26 14:59:39 -05001472001-11-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'o6e96adc2001-11-24 16:10:52 -0500148
149 * debugfs.8.in: Update manual page to document the set_super_value
150 and logdump commands, and move the "specifying files"
151 section closer to the beginning of the man page so people
152 won't miss it.
153
154 * setsuper.c (print_possible_fields): "set_super_value -l" now
155 prints out the list of valid superblock fields which the
156 ssv command can set.
157
Theodore Ts'ofbf91112001-09-20 10:47:47 -04001582001-09-20 Theodore Tso <tytso@thunk.org>
159
160 * Release of E2fsprogs 1.25
161
Theodore Ts'ofb707752001-09-04 15:00:37 -04001622001-09-02 Theodore Tso <tytso@thunk.org>
163
164 * Release of E2fsprogs 1.24a
165
Theodore Ts'o109624a2001-08-31 00:59:55 -04001662001-08-30 Theodore Tso <tytso@thunk.org>
167
168 * Release of E2fsprogs 1.24
169
Theodore Ts'o0f8973f2001-08-27 12:44:23 -04001702001-08-27 Theodore Tso <tytso@valinux.com>
171
172 * debugfs.c (main): Remove EXT2FS_VERSION from the version
173 display, since it only confuses people.
174
Theodore Ts'o943ed872001-08-27 12:29:22 -04001752001-08-15 Theodore Tso <tytso@valinux.com>
176
177 * Release of E2fsprogs 1.23
178
Theodore Ts'o5faba3a2001-08-12 03:38:51 -04001792001-08-12 Theodore Tso <tytso@valinux.com>
180
181 * logdump.c (do_logdump, dump_journal): Add support for dumping
182 external journals.
183
Theodore Ts'o67960132001-06-23 00:16:37 -04001842001-06-23 Theodore Tso <tytso@valinux.com>
185
186 * Release of E2fsprogs 1.22
187
Theodore Ts'of4f75ba2001-06-16 01:14:28 +00001882001-06-15 Theodore Tso <tytso@valinux.com>
189
190 * Release of E2fsprogs 1.21
191
Theodore Ts'o364a3732001-06-13 23:46:39 +00001922001-06-13 Theodore Tso <tytso@valinux.com>
193
194 * setsuper.c: Add s_lastcheck field to the fields which can be
195 modified using set_super_value. (Suggested by Andreas
196 Dilger)
197
Theodore Ts'ob7846402001-06-03 23:27:56 +00001982001-06-03 Theodore Tso <tytso@valinux.com>
199
200 * debugfs.c (copy_file): Fixed signed vs unsigned bug which causes
201 read errors to not be noticed.
202
Theodore Ts'o4bb0c042001-06-01 15:22:38 +00002032001-06-01 Theodore Tso <tytso@valinux.com>
204
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000205 * Makefile.in: Move include/asm/types.h.in to
Theodore Ts'o36a23e12001-06-02 00:54:10 +0000206 lib/ext2fs/ext2_types.h.in.
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000207
Theodore Ts'o5e4f0702001-06-01 15:36:05 +0000208 * debugfs.c, debugfs.h, logdump.c: Fix various gcc -Wall nitpicks.
209
Theodore Ts'o4bb0c042001-06-01 15:22:38 +0000210 * logdump.c (read_journal_block): Replace pread with lseek/read
211 combination.
212
Theodore Ts'obb185862001-05-25 17:35:00 +00002132001-05-25 Theodore Tso <tytso@valinux.com>
214
215 * Release of E2fsprogs 1.20
216
Theodore Ts'o54c637d2001-05-14 11:45:38 +00002172001-05-14 Theodore Tso <tytso@valinux.com>
218
219 * debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
220
Theodore Ts'o777ebb32001-05-13 02:45:15 +00002212001-05-12 Theodore Tso <tytso@valinux.com>
222
223 * debugfs.c (print_features): Use fputs instead of printf to
224 output using the passed-in FILE *.
225
Theodore Ts'o085cb192001-05-09 06:09:12 +00002262001-05-09 Theodore Tso <tytso@valinux.com>
227
228 * debugfs.c (do_write, do_mknod): Set the file type information
229 when creating the inode.
230
Theodore Ts'o59cf7e02001-05-03 15:05:55 +00002312001-05-03 Theodore Tso <tytso@valinux.com>
232
233 * debugfs.c (do_open_filesys, main): Add -i option which will
234 allow debugfs to examine ext2 image files.
235
Theodore Ts'oda81e3f2001-03-29 20:49:58 +00002362001-03-29 Theodore Tso <tytso@valinux.com>
237
238 * debugfs.c (dump_blocks, dump_inode, internal_dump_inode): Add
239 internal_dump_inode() interface for the logdump command.
240
241 * logdump.c: Imported code from Stephen Tweedie to dump the ext3
242 journal.
243
Theodore Ts'o0a24c002001-03-18 18:16:18 +00002442001-03-18 Theodore Tso <tytso@valinux.com>
245
246 * debugfs.c (do_write, do_mknod): Remove extra (useless) call to
247 ext2fs_write_inode.
248
Theodore Ts'ob74d1d82001-01-12 17:23:52 +00002492001-01-12 Theodore Ts'o <tytso@valinux.com>
250
Theodore Ts'o426d7342001-01-13 01:29:05 +0000251 * setsuper.c: Cleaned up some random whitespace problems.
252
253 * debugfs.h, debugfs.c (do_show_super_stats): Use full words
Theodore Ts'ob74d1d82001-01-12 17:23:52 +0000254 instead of pluralism hack to make I18N conversion easier.
255 Clean up gcc -Wall complaints.
256
Theodore Ts'ob044c2e2001-01-11 15:26:39 +00002572001-01-11 <tytso@snap.thunk.org>
258
259 * debugfs.c, debugfs.h, dump.c, icheck.c, ls.c, lsdel.c, ncheck.c,
260 setsuper.c, util.c: Change ino_t to ext2_ino_t. Fix a few
261 minor gcc-wall complaints while we're at it.
262
Theodore Ts'o5dd8f962001-01-01 15:51:50 +00002632001-01-01 <tytso@snap.thunk.org>
264
265 * debugfs.c Replace use of struct ext2fs_sb with struct
266 ext2_super_block.
267
Theodore Ts'o3db93052000-12-30 20:26:31 +00002682000-12-30 <tytso@snap.thunk.org>
269
Theodore Ts'oc5de1d42000-12-31 01:39:54 +0000270 * dump.c (fix_perms): Fix bug for systems which don't have fchown;
271 was incorrectly using chmod instead of chown.
272
Theodore Ts'o3db93052000-12-30 20:26:31 +0000273 * setsuper.c (find_field): Strip the s_prefix if given for ssv
Theodore Ts'oc5de1d42000-12-31 01:39:54 +0000274 fields. Remove hard-coded s_ from inode_size
275 field. (Suggested by Andreas Dilger)
Theodore Ts'o3db93052000-12-30 20:26:31 +0000276
277 * debugfs.c (do_modify_inode): Add the ability to set the inode
278 generation number. (Suggested by Andreas Dilger)
279
Theodore Ts'o9131a752000-08-23 04:36:25 +00002802000-08-23 <tytso@valinux.com>
281
282 * util.c (string_to_inode): Use strtoul instead of atoi, so that
283 hex inode numbers will be accepted.
284
Theodore Ts'o2c4a5402000-08-19 17:33:28 +00002852000-08-19 <tytso@valinux.com>
286
287 * util.c (open_pager): Set SIGPIPE to be ignored, so that quitting
288 out of the pager doesn't blow away debugfs.
289
Theodore Ts'o0a3db932000-08-14 17:06:05 +00002902000-08-14 <tytso@valinux.com>
291
Theodore Ts'obd09eff2000-08-14 20:39:17 +0000292 * debugfs.c (do_show_super_stats): Use list_super2() instead of
293 using explicit printf statements. (We get a more complete
294 printout this way.)
295
Theodore Ts'oc6bd0c92000-08-14 20:37:09 +0000296 * util.c (open_pager): If the PAGER environment variable is not
297 set, default to using "more".
298
299 * setsuper.c: New function which implements the set_super_value
300 command. Allows the user to set arbitrary superblock
301 fields.
302
Theodore Ts'o0a3db932000-08-14 17:06:05 +0000303 * debugfs.c (dump_inode): Cap the length when printing a fast
304 symbolic link to inode.i_size.
305 (list_blocks_proc): Print block ranges (4510-4533) to make
306 the stat output easier to read.
307
Theodore Ts'oa5eef732000-08-14 15:47:15 +00003082000-06-27 Andreas Dilger <adilger@turbolabs.com>
309
310 * debugfs.c (list_blocks_proc): show relative inode block numbers
311 and/or indirect block status
312
Theodore Ts'of9e67062000-07-13 23:25:54 +00003132000-07-13 <tytso@valinux.com>
314
315 * Release of E2fsprogs 1.19
316
Theodore Ts'o14197172000-07-05 17:48:34 +00003172000-07-05 Theodore Ts'o <tytso@valinux.com>
318
319 * debugfs.c (dump_inode): Make the generation field be printed as
320 an unsigned integer.
321
Theodore Ts'o619dd192000-07-04 12:37:55 +00003222000-07-04 <tytso@snap.thunk.org>
323
324 * Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the
325 mk_cmds support files from the source tree.
326
Theodore Ts'oee753092000-06-09 04:24:36 +00003272000-06-09 <tytso@snap.thunk.org>
328
329 * lsdel.c (do_lsdel): Handle bad bad blocks in inode table.
330
Theodore Ts'od61f6172000-05-27 16:04:00 +00003312000-05-27 Theodore Ts'o <tytso@valinux.com>
332
333 * debugfs.c (do_testb, do_testi): Call check_fs_bitmaps to avoid
334 coredumping if the bitmaps aren't loaded.
335
336 * util.c (check_fs_bitmaps): New function which checks whether or
337 not the bitmaps are loaded.
338
Theodore Ts'o2e8d40d2000-05-27 15:15:40 +00003392000-05-23 Aaron Crane <aaronc@pobox.com>
340
341 * debugfs.8.in: Documented new behaviour.
342
343 * ls.c (ls_l_file): Fix Y2K bug -- was printing 22-May-100 for
344 recent files. Switched to 4-digit years.
345
346 * dump.c, debug_cmds.ct (do_rdump): Add new debugfs command
347 "rdump", which recursively dumps a directory and its
348 contents.
349 (fix_perms): New function. Break permission-fixing
350 code out of dump_file() so it can be called by rdump
351 code as well.
352 (dump_file): Call fix_perms().
353
354 * debugfs.c, debug_cmds.ct (do_lcd): Add new debugfs command
355 "lcd", which changes the cwd on the native filesystem.
356
357 * debugfs.c (open_filesystem): Extra args for superblock,
358 blocksize, and catastrophic mode. Changed callers.
359 (do_open_filesys, main): Accept new -b, -s, -c options
360 for open_filesystem.
361
Theodore Ts'o80e808f2000-02-02 16:19:59 +00003622000-02-02 Theodore Ts'o <tytso@valinux.com>
363
364 * debugfs.c (dump_inode): Remove #ifdef for i_version
365 vs. i_generation since we know it will always be
366 i_generation now.
367
Theodore Ts'o77200f42000-01-18 17:53:27 +00003682000-01-18 Theodore Ts'o <tytso@valinux.com>
369
Theodore Ts'oe5973042000-01-18 17:58:34 +0000370 * debugfs.c (main): Use return instead of exit at the end of main
371 to avoid some compiler warnings.
372
Theodore Ts'o77200f42000-01-18 17:53:27 +0000373 * Makefile.in: Since LIBUUID can sometimes include
374 "-lsocket" we need a separate DEPLIBUUID that can be used
375 in Makefile's dependency rules.
376
Theodore Ts'o5c36a2f1999-11-19 18:42:30 +00003771999-11-19 <tytso@valinux.com>
378
379 * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
380 the source directory.
381
Theodore Ts'ocd086361999-11-10 16:00:39 +00003821999-11-10 <tytso@valinux.com>
383
384 * Release of E2fsprogs 1.18
385
Theodore Ts'o643efb81999-11-08 19:27:13 +00003861999-11-08 <tytso@valinux.com>
387
388 * icheck.c (do_icheck):
389 * ncheck.c (do_ncheck): If ext2fs_open_inode_scan() returns
390 EXT2_ET_BAD_BLOCK_IN_INODE_TABLE loop to skip over the bad
391 blocks in the inode table.
392
Theodore Ts'of68aa411999-10-26 14:20:22 +00003931999-10-26 <tytso@valinux.com>
394
Theodore Ts'o28e11941999-10-26 18:17:20 +0000395 * Release of E2fsprogs 1.17
396
3971999-10-26 <tytso@valinux.com>
398
Theodore Ts'of68aa411999-10-26 14:20:22 +0000399 * debugfs.h: Add declaration for do_features()
400
401 * debugfs.c: Add #incldue of e2p.h to fix gcc warnings.
402
Theodore Ts'o601002b1999-10-26 02:06:39 +00004031999-10-25 <tytso@valinux.com>
404
405 * debugfs.c (do_dirty_filesys): Make the "dirty" command clear the
406 valid bit on the superblock. (And with a -clean option to
407 set the valid bit.) Originally it was used just to set
408 the "needs to be written" bit in the in-core version of
409 the fs structure.
410
Theodore Ts'o614fdfd1999-10-23 03:19:51 +00004111999-10-22 <tytso@valinux.com>
412
413 * Release of E2fsprogs 1.16
414
Theodore Ts'od3aea7d1999-09-14 20:55:37 +00004151999-09-07 <tytso@rsts-11.mit.edu>
416
417 * debugfs.c, debug_cmds.ct: Add new debugfs command "feature"
418 which allows the user to set or clear filesystme features.
419 Add the -f (force) option to the open command. Add the
420 -h (superblock header only) option to the stats command.
421
Theodore Ts'o55376d81999-07-31 00:32:57 +00004221999-07-30 <tytso@rsts-11.mit.edu>
423
424 * debugfs.c (dump_inode): Fix debugfs message so it is the same
425 for when compiled under either Linux 2.2 or 2.3. This
426 allows for the f_swapfs regression test suite to work
427 regardless of which OS e2fsprogs was compiled on.
428
Theodore Ts'o657cb971999-07-30 23:19:10 +00004291999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu>
430
431 * Release of E2fsprogs 1.15
432
Theodore Ts'ob41d3601999-06-25 15:32:37 +00004331999-06-23 <tytso@valinux.com>
434
435 * debugfs.c (dump_inode): Add compatibility for Linux 2.3 kernels
436 that use i_generation instead of i_version. Patch
437 supplied by Jon Bright <sircus@sircus.demon.co.uk>.
438
Theodore Ts'oce5ee991999-02-19 18:56:43 +00004391999-02-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
440
441 * icheck.c (do_icheck): Check to make sure the inode has valid
442 blocks before iterating over that inode's blocks.
443
Theodore Ts'o9e51eca1999-01-09 16:32:31 +00004441999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
445
446 * Release of E2fsprogs 1.14
447
Theodore Ts'o556ad131998-12-19 08:10:58 +00004481998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
449
450 * Release of E2fsprogs 1.13
451
Theodore Ts'odba838b1998-12-04 06:15:12 +00004521998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu>
453
454 * Makefile.in: Updated dependencies.
455
Theodore Ts'o91d6d481998-08-01 01:03:39 +00004561998-07-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
457
458 * debugfs.c (do_stat, do_clri): Fix bug where debugfs wasn't
459 displaying the error message if ext2fs_read_inode() failed.
460 (do_rm): Fix similar problem for call to ext2fs_namei().
461
Theodore Ts'o4a5fa191998-07-09 05:42:45 +00004621998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
463
464 * Release of E2fsprogs 1.12
465
Theodore Ts'o818180c1998-06-27 05:11:14 +00004661998-06-27 Theodore Ts'o <tytso@rsts-11.mit.edu>
467
468 * debugfs.c: Add a -V option which displays the current version.
469
Theodore Ts'o7e44f241998-04-01 03:16:29 +00004701998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu>
471
472 * Makefile.in: Change to use new installation directory variables
473 convention. Fix installdirs and uninstall rules to reflect
474 the fact that debugfs has been installed in the root
475 filesystem. Fix uninstall rules to take $(DESTDIR) into
476 account.
477
Theodore Ts'o4a31c481998-03-30 01:27:25 +00004781998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
479
480 * debugfs.h: Add declaration for do_dirty_filsys() to prevent
481 -Wall warnings.
482
483 * debugfs.c (copy_file):
484 * dump.c (dump_file): Fix -Wall warning caused by
485 signed/unsigned mismatch.
486
Theodore Ts'o36a43d61998-03-24 16:17:51 +00004871998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu>
488
489 * debugfs.c, ls.c, lsdel.c: Add support for large files. (The
490 high 32 bits share space with the i_dir_acl field.)
491
Theodore Ts'occe382b1998-03-09 13:07:09 +0000492Sun Mar 8 22:53:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
493
494 * ls.c (list_dir_proc): Mask off high 8 bits from
495 dirent->name_len.
496
Theodore Ts'o5be8dc21997-12-01 18:24:10 +0000497Mon Dec 1 13:21:09 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
498
499 * Makefile.in: Install debugfs in /sbin, instead of /usr/sbin.
500
Theodore Ts'o5a513841997-10-25 22:41:14 +0000501Sat Oct 25 18:35:30 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
502
503 * debugfs.c (copy_file), dump.c (dump_file): Change to use the new
504 fileio primitives in libext2.
505
Theodore Ts'of1304811997-10-25 03:51:53 +0000506Fri Oct 24 23:47:43 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
507
508 * debugfs.c (main, do_open_filesys):
509 * dump.c (do_dump): Make the variable which getopt returns into be
510 an int, so that it won't lose on platforms where char is
511 unsigned.
512
Theodore Ts'ob4ac9cc1997-10-15 01:54:48 +0000513Tue Oct 14 21:50:24 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
514
515 * debugfs.c (main): When printing a usage message, have main
516 return 1 (instead of not specifying a return value, bad!)
517
Theodore Ts'oa8859ca1997-09-16 02:08:28 +0000518Mon Sep 15 22:03:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
519
520 * debugfs.c (main): Fix declaration of main so that it returns an int.
521
Theodore Ts'o024996c1997-06-17 05:38:35 +0000522Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
523
524 * Release of E2fsprogs 1.11
525
Theodore Ts'o583ccdc1997-05-09 03:06:31 +0000526Thu May 8 23:05:40 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
527
528 * debugfs.8.in: Fix minor typos and grammer oops found by Bill
529 Hawes (whawes@star.net).
530
Theodore Ts'oa29f4d31997-04-29 21:26:48 +0000531Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
532
533 * Release of E2fsprogs version 1.10
534
535Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
536
537 * Release of E2fsprogs version 1.09
538
Theodore Ts'o2ecc6fe1997-04-29 17:57:00 +0000539Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
540
541 * Release of E2fsprogs version 1.08
542
Theodore Ts'o521e3681997-04-29 17:48:10 +0000543Thu Apr 10 14:36:05 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
544
545 * ls.c: New file which implements the ls command. Added the -l
546 option.
547
Theodore Ts'o21c84b71997-04-29 16:15:03 +0000548Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
549
550 * Release of E2fsprogs version 1.07
551
552Wed Jan 1 23:53:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
553
554 * lsdel.c (do_lsdel): Use time_to_string() instead of ctime().
555
556Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
557
558 * Release of E2fsprogs version 1.06
559
Theodore Ts'o5c576471997-04-29 15:29:49 +0000560Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
561
562 * Release of E2fsprogs version 1.05
563
Theodore Ts'ofc6d9d51997-04-29 14:51:31 +0000564Mon Sep 9 23:05:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
565
566 * debugfs.c (unlink_file_by_name): If unlinking a file with a
567 directory path, correctly replace the slash with a NULL.
568 (do_show_debugfs_params): Don't try to print the open mode
569 if there's no filesystem opened (since that will cause a
570 core dump).
571 (main): Fix usage string; the -w and device elements are
572 independently optional.
573
574Tu Sep 3 15:09:39 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
575
576 * debugfs.c (main): Added -f option to debugfs, which takes a
577 command file of debugfs commands and executes them.
578
579Sat Aug 31 01:18:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
580
581 * debugfs.8.in: Heavily edited and improved manual page.
582
583 * dump.c (dump_file): Improve the write function for writing out
584 the file, so that it is limited to the actual size of the
585 file, instead of outputing the nulls following the EOF.
586 Make sure dump_file does the right thing for files with holes.
587 (do_dump): Add support for the -p option to the dump
588 command, which attempts to preserve the owner and
589 permissions field.
590
591Fri Aug 30 14:56:59 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
592
593 * debugfs.c (main): Add -R option to debugfs, which allows it to
594 take a single debugfs command on the command line.
595
596Fri Aug 9 09:03:31 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
597
598 * debugfs.c (do_open_filesys): Set optind to 0 to reset getopt(),
599 to be complete correct.
600 (do_show_super_stats): Print OS type, volume label, last
601 mounted directory, and UUID.
602 (dump_inode): Print the fragment information in a
603 filesystem independent way.
604 (do_modify_inode): Modify the fragement information in a
605 filesystem independent way.
606
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000607Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
608
609 * Release of E2fsprogs version 1.04
610
611Wed May 3 20:41:26 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
612
613 * debugfs.c (dump_inode): Correctly print the translator on the hurd.
614 (do_modify_inode): Modify the translator block on the hurd.
615
Theodore Ts'o7f88b041997-04-26 14:48:50 +0000616Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu>
617
618 * Release of E2fsprogs version 1.03
619
Theodore Ts'o74becf31997-04-26 14:37:06 +0000620Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
621
622 * Release of E2fsprogs version 1.02
623
624Fri Dec 1 22:42:31 1995 <tytso@rsts-11.mit.edu>
625
626 * Makefile.in (LIBS): Rearrange the order of the libraries to be
627 linked, so that -lext2fs is before -lcom_err.
628
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000629Thu Oct 26 12:05:06 1995 <tytso@rsts-11.mit.edu>
630
631 * Makefile.in (install): Strip programs when they are installed.
632
633Fri Aug 18 15:09:08 1995 Theodore Y. Ts'o <tytso@dcl>
634
635 * debugfs.c (do_find_free_block): Fix typo in code which checked
636 to see if the usage message should be printed.
637
638Thu Aug 17 22:55:58 1995 <tytso@rsts-11.mit.edu>
639
640 * debugfs.c (do_open_filesys): Change to always set optreset to 1,
641 to make BSD getopt()'s happy. Also set optind to 1, which
642 should make more getopt()'s happy.
643
644Fri Aug 11 08:45:01 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
645
646 * debugfs.c (do_find_free_block, do_find_free_inode): Fix bug in
647 the usage handling where "ffi ?" or "ffb ?" would
648 dereference a NULL pointer.
649
650Fri Aug 11 14:21:07 1995 Remy Card <card@bbj>
651
652 * debugfs.8: Updated date and version number.
653
654Thu Aug 10 14:28:50 1995 Remy Card <card@bbj>
655
656 * debugfs.8: Fixed a spelling error in Ted's name :-)
657
658Mon Jun 12 19:08:25 1995 Theodore Y. Ts'o (tytso@dcl)
659
660 * debugfs.c, ncheck.c, icheck.c, lsdel.c, dump.c: Include
661 <errno.h> (if it exists)
662
663 * debugfs.c, dump.c, icheck.c, lsdel.c, ncheck.c: Don't include
664 <getopt.h> if it doesn't exist.
665
666Sun Jun 11 15:21:07 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
667
668 * ncheck.c (do_ncheck): Use LINUX_S_ISDIR instead of S_ISDIR
669
670 * debugfs.c: Implement the mknod and write commands (from Linus).
671
672 Change names of modify_char, modify_short, and modify_long
673 to be modify_u8, modify_u16, and modify_u32, respectively.
674
675Thu Jun 8 12:29:15 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
676
677 * debugfs.c (dump_inode): Only print out inode frag fields if
678 HAVE_EXT2_FRAGS is defined (by configure). Don't print out the
679 reserved field at all for now.
680
681 * Makefile.in: Rewritten to conform to GNU coding standards and
682 support separate compilation directories.
683
Theodore Ts'o6f4a1091997-04-26 13:32:25 +0000684Thu Nov 24 17:46:23 1994 Theodore Y. Ts'o (tytso@rt-11)
685
686 * dump.c: Added two new commands, "dump" and "cat", which allow
687 the user to dump the contents of an inode to a file or to
688 stdout, respectively.
689
690