OSDN Git Service

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