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