Whamcloud - gitweb
util.c (open_pager): Use DEBUGFS_PAGER in preference to PAGER
[tools/e2fsprogs.git] / debugfs / ChangeLog
1 2004-04-11  Theodore Ts'o  <tytso@mit.edu>
2
3         * util.c (open_pager): Use DEBUGFS_PAGER in preference to PAGER
4                 (Addresses Debian Bug #239547)
5
6 2004-04-03  Theodore Ts'o  <tytso@mit.edu>
7
8         * Makefile.in: Update the modtime even if subst doesn't need to
9                 update the debugfs man page, to avoid always re-running
10                 subst, especially since there are no dependencies on the
11                 man page.
12
13 2004-03-20  Theodore Ts'o  <tytso@mit.edu>
14
15         * debugfs.c (make_link): Set the filetype information when
16                 creating a link.
17
18 2004-02-28  Theodore Ts'o  <tytso@mit.edu>
19
20         * Release of E2fsprogs 1.35
21
22 2004-02-23  Theodore Ts'o  <tytso@mit.edu>
23
24         * debugfs.c (internal_dump_inode): Display the major/minor device
25                 numbers for block/character devices.
26                 (do_mknod): Add support for new-style device numbers (where
27                 the major or minor number is greater than 255 and less
28                 than 65535).  (Addresses Sourceforge bug #865289)
29
30 2004-02-21  Theodore Ts'o  <tytso@mit.edu>
31
32         * debugfs.8.in: Fix the debugfs man page to reference the
33                 init_filesys command, instead of "initialize".  (Addresses
34                 Debian Bug #232406)
35
36 2004-02-14  Theodore Ts'o  <tytso@mit.edu>
37
38         * debugfs.c (internal_dump_inode): Correctly deal with symlinks
39                 that have extended attribute information.  (Addresses
40                 Debian Bug #232328)
41
42 2004-01-24  Theodore Ts'o  <tytso@mit.edu>
43
44         * debugfs.8.in: Document the PAGER and DEBUGFS_PAGER environment
45                 variables.
46
47         * util.c (open_pager): Use the "more" pager in preference to
48                 "less", since "less" doesn't work terribly well for
49                 debugfs's purpose.
50
51 2003-12-25  Theodore Ts'o  <tytso@mit.edu>
52
53         * util.c (open_pager): Try to use the DEBUGFS_PAGER environment
54                 variable first, and then fall back to the PAGER
55                 environment variable.  Finally, search for an appropriate
56                 pager executable.
57
58 2003-12-11  Theodore Ts'o  <tytso@thunk.org>
59
60         * debugfs.c (do_write, do_mkdir): If the directory is full,
61                 automatically call ext2fs_expand_dir() and then retry to
62                 add the link to the directory as a convenience to the
63                 user.  (Addresses Debian Bug: #217892)
64                 (do_mknod): Clean up expand_dir error handling.
65
66 2003-12-07  Theodore Ts'o  <tytso@mit.edu>
67
68         * debugfs.c (do_write): Mask off the file type bits, and OR in the
69                 regular file information.  (Addresses Debian Bug: #217456)
70
71         * util.c (open_pager): Search for the pager to use, starting with
72                 'pager', and then falling back to 'less' and then 'more'.
73                 (Addresses Debian Bug: #221977)
74
75         * debugfs.c, debugfs.h, dump.c, htree.c, icheck.c, logdump.c,
76                 ls.c, lsdel.c, ncheck.c, setsuper.c, unused.c: Fix gcc
77                 -Wall nitpicks.
78
79 2003-08-24  Theodore Ts'o  <tytso@mit.edu>
80
81         * debugfs.8.in: Adjust description line so that apropos
82                 "ext2" or "ext3" will find the man page.  (Addresses
83                 Debian Bug #206845)
84
85 2003-08-21  Theodore Ts'o  <tytso@mit.edu>
86
87         * debugfs.8.in: Fully document the logdump command in the debugfs
88                 man page.
89
90         * logdump.c (do_logdump): Add -s option which will use the journal
91                 inode information in the superblock.
92
93 2003-07-25  Theodore Ts'o  <tytso@mit.edu>
94
95         * Release of E2fsprogs 1.34
96
97 2003-07-06  Theodore Ts'o  <tytso@mit.edu>
98
99         * debugfs.c (do_imap): Fix gcc -Wall nitpicks (printf format types).
100
101 2003-05-21  Theodore Ts'o  <tytso@mit.edu>
102
103         * unused.c (do_dump_unused): Add new command which dumps the
104                 unused blocks.  (Initial implementation; currently only
105                 dumps the output to stdout.)
106
107 2003-05-13  root  <tytso@mit.edu>
108
109         * util.c (reset_getopt), debugfs.c (do_open_filesys,
110         do_show_super_stats), ls.c (do_list_dir), dump.c (do_dump),
111         htree.c (do_htree_dump, do_dx_hash), logdump.c (do_logdump):
112         Define and use a new function, reset_getopt(), which does whatever
113         is necessary to reset getopt() again.  This is different for
114         different implementations, so the portabilty issues are a bit of a
115         nightmare.  (Addresses Debian bug #192834)
116         
117 2003-05-05  Theodore Ts'o  <tytso@mit.edu>
118
119         * debugfs.c (do_imap), debugfs.h, debug_cmds.ct, debugfs.8.in:
120                 Added new command, imap, which prints the location of a
121                 specified inode in the inode table.
122
123 2003-04-21  Theodore Ts'o  <tytso@mit.edu>
124
125         * Release of E2fsprogs 1.33
126
127 2003-03-16  Theodore Ts'o  <tytso@mit.edu>
128
129         * Makefile.in (DLOPEN_LIB): Link in the libdl library if it is
130                 present on the system.
131
132         * debugfs.c (main): Call ss_get_readline() to attempt to pull in
133                 the readline library.
134
135 2003-03-06  Theodore Tso  <tytso@mit.edu>
136
137         * debugfs.c (do_open_filesys, do_show_super_stats), 
138         ls.c (do_list_dir), dump.c (do_dump), htree.c (do_htree_dump, 
139         do_dx_hash), logdump.c (do_logdump): Reset optind to 1 for better
140         compatibility with non-glibc implementations of getopt.
141
142 2003-03-01  Theodore Ts'o  <tytso@mit.edu>
143
144         * Makefile.in, logdump.c (do_logdump): Use the blkid functions to
145                 find the external journal device.
146
147 2003-01-21  Theodore Ts'o  <tytso@mit.edu>
148
149         * dump.c (do_dump): Open the output file with O_LARGEFILE so we
150                 can write files larger than 2GB.
151
152 2002-11-09  Theodore Ts'o  <tytso@mit.edu>
153
154         * Release of E2fsprogs 1.32
155
156 2002-11-08  Theodore Ts'o  <tytso@mit.edu>
157
158         * Release of E2fsprogs 1.31
159
160 2002-10-31  Theodore Ts'o  <tytso@mit.edu>
161
162         * Release of E2fsprogs 1.30
163
164 2002-10-31  Theodore Ts'o  <tytso@mit.edu>
165
166         * debugfs.c (do_write): Check to see if the filename exists before
167                 creating it, and give an error if so.  Addresses
168                 Sourceforge bug #478195.
169
170 2002-10-30  Theodore Ts'o  <tytso@mit.edu>
171
172         * Makefile.in (install): Search all compression extensions when
173                 deleting old man pages.
174
175 2002-10-13  Theodore Ts'o  <tytso@mit.edu>
176
177         * debugfs.h, htree.c, setsuper.c: Fix gcc -Wall nits.
178
179 2002-10-02  Theodore Y. Ts'o  <tytso@mit.edu>
180
181         * htree.c (htree_dump_leaf_node): Use ext2fs_read_dir_block2 so
182                 that the directory entries are appropriately byte-swapped.
183
184 2001-09-24  Theodore Tso  <tytso@mit.edu>
185
186         * Release of E2fsprogs 1.29
187
188 2002-09-22  root  <tytso@mit.edu>
189
190         * htree.c (htree_dump_int_node): Flag continuation hashes to make
191                 them easier to find.
192
193 2001-08-31  Theodore Tso  <tytso@thunk.org>
194
195         * Release of E2fsprogs 1.28
196
197 2002-08-23  Theodore Ts'o  <tytso@mit.edu>
198
199         * setsuper.c: Add support for the fields s_uuid, s_journal_uuid,
200                 s_hash_seed, s_def_hash_version.  Add routines for parsing
201                 UUID's and hash algorithm identifiers.
202
203 2002-08-16  Theodore Ts'o  <tytso@mit.edu>
204
205         * icheck.c (do_icheck): Check to see if the block is listed as
206                 part of the extended attribute block.
207
208 2002-07-21  Theodore Ts'o  <tytso@mit.edu>
209
210         * htree.c (do_htree_dump): Fix a bug where we were not cleanly
211                 closing the pager after errors, which would leave the
212                 tty in noecho mode.
213
214 2002-07-18  Theodore Ts'o  <tytso@mit.edu>
215
216         * htree.c (htree_dump_int_node): Add byte swapping code sot that
217                 the htree dump function works on a big-endian machine.
218
219 2002-07-15  Theodore Ts'o  <tytso@mit.edu>
220
221         * debugfs.c (do_show_super_stats): Calculate and print the number
222                 of directories on a filesystem --- because we can and
223                 because it can be useful.
224
225 2002-07-09  Theodore Ts'o  <tytso@mit.edu>
226
227         * debugfs.c (do_rmdir), debugfs.8.in: Implement the rmdir command.
228                 Addresses Debian bug #138003.
229
230 2002-06-26  Theodore Ts'o  <tytso@mit.edu>
231
232         * htree.c (do_dx_hash): Use new ext2fs_dirhash function signature.
233                 Add getopt support so user can specify the hash version.
234
235 2002-05-11    <tytso@snap.thunk.org>
236
237         * debug_cmds.ct, debugfs.c (do_bmap): Add new command "bmap" which
238                 calculates the logical->physical block mapping for an
239                 inode.
240
241         * debugfs.c (do_init_filsys, main), util.c
242                 (common_block_args_process): Fix bad calling parameter
243                 order when calling parse_ulong.  This broke the -b  and -s
244                 options to debugfs, as well as do_init, and the testb,
245                 setb, clearb functions.
246
247 2002-04-01    <tytso@snap.thunk.org>
248
249         * util.c (parse_ulong): Fix typo which cases parse_ulong to
250                 coredump if the err variable is filled in (for example, if
251                 the -b or -s options are passed to the debugfs's
252                 command-line invocation).
253
254 2002-03-11  Theodore Tso  <tytso@mit.edu>
255
256         * ls.c (list_dir_proc): Fix bug: ls -l fails to print the file
257                 type correctly if running on big-endian systems.
258
259         * htree.c (htree_dump_leaf_node): Use the ext2_dirhash function
260                 instead of a local static function.
261
262 2002-03-08  Theodore Tso  <tytso@mit.edu>
263
264         * Release of E2fsprogs 1.27
265
266 2002-03-07    <tytso@snap.thunk.org>
267
268         * ls.c (list_dir_proc): Fix typo in debugfs which was causing a
269                 compiler warning.
270
271 2002-03-05  Theodore Tso  <tytso@mit.edu>
272
273         * lsdel.c (do_lsdel): lsdel uses the pager to print out the list
274                 of potentially deleted inode.  Thanks to Jaroslav Drzik
275                 <jdrzik@host.sk> for suggesting this enhancement.
276
277         * debugfs.c (do_modify_inode): Fix bug which caused modify_inode
278                 to core dump if a fliesystem isn't open.  Thanks to 
279                 Jaroslav Drzik <jdrzik@host.sk> for finding and reporting
280                 the bug and his proposed fix.
281
282 2002-02-26  Theodore Tso  <tytso@mit.edu>
283
284         * ls.c (list_dir_proc): When listing the directory entry in long 
285                 format, include the file type of the directory entry in 
286                 parenthesis.
287
288 2002-02-25  Theodore Tso  <tytso@mit.edu>
289
290         * util.c (open_pager): If the PAGER environment is set to __none__
291                 then don't use a pager at all, and ship it all to stdout.
292
293         * Makefile.in, debug_cmds.ct, htree.c: Add new file htree.c, which
294                 implements the three new commands, htree_dump, dx_hash,
295                 and dirsearch.
296
297 2002-02-24  Theodore Tso  <tytso@mit.edu>
298
299         * Makefile.in (install): Remove any compressed man pages before
300                 installing the man pages.
301
302 2002-02-03  Theodore Tso  <tytso@thunk.org>
303
304         * Release of E2fsprogs 1.26
305
306 2002-01-03  Theodore Tso  <tytso@mit.edu>
307
308         * lsdel.c (do_lsdel): New optional argument which allows the user
309                 to only see the most recently deleted files.
310
311         * debugfs.c (do_undel, do_testb, do_freeb, do_setb, do_ffb): Add
312                 new command, undelete, which automates undeleting a
313                 deleted inode and linking it back to a directory.  Add a
314                 count argument to the testb, freeb, setb, and ffb commands.
315
316         * ls.c (list_dir_proc, do_list_dir): Add support for -d option
317                 which lists deleted directory entries.
318
319         * debug_cmds.ct: Add new command, undelete.
320
321         * dump.c, icheck.c, logdump.c, ls.c, lsdel.c, setsuper.c,
322                 debugfs.c: Use new utility functions which factor out
323                 commonly used code.
324
325         * util.c (debugfs_read_inode, debugfs_write_inode,
326                 common_block_args_process, common_inode_args_process,
327                 common_args_process, strtoblk, parse_ulong): New
328                 functions which factor out commonly used code into
329                 subroutines for ease of maintenance and to make the
330                 executable size smaller.
331
332 2001-12-23  Theodore Tso  <tytso@mit.edu>
333
334         * Makefile.in, jfs_user.h: Move linux/jbd.h to
335                 ext2fs/kernel-jbd.h, to avoid using the system header
336                 file version of hbd.h when using diet glibc (since it
337                 forcibly adds /usr/include to the beginning of the
338                 include search path.)
339
340 2001-12-22  Theodore Tso  <tytso@mit.edu>
341
342         * debugfs.c (kill_file_by_inode, release_blocks_proc): Update the
343                 group descriptor free block and inode counts when deleting
344                 or killing a file.
345
346 2001-12-16  Theodore Tso  <tytso@mit.edu>
347
348         * setsuper.c (print_possible_fields), 
349                 logdump.c (dump_journal): Fix gcc -Wall nits
350
351         * Makefile.in, jfs_user.h: linux/jfs.h has been renamed to
352                 linux/jbd.h
353
354 2001-12-02  Theodore Tso  <tytso@mit.edu>
355
356         * util.c (close_pager): Use pclose() instead of fclose() when
357                 closing the pager stream.
358
359 2001-11-30  Theodore Tso  <tytso@mit.edu>
360
361         * debugfs.c (finish_range, dump_blocks): Fixed bug in Andreas's >
362                 2GB support changes: you need to use %lld when printf'ing
363                 an long long variable.
364
365 2001-11-24  Theodore Tso  <tytso@mit.edu>
366
367         * debugfs.8.in: Update manual page to document the set_super_value
368                 and logdump commands, and move the "specifying files"
369                 section closer to the beginning of the man page so people
370                 won't miss it.
371
372         * setsuper.c (print_possible_fields): "set_super_value -l" now
373                 prints out the list of valid superblock fields which the
374                 ssv command can set.
375
376 2001-09-20  Theodore Tso  <tytso@thunk.org>
377
378         * Release of E2fsprogs 1.25
379
380 2001-09-02  Theodore Tso  <tytso@thunk.org>
381
382         * Release of E2fsprogs 1.24a
383
384 2001-08-30  Theodore Tso  <tytso@thunk.org>
385
386         * Release of E2fsprogs 1.24
387
388 2001-08-27  Theodore Tso  <tytso@valinux.com>
389
390         * debugfs.c (main): Remove EXT2FS_VERSION from the version
391                 display, since it only confuses people.
392
393 2001-08-15  Theodore Tso  <tytso@valinux.com>
394
395         * Release of E2fsprogs 1.23
396
397 2001-08-12  Theodore Tso  <tytso@valinux.com>
398
399         * logdump.c (do_logdump, dump_journal): Add support for dumping
400                 external journals.
401
402 2001-06-23  Theodore Tso  <tytso@valinux.com>
403
404         * Release of E2fsprogs 1.22
405
406 2001-06-15  Theodore Tso  <tytso@valinux.com>
407
408         * Release of E2fsprogs 1.21
409
410 2001-06-13  Theodore Tso  <tytso@valinux.com>
411
412         * setsuper.c: Add s_lastcheck field to the fields which can be
413                 modified using set_super_value.  (Suggested by Andreas
414                 Dilger)
415
416 2001-06-03  Theodore Tso  <tytso@valinux.com>
417
418         * debugfs.c (copy_file): Fixed signed vs unsigned bug which causes
419                 read errors to not be noticed.
420
421 2001-06-01  Theodore Tso  <tytso@valinux.com>
422
423         * Makefile.in: Move include/asm/types.h.in to 
424                 lib/ext2fs/ext2_types.h.in.
425
426         * debugfs.c, debugfs.h, logdump.c: Fix various gcc -Wall nitpicks.
427
428         * logdump.c (read_journal_block): Replace pread with lseek/read
429                 combination.
430
431 2001-05-25  Theodore Tso  <tytso@valinux.com>
432
433         * Release of E2fsprogs 1.20
434
435 2001-05-14  Theodore Tso  <tytso@valinux.com>
436
437         * debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
438
439 2001-05-12  Theodore Tso  <tytso@valinux.com>
440
441         * debugfs.c (print_features): Use fputs instead of printf to
442                 output using the passed-in FILE *.
443
444 2001-05-09  Theodore Tso  <tytso@valinux.com>
445
446         * debugfs.c (do_write, do_mknod): Set the file type information
447                 when creating the inode.
448
449 2001-05-03  Theodore Tso  <tytso@valinux.com>
450
451         * debugfs.c (do_open_filesys, main): Add -i option which will
452                 allow debugfs to examine ext2 image files.
453
454 2001-03-29  Theodore Tso  <tytso@valinux.com>
455
456         * debugfs.c (dump_blocks, dump_inode, internal_dump_inode): Add
457                 internal_dump_inode() interface for the logdump command.
458
459         * logdump.c: Imported code from Stephen Tweedie to dump the ext3
460                 journal.
461
462 2001-03-18  Theodore Tso  <tytso@valinux.com>
463
464         * debugfs.c (do_write, do_mknod): Remove extra (useless) call to
465                 ext2fs_write_inode.
466
467 2001-01-12  Theodore Ts'o  <tytso@valinux.com>
468
469         * setsuper.c: Cleaned up some random whitespace problems.
470
471         * debugfs.h,  debugfs.c  (do_show_super_stats): Use  full words
472                 instead of pluralism hack  to make I18N conversion easier.
473                 Clean up gcc -Wall complaints.
474
475 2001-01-11    <tytso@snap.thunk.org>
476
477         * debugfs.c, debugfs.h, dump.c, icheck.c, ls.c, lsdel.c, ncheck.c,
478                 setsuper.c, util.c: Change ino_t to ext2_ino_t.  Fix a few
479                 minor gcc-wall complaints while we're at it.
480
481 2001-01-01    <tytso@snap.thunk.org>
482
483         * debugfs.c Replace use of struct ext2fs_sb with struct
484                 ext2_super_block.
485
486 2000-12-30    <tytso@snap.thunk.org>
487
488         * dump.c (fix_perms): Fix bug for systems which don't have fchown;
489                 was incorrectly using chmod instead of chown.
490
491         * setsuper.c (find_field): Strip the s_prefix if given for ssv
492                 fields.  Remove hard-coded s_ from inode_size
493                 field.  (Suggested by Andreas Dilger)
494
495         * debugfs.c (do_modify_inode): Add the ability to set the inode
496                 generation number.  (Suggested by Andreas Dilger)
497
498 2000-08-23    <tytso@valinux.com>
499
500         * util.c (string_to_inode): Use strtoul instead of atoi, so that
501                 hex inode numbers will be accepted.
502
503 2000-08-19    <tytso@valinux.com>
504
505         * util.c (open_pager): Set SIGPIPE to be ignored, so that quitting
506                 out of the pager doesn't blow away debugfs.
507
508 2000-08-14    <tytso@valinux.com>
509
510         * debugfs.c (do_show_super_stats): Use list_super2() instead of
511                 using explicit printf statements.  (We get a more complete
512                 printout this way.)
513
514         * util.c (open_pager): If the PAGER environment variable is not
515                 set, default to using "more".
516
517         * setsuper.c: New function which implements the set_super_value
518                 command.  Allows the user to set arbitrary superblock
519                 fields.
520
521         * debugfs.c (dump_inode): Cap the length when printing a fast
522                 symbolic link to inode.i_size.
523                 (list_blocks_proc): Print block ranges (4510-4533) to make
524                 the stat output easier to read.
525
526 2000-06-27  Andreas Dilger <adilger@turbolabs.com>
527
528         * debugfs.c (list_blocks_proc): show relative inode block numbers
529                 and/or indirect block status
530
531 2000-07-13    <tytso@valinux.com>
532
533         * Release of E2fsprogs 1.19
534
535 2000-07-05  Theodore Ts'o  <tytso@valinux.com>
536
537         * debugfs.c (dump_inode): Make the generation field be printed as
538                 an unsigned integer.
539
540 2000-07-04    <tytso@snap.thunk.org>
541
542         * Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the
543                 mk_cmds support files from the source tree.
544
545 2000-06-09    <tytso@snap.thunk.org>
546
547         * lsdel.c (do_lsdel): Handle bad bad blocks in inode table.
548
549 2000-05-27  Theodore Ts'o  <tytso@valinux.com>
550
551         * debugfs.c (do_testb, do_testi): Call check_fs_bitmaps to avoid
552                 coredumping if the bitmaps aren't loaded.
553
554         * util.c (check_fs_bitmaps): New function which checks whether or
555                 not the bitmaps are loaded.
556
557 2000-05-23  Aaron Crane  <aaronc@pobox.com>
558
559         * debugfs.8.in: Documented new behaviour.
560
561         * ls.c (ls_l_file): Fix Y2K bug -- was printing 22-May-100 for
562                 recent files.  Switched to 4-digit years.
563
564         * dump.c, debug_cmds.ct (do_rdump): Add new debugfs command
565                 "rdump", which recursively dumps a directory and its
566                 contents.
567                 (fix_perms): New function.  Break permission-fixing
568                 code out of dump_file() so it can be called by rdump
569                 code as well.
570                 (dump_file): Call fix_perms().
571
572         * debugfs.c, debug_cmds.ct (do_lcd): Add new debugfs command
573                 "lcd", which changes the cwd on the native filesystem.
574
575         * debugfs.c (open_filesystem): Extra args for superblock,
576                 blocksize, and catastrophic mode.  Changed callers.
577                 (do_open_filesys, main): Accept new -b, -s, -c options
578                 for open_filesystem.
579
580 2000-02-02  Theodore Ts'o  <tytso@valinux.com>
581
582         * debugfs.c (dump_inode): Remove #ifdef for i_version
583                 vs. i_generation since we know it will always be
584                 i_generation now.
585
586 2000-01-18  Theodore Ts'o  <tytso@valinux.com>
587
588         * debugfs.c (main): Use return instead of exit at the end of main
589                 to avoid some compiler warnings.
590
591         * Makefile.in: Since LIBUUID can sometimes include
592                 "-lsocket" we need a separate DEPLIBUUID that can be used
593                 in Makefile's dependency rules.
594
595 1999-11-19    <tytso@valinux.com>
596
597         * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
598                 the source directory.
599
600 1999-11-10    <tytso@valinux.com>
601
602         * Release of E2fsprogs 1.18
603
604 1999-11-08    <tytso@valinux.com>
605
606         * icheck.c (do_icheck): 
607         * ncheck.c (do_ncheck): If ext2fs_open_inode_scan() returns 
608                 EXT2_ET_BAD_BLOCK_IN_INODE_TABLE loop to skip over the bad
609                 blocks in the inode table.
610
611 1999-10-26    <tytso@valinux.com>
612
613         * Release of E2fsprogs 1.17
614
615 1999-10-26    <tytso@valinux.com>
616
617         * debugfs.h: Add declaration for do_features()
618
619         * debugfs.c: Add #incldue of e2p.h to fix gcc warnings.
620
621 1999-10-25    <tytso@valinux.com>
622
623         * debugfs.c (do_dirty_filesys): Make the "dirty" command clear the
624                 valid bit on the superblock.  (And with a -clean option to
625                 set the valid bit.)  Originally it was used just to set
626                 the "needs to be written" bit in the in-core version of
627                 the fs structure.
628
629 1999-10-22    <tytso@valinux.com>
630
631         * Release of E2fsprogs 1.16
632
633 1999-09-07    <tytso@rsts-11.mit.edu>
634
635         * debugfs.c, debug_cmds.ct: Add new debugfs command "feature"
636                 which allows the user to set or clear filesystme features.
637                 Add the -f (force) option to the open command.  Add the 
638                 -h (superblock header only) option to the stats command.
639
640 1999-07-30    <tytso@rsts-11.mit.edu>
641
642         * debugfs.c (dump_inode): Fix debugfs message so it is the same
643                 for when compiled under either Linux 2.2 or 2.3.  This
644                 allows for the f_swapfs regression test suite to work
645                 regardless of which OS e2fsprogs was compiled on.
646
647 1999-07-18  Theodore Ts'o  <tytso@rsts-11.mit.edu>
648
649         * Release of E2fsprogs 1.15
650
651 1999-06-23    <tytso@valinux.com>
652
653         * debugfs.c (dump_inode): Add compatibility for Linux 2.3 kernels
654                 that use i_generation instead of i_version.  Patch
655                 supplied by Jon Bright <sircus@sircus.demon.co.uk>.
656
657 1999-02-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
658
659         * icheck.c (do_icheck): Check to make sure the inode has valid
660                 blocks before iterating over that inode's blocks.
661
662 1999-01-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
663
664         * Release of E2fsprogs 1.14
665
666 1998-12-15  Theodore Ts'o  <tytso@rsts-11.mit.edu>
667
668         * Release of E2fsprogs 1.13
669
670 1998-12-03  Theodore Ts'o  <tytso@rsts-11.mit.edu>
671
672         * Makefile.in: Updated dependencies.
673
674 1998-07-31  Theodore Ts'o  <tytso@rsts-11.mit.edu>
675
676         * debugfs.c (do_stat, do_clri): Fix bug where debugfs wasn't
677                 displaying the error message if ext2fs_read_inode() failed.
678                 (do_rm): Fix similar problem for call to ext2fs_namei().
679         
680 1998-07-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
681
682         * Release of E2fsprogs 1.12
683
684 1998-06-27  Theodore Ts'o  <tytso@rsts-11.mit.edu>
685
686         * debugfs.c: Add a -V option which displays the current version.
687
688 1998-03-31  Theodore Ts'o  <tytso@rsts-11.mit.edu>
689
690         * Makefile.in: Change to use new installation directory variables
691                 convention.  Fix installdirs and uninstall rules to reflect
692                 the fact that debugfs has been installed in the root
693                 filesystem.  Fix uninstall rules to take $(DESTDIR) into
694                 account.
695
696 1998-03-29  Theodore Ts'o  <tytso@rsts-11.mit.edu>
697
698         * debugfs.h: Add declaration for do_dirty_filsys() to prevent
699                 -Wall warnings.
700
701         * debugfs.c (copy_file): 
702         * dump.c (dump_file): Fix -Wall warning caused by
703                 signed/unsigned mismatch. 
704
705 1998-03-23  Theodore Ts'o  <tytso@rsts-11.mit.edu>
706
707         * debugfs.c, ls.c, lsdel.c: Add support for large files.  (The
708                 high 32 bits share space with the i_dir_acl field.)
709
710 Sun Mar  8 22:53:04 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
711
712         * ls.c (list_dir_proc): Mask off high 8 bits from
713                 dirent->name_len.
714
715 Mon Dec  1 13:21:09 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
716
717         * Makefile.in: Install debugfs in /sbin, instead of /usr/sbin.
718
719 Sat Oct 25 18:35:30 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
720
721         * debugfs.c (copy_file), dump.c (dump_file): Change to use the new
722                 fileio primitives in libext2.
723
724 Fri Oct 24 23:47:43 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
725
726         * debugfs.c (main, do_open_filesys): 
727         * dump.c (do_dump): Make the variable which getopt returns into be
728                 an int, so that it won't lose on platforms where char is
729                 unsigned. 
730
731 Tue Oct 14 21:50:24 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
732
733         * debugfs.c (main): When printing a usage message, have main
734                 return 1 (instead of not specifying a return value, bad!)
735
736 Mon Sep 15 22:03:36 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
737
738         * debugfs.c (main): Fix declaration of main so that it returns an int.
739
740 Tue Jun 17 01:33:20 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
741
742         * Release of E2fsprogs 1.11
743
744 Thu May  8 23:05:40 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
745
746         * debugfs.8.in: Fix minor typos and grammer oops found by Bill
747                 Hawes (whawes@star.net).
748
749 Thu Apr 24 12:16:42 1997  Theodre Ts'o  <tytso@localhost.mit.edu>
750
751         * Release of E2fsprogs version 1.10
752
753 Thu Apr 17 12:23:38 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
754
755         * Release of E2fsprogs version 1.09
756
757 Fri Apr 11 18:56:26 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
758
759         * Release of E2fsprogs version 1.08
760
761 Thu Apr 10 14:36:05 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
762
763         * ls.c: New file which implements the ls command.  Added the -l
764                 option. 
765
766 Wed Mar 12 13:32:05 1997  Theodore Y. Ts'o  <tytso@mit.edu>
767
768         * Release of E2fsprogs version 1.07
769
770 Wed Jan  1 23:53:26 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
771
772         * lsdel.c (do_lsdel): Use time_to_string() instead of ctime().
773
774 Tue Oct  8 02:02:03 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
775
776         * Release of E2fsprogs version 1.06
777
778 Thu Sep 12 15:23:07 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
779
780         * Release of E2fsprogs version 1.05
781
782 Mon Sep  9 23:05:11 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
783
784         * debugfs.c (unlink_file_by_name): If unlinking a file with a
785                 directory path, correctly replace the slash with a NULL.
786                 (do_show_debugfs_params): Don't try to print the open mode
787                 if there's no filesystem opened (since that will cause a
788                 core dump).
789                 (main): Fix usage string; the -w and device elements are
790                 independently optional.
791
792 Tu Sep  3 15:09:39 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
793
794         * debugfs.c (main): Added -f option to debugfs, which takes a
795                 command file of debugfs commands and executes them.
796
797 Sat Aug 31 01:18:43 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
798
799         * debugfs.8.in: Heavily edited and improved manual page.
800
801         * dump.c (dump_file): Improve the write function for writing out
802                 the file, so that it is limited to the actual size of the
803                 file, instead of outputing the nulls following the EOF.
804                 Make sure dump_file does the right thing for files with holes.
805                 (do_dump): Add support for the -p option to the dump
806                 command, which attempts to preserve the owner and
807                 permissions field.
808
809 Fri Aug 30 14:56:59 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
810
811         * debugfs.c (main): Add -R option to debugfs, which allows it to
812                 take a single debugfs command on the command line.
813
814 Fri Aug  9 09:03:31 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
815
816         * debugfs.c (do_open_filesys): Set optind to 0 to reset getopt(),
817                 to be complete correct.
818                 (do_show_super_stats): Print OS type, volume label, last
819                 mounted directory, and UUID.
820                 (dump_inode): Print the fragment information in a
821                 filesystem independent way.
822                 (do_modify_inode): Modify the fragement information in a
823                 filesystem independent way.
824
825 Thu May 16 11:12:30 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
826
827         * Release of E2fsprogs version 1.04
828
829 Wed May 3 20:41:26 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
830
831         * debugfs.c (dump_inode): Correctly print the translator on the hurd.
832                (do_modify_inode): Modify the translator block on the hurd.
833
834 Wed Mar 27 00:33:40 1996    <tytso@rsts-11.mit.edu>
835
836         * Release of E2fsprogs version 1.03
837
838 Wed Jan 31 11:06:08 1996    <tytso@rsts-11.mit.edu>
839
840         * Release of E2fsprogs version 1.02
841
842 Fri Dec  1 22:42:31 1995    <tytso@rsts-11.mit.edu>
843
844         * Makefile.in (LIBS): Rearrange the order of the libraries to be
845                 linked, so that -lext2fs is before -lcom_err.
846
847 Thu Oct 26 12:05:06 1995    <tytso@rsts-11.mit.edu>
848
849         * Makefile.in (install): Strip programs when they are installed.
850
851 Fri Aug 18 15:09:08 1995  Theodore Y. Ts'o  <tytso@dcl>
852
853         * debugfs.c (do_find_free_block): Fix typo in code which checked
854                 to see if the usage message should be printed.
855
856 Thu Aug 17 22:55:58 1995    <tytso@rsts-11.mit.edu>
857
858         * debugfs.c (do_open_filesys): Change to always set optreset to 1,
859                 to make BSD getopt()'s happy.  Also set optind to 1, which
860                 should make more getopt()'s happy.
861
862 Fri Aug 11 08:45:01 1995  Theodore Y. Ts'o  <tytso@lurch.mit.edu>
863
864         * debugfs.c (do_find_free_block, do_find_free_inode): Fix bug in
865                 the usage handling where "ffi ?" or "ffb ?" would
866                 dereference a NULL pointer.
867
868 Fri Aug 11 14:21:07 1995  Remy Card  <card@bbj>
869
870         * debugfs.8: Updated date and version number.
871
872 Thu Aug 10 14:28:50 1995  Remy Card  <card@bbj>
873
874         * debugfs.8: Fixed a spelling error in Ted's name :-)
875
876 Mon Jun 12 19:08:25 1995  Theodore Y. Ts'o  (tytso@dcl)
877
878         * debugfs.c, ncheck.c, icheck.c, lsdel.c, dump.c: Include
879                 <errno.h> (if it exists)
880
881         * debugfs.c, dump.c, icheck.c, lsdel.c, ncheck.c: Don't include
882                 <getopt.h> if it doesn't exist.
883
884 Sun Jun 11 15:21:07 1995  Theodore Y. Ts'o  <tytso@lurch.mit.edu>
885
886         * ncheck.c (do_ncheck): Use LINUX_S_ISDIR instead of S_ISDIR
887
888         * debugfs.c: Implement the mknod and write commands (from Linus).
889
890                 Change names of modify_char, modify_short, and modify_long
891                 to be modify_u8, modify_u16, and modify_u32, respectively.
892
893 Thu Jun  8 12:29:15 1995  Miles Bader  <miles@churchy.gnu.ai.mit.edu>
894
895         * debugfs.c (dump_inode): Only print out inode frag fields if
896         HAVE_EXT2_FRAGS is defined (by configure).  Don't print out the
897         reserved field at all for  now.
898
899         * Makefile.in: Rewritten to conform to GNU coding standards and
900         support separate compilation directories.
901
902 Thu Nov 24 17:46:23 1994  Theodore Y. Ts'o  (tytso@rt-11)
903
904         * dump.c: Added two new commands, "dump" and "cat", which allow
905                 the user to dump the contents of an inode to a file or to
906                 stdout, respectively.
907
908