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