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