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