Whamcloud - gitweb
Fix various gcc -Wall nits. Fixed a bug in mke2fs where a bogus
[tools/e2fsprogs.git] / debugfs / ChangeLog
1 2001-12-16  Theodore Tso  <tytso@valinux.com>
2
3         * setsuper.c (print_possible_fields), 
4                 logdump.c (dump_journal): Fix gcc -Wall nits
5
6         * Makefile.in, jfs_user.h: linux/jfs.h has been renamed to
7                 linux/jbd.h
8
9 2001-12-02  Theodore Tso  <tytso@valinux.com>
10
11         * util.c (close_pager): Use pclose() instead of fclose() when
12                 closing the pager stream.
13
14 2001-11-30  Theodore Tso  <tytso@valinux.com>
15
16         * debugfs.c (finish_range, dump_blocks): Fixed bug in Andreas's >
17                 2GB support changes: you need to use %lld when printf'ing
18                 an long long variable.
19
20 2001-11-24  Theodore Tso  <tytso@valinux.com>
21
22         * debugfs.8.in: Update manual page to document the set_super_value
23                 and logdump commands, and move the "specifying files"
24                 section closer to the beginning of the man page so people
25                 won't miss it.
26
27         * setsuper.c (print_possible_fields): "set_super_value -l" now
28                 prints out the list of valid superblock fields which the
29                 ssv command can set.
30
31 2001-09-20  Theodore Tso  <tytso@thunk.org>
32
33         * Release of E2fsprogs 1.25
34
35 2001-09-02  Theodore Tso  <tytso@thunk.org>
36
37         * Release of E2fsprogs 1.24a
38
39 2001-08-30  Theodore Tso  <tytso@thunk.org>
40
41         * Release of E2fsprogs 1.24
42
43 2001-08-27  Theodore Tso  <tytso@valinux.com>
44
45         * debugfs.c (main): Remove EXT2FS_VERSION from the version
46                 display, since it only confuses people.
47
48 2001-08-15  Theodore Tso  <tytso@valinux.com>
49
50         * Release of E2fsprogs 1.23
51
52 2001-08-12  Theodore Tso  <tytso@valinux.com>
53
54         * logdump.c (do_logdump, dump_journal): Add support for dumping
55                 external journals.
56
57 2001-06-23  Theodore Tso  <tytso@valinux.com>
58
59         * Release of E2fsprogs 1.22
60
61 2001-06-15  Theodore Tso  <tytso@valinux.com>
62
63         * Release of E2fsprogs 1.21
64
65 2001-06-13  Theodore Tso  <tytso@valinux.com>
66
67         * setsuper.c: Add s_lastcheck field to the fields which can be
68                 modified using set_super_value.  (Suggested by Andreas
69                 Dilger)
70
71 2001-06-03  Theodore Tso  <tytso@valinux.com>
72
73         * debugfs.c (copy_file): Fixed signed vs unsigned bug which causes
74                 read errors to not be noticed.
75
76 2001-06-01  Theodore Tso  <tytso@valinux.com>
77
78         * Makefile.in: Move include/asm/types.h.in to 
79                 lib/ext2fs/ext2_types.h.in.
80
81         * debugfs.c, debugfs.h, logdump.c: Fix various gcc -Wall nitpicks.
82
83         * logdump.c (read_journal_block): Replace pread with lseek/read
84                 combination.
85
86 2001-05-25  Theodore Tso  <tytso@valinux.com>
87
88         * Release of E2fsprogs 1.20
89
90 2001-05-14  Theodore Tso  <tytso@valinux.com>
91
92         * debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
93
94 2001-05-12  Theodore Tso  <tytso@valinux.com>
95
96         * debugfs.c (print_features): Use fputs instead of printf to
97                 output using the passed-in FILE *.
98
99 2001-05-09  Theodore Tso  <tytso@valinux.com>
100
101         * debugfs.c (do_write, do_mknod): Set the file type information
102                 when creating the inode.
103
104 2001-05-03  Theodore Tso  <tytso@valinux.com>
105
106         * debugfs.c (do_open_filesys, main): Add -i option which will
107                 allow debugfs to examine ext2 image files.
108
109 2001-03-29  Theodore Tso  <tytso@valinux.com>
110
111         * debugfs.c (dump_blocks, dump_inode, internal_dump_inode): Add
112                 internal_dump_inode() interface for the logdump command.
113
114         * logdump.c: Imported code from Stephen Tweedie to dump the ext3
115                 journal.
116
117 2001-03-18  Theodore Tso  <tytso@valinux.com>
118
119         * debugfs.c (do_write, do_mknod): Remove extra (useless) call to
120                 ext2fs_write_inode.
121
122 2001-01-12  Theodore Ts'o  <tytso@valinux.com>
123
124         * setsuper.c: Cleaned up some random whitespace problems.
125
126         * debugfs.h,  debugfs.c  (do_show_super_stats): Use  full words
127                 instead of pluralism hack  to make I18N conversion easier.
128                 Clean up gcc -Wall complaints.
129
130 2001-01-11    <tytso@snap.thunk.org>
131
132         * debugfs.c, debugfs.h, dump.c, icheck.c, ls.c, lsdel.c, ncheck.c,
133                 setsuper.c, util.c: Change ino_t to ext2_ino_t.  Fix a few
134                 minor gcc-wall complaints while we're at it.
135
136 2001-01-01    <tytso@snap.thunk.org>
137
138         * debugfs.c Replace use of struct ext2fs_sb with struct
139                 ext2_super_block.
140
141 2000-12-30    <tytso@snap.thunk.org>
142
143         * dump.c (fix_perms): Fix bug for systems which don't have fchown;
144                 was incorrectly using chmod instead of chown.
145
146         * setsuper.c (find_field): Strip the s_prefix if given for ssv
147                 fields.  Remove hard-coded s_ from inode_size
148                 field.  (Suggested by Andreas Dilger)
149
150         * debugfs.c (do_modify_inode): Add the ability to set the inode
151                 generation number.  (Suggested by Andreas Dilger)
152
153 2000-08-23    <tytso@valinux.com>
154
155         * util.c (string_to_inode): Use strtoul instead of atoi, so that
156                 hex inode numbers will be accepted.
157
158 2000-08-19    <tytso@valinux.com>
159
160         * util.c (open_pager): Set SIGPIPE to be ignored, so that quitting
161                 out of the pager doesn't blow away debugfs.
162
163 2000-08-14    <tytso@valinux.com>
164
165         * debugfs.c (do_show_super_stats): Use list_super2() instead of
166                 using explicit printf statements.  (We get a more complete
167                 printout this way.)
168
169         * util.c (open_pager): If the PAGER environment variable is not
170                 set, default to using "more".
171
172         * setsuper.c: New function which implements the set_super_value
173                 command.  Allows the user to set arbitrary superblock
174                 fields.
175
176         * debugfs.c (dump_inode): Cap the length when printing a fast
177                 symbolic link to inode.i_size.
178                 (list_blocks_proc): Print block ranges (4510-4533) to make
179                 the stat output easier to read.
180
181 2000-06-27  Andreas Dilger <adilger@turbolabs.com>
182
183         * debugfs.c (list_blocks_proc): show relative inode block numbers
184                 and/or indirect block status
185
186 2000-07-13    <tytso@valinux.com>
187
188         * Release of E2fsprogs 1.19
189
190 2000-07-05  Theodore Ts'o  <tytso@valinux.com>
191
192         * debugfs.c (dump_inode): Make the generation field be printed as
193                 an unsigned integer.
194
195 2000-07-04    <tytso@snap.thunk.org>
196
197         * Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the
198                 mk_cmds support files from the source tree.
199
200 2000-06-09    <tytso@snap.thunk.org>
201
202         * lsdel.c (do_lsdel): Handle bad bad blocks in inode table.
203
204 2000-05-27  Theodore Ts'o  <tytso@valinux.com>
205
206         * debugfs.c (do_testb, do_testi): Call check_fs_bitmaps to avoid
207                 coredumping if the bitmaps aren't loaded.
208
209         * util.c (check_fs_bitmaps): New function which checks whether or
210                 not the bitmaps are loaded.
211
212 2000-05-23  Aaron Crane  <aaronc@pobox.com>
213
214         * debugfs.8.in: Documented new behaviour.
215
216         * ls.c (ls_l_file): Fix Y2K bug -- was printing 22-May-100 for
217                 recent files.  Switched to 4-digit years.
218
219         * dump.c, debug_cmds.ct (do_rdump): Add new debugfs command
220                 "rdump", which recursively dumps a directory and its
221                 contents.
222                 (fix_perms): New function.  Break permission-fixing
223                 code out of dump_file() so it can be called by rdump
224                 code as well.
225                 (dump_file): Call fix_perms().
226
227         * debugfs.c, debug_cmds.ct (do_lcd): Add new debugfs command
228                 "lcd", which changes the cwd on the native filesystem.
229
230         * debugfs.c (open_filesystem): Extra args for superblock,
231                 blocksize, and catastrophic mode.  Changed callers.
232                 (do_open_filesys, main): Accept new -b, -s, -c options
233                 for open_filesystem.
234
235 2000-02-02  Theodore Ts'o  <tytso@valinux.com>
236
237         * debugfs.c (dump_inode): Remove #ifdef for i_version
238                 vs. i_generation since we know it will always be
239                 i_generation now.
240
241 2000-01-18  Theodore Ts'o  <tytso@valinux.com>
242
243         * debugfs.c (main): Use return instead of exit at the end of main
244                 to avoid some compiler warnings.
245
246         * Makefile.in: Since LIBUUID can sometimes include
247                 "-lsocket" we need a separate DEPLIBUUID that can be used
248                 in Makefile's dependency rules.
249
250 1999-11-19    <tytso@valinux.com>
251
252         * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
253                 the source directory.
254
255 1999-11-10    <tytso@valinux.com>
256
257         * Release of E2fsprogs 1.18
258
259 1999-11-08    <tytso@valinux.com>
260
261         * icheck.c (do_icheck): 
262         * ncheck.c (do_ncheck): If ext2fs_open_inode_scan() returns 
263                 EXT2_ET_BAD_BLOCK_IN_INODE_TABLE loop to skip over the bad
264                 blocks in the inode table.
265
266 1999-10-26    <tytso@valinux.com>
267
268         * Release of E2fsprogs 1.17
269
270 1999-10-26    <tytso@valinux.com>
271
272         * debugfs.h: Add declaration for do_features()
273
274         * debugfs.c: Add #incldue of e2p.h to fix gcc warnings.
275
276 1999-10-25    <tytso@valinux.com>
277
278         * debugfs.c (do_dirty_filesys): Make the "dirty" command clear the
279                 valid bit on the superblock.  (And with a -clean option to
280                 set the valid bit.)  Originally it was used just to set
281                 the "needs to be written" bit in the in-core version of
282                 the fs structure.
283
284 1999-10-22    <tytso@valinux.com>
285
286         * Release of E2fsprogs 1.16
287
288 1999-09-07    <tytso@rsts-11.mit.edu>
289
290         * debugfs.c, debug_cmds.ct: Add new debugfs command "feature"
291                 which allows the user to set or clear filesystme features.
292                 Add the -f (force) option to the open command.  Add the 
293                 -h (superblock header only) option to the stats command.
294
295 1999-07-30    <tytso@rsts-11.mit.edu>
296
297         * debugfs.c (dump_inode): Fix debugfs message so it is the same
298                 for when compiled under either Linux 2.2 or 2.3.  This
299                 allows for the f_swapfs regression test suite to work
300                 regardless of which OS e2fsprogs was compiled on.
301
302 1999-07-18  Theodore Ts'o  <tytso@rsts-11.mit.edu>
303
304         * Release of E2fsprogs 1.15
305
306 1999-06-23    <tytso@valinux.com>
307
308         * debugfs.c (dump_inode): Add compatibility for Linux 2.3 kernels
309                 that use i_generation instead of i_version.  Patch
310                 supplied by Jon Bright <sircus@sircus.demon.co.uk>.
311
312 1999-02-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
313
314         * icheck.c (do_icheck): Check to make sure the inode has valid
315                 blocks before iterating over that inode's blocks.
316
317 1999-01-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
318
319         * Release of E2fsprogs 1.14
320
321 1998-12-15  Theodore Ts'o  <tytso@rsts-11.mit.edu>
322
323         * Release of E2fsprogs 1.13
324
325 1998-12-03  Theodore Ts'o  <tytso@rsts-11.mit.edu>
326
327         * Makefile.in: Updated dependencies.
328
329 1998-07-31  Theodore Ts'o  <tytso@rsts-11.mit.edu>
330
331         * debugfs.c (do_stat, do_clri): Fix bug where debugfs wasn't
332                 displaying the error message if ext2fs_read_inode() failed.
333                 (do_rm): Fix similar problem for call to ext2fs_namei().
334         
335 1998-07-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
336
337         * Release of E2fsprogs 1.12
338
339 1998-06-27  Theodore Ts'o  <tytso@rsts-11.mit.edu>
340
341         * debugfs.c: Add a -V option which displays the current version.
342
343 1998-03-31  Theodore Ts'o  <tytso@rsts-11.mit.edu>
344
345         * Makefile.in: Change to use new installation directory variables
346                 convention.  Fix installdirs and uninstall rules to reflect
347                 the fact that debugfs has been installed in the root
348                 filesystem.  Fix uninstall rules to take $(DESTDIR) into
349                 account.
350
351 1998-03-29  Theodore Ts'o  <tytso@rsts-11.mit.edu>
352
353         * debugfs.h: Add declaration for do_dirty_filsys() to prevent
354                 -Wall warnings.
355
356         * debugfs.c (copy_file): 
357         * dump.c (dump_file): Fix -Wall warning caused by
358                 signed/unsigned mismatch. 
359
360 1998-03-23  Theodore Ts'o  <tytso@rsts-11.mit.edu>
361
362         * debugfs.c, ls.c, lsdel.c: Add support for large files.  (The
363                 high 32 bits share space with the i_dir_acl field.)
364
365 Sun Mar  8 22:53:04 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
366
367         * ls.c (list_dir_proc): Mask off high 8 bits from
368                 dirent->name_len.
369
370 Mon Dec  1 13:21:09 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
371
372         * Makefile.in: Install debugfs in /sbin, instead of /usr/sbin.
373
374 Sat Oct 25 18:35:30 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
375
376         * debugfs.c (copy_file), dump.c (dump_file): Change to use the new
377                 fileio primitives in libext2.
378
379 Fri Oct 24 23:47:43 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
380
381         * debugfs.c (main, do_open_filesys): 
382         * dump.c (do_dump): Make the variable which getopt returns into be
383                 an int, so that it won't lose on platforms where char is
384                 unsigned. 
385
386 Tue Oct 14 21:50:24 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
387
388         * debugfs.c (main): When printing a usage message, have main
389                 return 1 (instead of not specifying a return value, bad!)
390
391 Mon Sep 15 22:03:36 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
392
393         * debugfs.c (main): Fix declaration of main so that it returns an int.
394
395 Tue Jun 17 01:33:20 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
396
397         * Release of E2fsprogs 1.11
398
399 Thu May  8 23:05:40 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
400
401         * debugfs.8.in: Fix minor typos and grammer oops found by Bill
402                 Hawes (whawes@star.net).
403
404 Thu Apr 24 12:16:42 1997  Theodre Ts'o  <tytso@localhost.mit.edu>
405
406         * Release of E2fsprogs version 1.10
407
408 Thu Apr 17 12:23:38 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
409
410         * Release of E2fsprogs version 1.09
411
412 Fri Apr 11 18:56:26 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
413
414         * Release of E2fsprogs version 1.08
415
416 Thu Apr 10 14:36:05 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
417
418         * ls.c: New file which implements the ls command.  Added the -l
419                 option. 
420
421 Wed Mar 12 13:32:05 1997  Theodore Y. Ts'o  <tytso@mit.edu>
422
423         * Release of E2fsprogs version 1.07
424
425 Wed Jan  1 23:53:26 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
426
427         * lsdel.c (do_lsdel): Use time_to_string() instead of ctime().
428
429 Tue Oct  8 02:02:03 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
430
431         * Release of E2fsprogs version 1.06
432
433 Thu Sep 12 15:23:07 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
434
435         * Release of E2fsprogs version 1.05
436
437 Mon Sep  9 23:05:11 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
438
439         * debugfs.c (unlink_file_by_name): If unlinking a file with a
440                 directory path, correctly replace the slash with a NULL.
441                 (do_show_debugfs_params): Don't try to print the open mode
442                 if there's no filesystem opened (since that will cause a
443                 core dump).
444                 (main): Fix usage string; the -w and device elements are
445                 independently optional.
446
447 Tu Sep  3 15:09:39 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
448
449         * debugfs.c (main): Added -f option to debugfs, which takes a
450                 command file of debugfs commands and executes them.
451
452 Sat Aug 31 01:18:43 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
453
454         * debugfs.8.in: Heavily edited and improved manual page.
455
456         * dump.c (dump_file): Improve the write function for writing out
457                 the file, so that it is limited to the actual size of the
458                 file, instead of outputing the nulls following the EOF.
459                 Make sure dump_file does the right thing for files with holes.
460                 (do_dump): Add support for the -p option to the dump
461                 command, which attempts to preserve the owner and
462                 permissions field.
463
464 Fri Aug 30 14:56:59 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
465
466         * debugfs.c (main): Add -R option to debugfs, which allows it to
467                 take a single debugfs command on the command line.
468
469 Fri Aug  9 09:03:31 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
470
471         * debugfs.c (do_open_filesys): Set optind to 0 to reset getopt(),
472                 to be complete correct.
473                 (do_show_super_stats): Print OS type, volume label, last
474                 mounted directory, and UUID.
475                 (dump_inode): Print the fragment information in a
476                 filesystem independent way.
477                 (do_modify_inode): Modify the fragement information in a
478                 filesystem independent way.
479
480 Thu May 16 11:12:30 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
481
482         * Release of E2fsprogs version 1.04
483
484 Wed May 3 20:41:26 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
485
486         * debugfs.c (dump_inode): Correctly print the translator on the hurd.
487                (do_modify_inode): Modify the translator block on the hurd.
488
489 Wed Mar 27 00:33:40 1996    <tytso@rsts-11.mit.edu>
490
491         * Release of E2fsprogs version 1.03
492
493 Wed Jan 31 11:06:08 1996    <tytso@rsts-11.mit.edu>
494
495         * Release of E2fsprogs version 1.02
496
497 Fri Dec  1 22:42:31 1995    <tytso@rsts-11.mit.edu>
498
499         * Makefile.in (LIBS): Rearrange the order of the libraries to be
500                 linked, so that -lext2fs is before -lcom_err.
501
502 Thu Oct 26 12:05:06 1995    <tytso@rsts-11.mit.edu>
503
504         * Makefile.in (install): Strip programs when they are installed.
505
506 Fri Aug 18 15:09:08 1995  Theodore Y. Ts'o  <tytso@dcl>
507
508         * debugfs.c (do_find_free_block): Fix typo in code which checked
509                 to see if the usage message should be printed.
510
511 Thu Aug 17 22:55:58 1995    <tytso@rsts-11.mit.edu>
512
513         * debugfs.c (do_open_filesys): Change to always set optreset to 1,
514                 to make BSD getopt()'s happy.  Also set optind to 1, which
515                 should make more getopt()'s happy.
516
517 Fri Aug 11 08:45:01 1995  Theodore Y. Ts'o  <tytso@lurch.mit.edu>
518
519         * debugfs.c (do_find_free_block, do_find_free_inode): Fix bug in
520                 the usage handling where "ffi ?" or "ffb ?" would
521                 dereference a NULL pointer.
522
523 Fri Aug 11 14:21:07 1995  Remy Card  <card@bbj>
524
525         * debugfs.8: Updated date and version number.
526
527 Thu Aug 10 14:28:50 1995  Remy Card  <card@bbj>
528
529         * debugfs.8: Fixed a spelling error in Ted's name :-)
530
531 Mon Jun 12 19:08:25 1995  Theodore Y. Ts'o  (tytso@dcl)
532
533         * debugfs.c, ncheck.c, icheck.c, lsdel.c, dump.c: Include
534                 <errno.h> (if it exists)
535
536         * debugfs.c, dump.c, icheck.c, lsdel.c, ncheck.c: Don't include
537                 <getopt.h> if it doesn't exist.
538
539 Sun Jun 11 15:21:07 1995  Theodore Y. Ts'o  <tytso@lurch.mit.edu>
540
541         * ncheck.c (do_ncheck): Use LINUX_S_ISDIR instead of S_ISDIR
542
543         * debugfs.c: Implement the mknod and write commands (from Linus).
544
545                 Change names of modify_char, modify_short, and modify_long
546                 to be modify_u8, modify_u16, and modify_u32, respectively.
547
548 Thu Jun  8 12:29:15 1995  Miles Bader  <miles@churchy.gnu.ai.mit.edu>
549
550         * debugfs.c (dump_inode): Only print out inode frag fields if
551         HAVE_EXT2_FRAGS is defined (by configure).  Don't print out the
552         reserved field at all for  now.
553
554         * Makefile.in: Rewritten to conform to GNU coding standards and
555         support separate compilation directories.
556
557 Thu Nov 24 17:46:23 1994  Theodore Y. Ts'o  (tytso@rt-11)
558
559         * dump.c: Added two new commands, "dump" and "cat", which allow
560                 the user to dump the contents of an inode to a file or to
561                 stdout, respectively.
562
563