1 Thu Apr 10 13:51:16 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
3 * pass1b.c (clone_file_block): If we clone a directory, we need to
4 update the dblist entry so that we check (and correct) the
7 Sun Apr 6 09:13:12 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
9 * pass1.c (process_block): Don't clear blocks references to
10 filesystem metadata; let pass 1B handle this case.
12 * problem.c, problem.h: Add new problem, PR_1B_SHARE_METADATA.
14 * pass1b.c (pass1d): Deal with a block which is shared with
17 * e2fsck.h: Make block_illegal_map be a global variable
19 Sat Apr 5 11:51:58 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
21 * e2fsck.c, pass1.c (mark_table_blocks): Support the sparse_super
23 (get_backup_sb): New function which attempts to obtain the
24 correct backup superblock (if possible).
26 Fri Apr 4 10:46:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
28 * e2fsck.c (main): Check the version of the library, and warn if
29 the library is out of date; this happens generally due to
30 users who manually install e2fsprogs.
32 * pass1.c (pass1_get_blocks): If the passed in inode number for
33 get_blocks isn't what we're expecting pass back
34 EXT2_ET_CALLBACK_NOT_HANDLED.
36 Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
38 * Release of E2fsprogs version 1.07
40 Tue Mar 11 10:31:47 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
42 * icount.c: New file which implements an inode count abstraction.
43 This significantly reduces amount of memory needed to
44 check really large filesystems.
46 * pass1.c, pass2.c, pass3.c, pass4.c: Modified to use the icount
49 Fri Mar 7 08:28:55 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
51 * dirinfo.c (dir_info_iter): New function which allows iteration
52 over the directories in the dir_info map.
54 * pass3.c (pass3, check_directory): Speed up pass 3 by iterating
55 over all directories in the dir_info structure, instead of
56 iterating all inodes looking for directories, and then
57 looking up the directories using get_dir_info().
59 Sat Feb 1 11:33:43 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
61 * pass1.c (pass1, process_block):
62 * pass2.c (pass2): Use the ext2_dblist abstraction instead of
63 manual code to manage the directory block list information.
65 * pass1.c (check_blocks), pass1b.c (pass1b), pass2.c
66 (deallocate_inode): Call the ext2 library routine
67 ext2_inode_has_valid_blocks() instead of
68 inode_has_valid_blocks().
70 * swapfs.c (swap_inodes): Add check so that we don't try to call
71 swap_inode_blocks unless the inode has valid blocks.
72 (Otherwise a long fast symlink might cause
73 swap_inode_blocks to erroneously get called.)
75 Wed Jan 22 14:42:53 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
77 * problem.c, problem.h: Added entries for PR_2_DOT_NULL_TERM and
78 PR_2_DOT_DOT_NULL_TERM.
80 * pass2.c (check_dot, check_dot_dot): Make sure the new . and
81 .. entries are null-terminated, since the 2.0 kernel
82 requires this (for no good reason).
84 Mon Jan 20 20:05:11 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
86 * pass1.c (pass1): Set the EXT2_SF_SKIP_MISSING_ITABLE flag so
87 that we can recover from missing inode tables.
89 * dirinfo.c (get_dir_info): If there are no directories in the
90 dir_info abstraction, don't core dump (because dir_info is
93 * e2fsck.c (main): Don't try using the backup superblocks if there
95 (check_super_block): If there are illegal inode table or
96 bitmaps, set the filesystem as being in error.
98 Wed Jan 15 11:32:01 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
100 * pass2.c (check_dir_block): Added check to make sure that rec_len
101 is a a multiple of 4 (so that the directory entries are
104 Sat Dec 28 12:16:32 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
106 * Makefile.in (uninstall): Uninstall all programs in the PROGS
108 (PROGS): Don't build and install the extend program by
112 Sat Dec 7 16:41:02 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
114 * pass1.c (process_inodes): Make sure the stashed_ino variable is
115 saved and restored as well.
116 (pass1): For fast sym links, skip the check_blocks
117 processing step altogether.
119 Mon Dec 2 09:28:24 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
121 * problem.c, message.c: New files, to completely refurbish how
122 filesystem problems are reported to the user. The
123 diagnostic messages are now encoded out in an easily
124 customizable, extensible format. The messages printed out
125 in preen mode are all on one line, and contain the device
128 Fri Nov 29 20:26:08 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
130 * swapfs.c (swap_inodes): When swapping a filesystem, ignore
133 * pass1.c (pass1): Ignore missing inode table errors during the
134 scan, and just skip past those inodes.
136 * pass3.c (check_root): Remove root_ino argument, and assume that
137 the root inode must be EXT2_ROOT_INO. Move responsibility
138 of setting the parent of the root inode in the directory
139 inode structure to pass2().
141 * pass2.c (check_dir_block): Don't allow links to the root
144 * dirinfo.c (add_dir_info): Remove last argument to add_dir_info,
145 since the inode is no longer used.
147 Tue Oct 15 00:06:49 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
149 * e2fsck.c (main): If the superblock magic number is wrong, or the
150 block group fails a sanity check, then automatically
151 restart trying to use the backup superblocks.
153 * pass1.c (mark_table_blocks): Make the inode tables ahead of
154 everything else; in the case where a bitmap block overlays
155 the inode table, the inode table should take precedence.
157 * pass2.c (maybe_clear_entry): Make the deleted/unused error
158 message fit on one line, since the error can happen during
159 a preen pass. (We eventually need to revamp the whole
160 e2fsck error reporting and prompting system, but that's a
161 job for another day.)
163 Mon Oct 14 22:29:49 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
165 * e2fsck.c (main): Read in the list badblocks into fs->badblocks
166 for the benefit of the inode scan functions.
168 * pass1.c (pass1): If ext2fs_get_next_inode() returns an error
169 indicating that an inode is in a bad block, mark that
170 inode as being used, as well as in the inode "bb" map.
172 * pass2.c (maybe_clear_entry): New function which generalizes the
173 error cases when a directory entry needs to be cleared.
174 (check_dir_block): If an inode is in the "bb" map, offer
175 to clear the directory entry, since the inode is in a bad
178 * pass4.c (pass4): If an inode is marked as used, but is is marked
179 in the "bb" map, don't process it as a disconnected inode.
181 Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
183 * Release of E2fsprogs version 1.06
185 Mon Oct 7 00:45:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
187 * e2fsck.c (main): Print out the version number of the shared
188 library when using the -V option.
190 * swapfs.c (swap_filesys): Change EXT2_SWAP to EXT2_FLAG_SWAP for
193 * e2fsck.c (main): By setting EXT2_FLAG_MASTER_SB_ONLY, only write
194 out the backup superblocks when we know we have a valid
197 Tue Oct 1 22:00:29 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
199 * util.c (preenhalt): Make it explicit on preenhalt that running
200 e2fsck manually means without the -a or -p flag.
202 Fri Sep 27 14:41:08 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
204 * pass1.c (pass1): Add support for the EXT2_BOOT_LOADER inode.
205 (Linux/FT actually sets the mode bits, so we have to
206 handle it specially.)
208 * e2fsck.c (check_if_skip): Print a message if the filesystem is
209 just dirty, so that the user knows that it's about to be
210 checked (since this will take a while).
212 Mon Sep 16 17:00:01 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
214 * pass4.c: If a disconnected inode is zero-length, prompt to
215 delete it instead of connecting it to lost+found.
217 Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
219 * Release of E2fsprogs version 1.05
221 Fri Aug 30 20:24:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
223 * pass4.c (pass4): If the user refuses to connect an unattached
224 inode to lost+found, don't try to set i_links_count. This
225 is bad, since if the user says yes, the inode will be
226 marked as unused, which is not necessarily the right
227 thing, especially since the rest of the cleanup doesn't
230 * pass2.c (deallocate_inode): Set inode_link_info[ino] when
231 dellocating an inode. (Not strictly necessary, but...)
233 * pass4.c (pass4): Add "bonehead" explanation to the "programming
236 Tue Aug 27 11:26:32 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
238 * e2fsck.c (PRS,main): Added new options -s and -S. -s will
239 byte-swap the filesystem so that it is normalized. -S
240 will byte-swap the filesystem regardless of its current
243 * swapfs.c: New file, which will byte-swap a filesystem.
245 Tue Aug 20 09:41:37 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
247 * pass1.c (pass1): Change handling on files with non-zero dtime
248 and non-zero i_link_count; before we treated them as
249 deleted file per botched ext2 0.3c kernel behavior. We
250 now clear dtime instead.
252 Mon Aug 19 23:33:57 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
254 * e2fsck.c (main): If e2fsck sets the clean bit, even if
255 nothing else is changed, make sure FSCK_NONDESTRUCT is
256 set (since after all having the filesystem set to
257 invalid is an error. :-)
259 Fri Aug 9 10:25:13 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
261 * pass1.c (process_block): Make sure that meta data doesn't get
262 accidentally set in the dir_blocks array (which could
263 happen in some error condtions).
266 * pass2.c (process_bad_inode): Check for fragments in a
267 OS-independent fashion.
269 Thu Aug 8 15:20:54 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
271 * e2fsck.c (check_if_skip): Close the filesystem when skipping the
272 cleanup for the filesystem.
274 Mon Jul 22 22:03:28 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
276 * e2fsck.c: Improve corrupt_msg, so that it's less confusing.
278 Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
280 * Release of E2fsprogs version 1.04
282 Wed May 15 21:41:29 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
284 * e2fsck.c (relocate_hint): Issue a hint that the user may wish to
285 try "e2fsck -b 8193" before allowing e2fsck to relocate
288 * Makefile.in (e2fsck): Build e2fsck statically or dynamically
289 depending on the option to configure. Added targets for
290 e2fsck.static and e2fsck.shared for people who want to
291 build a static or shared variant manually.
293 Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu>
295 * Release of E2fsprogs version 1.03
297 Tue Mar 26 12:03:42 1996 <tytso@rsts-11.mit.edu>
299 * e2fsck.c (show_stats): Don't use floating point to display
300 percentage of non-contiguous files, as different libc
301 handle result truncation differently, and this causes the
302 test suite to bomb out depending on which libc you are
305 * util.c (allocate_memory): Fix error message to omit extraneous
308 Tue Mar 5 03:50:40 1996 <tytso@rsts-11.mit.edu>
311 * pass2.c (check_dir_block):
312 * pass1.c (pass1): Add support for dynamic first inode revision.
314 Wed Feb 14 16:27:30 1996 <tytso@rsts-11.mit.edu>
316 * pass3.c (check_root): Fix spelling typo
318 Mon Feb 5 22:30:30 1996 <tytso@rsts-11.mit.edu>
320 * e2fsck.c (check_super_block): If the superblock fails certain
321 internal consistency checks, exit with a fatal error after
322 printing the "superblock is corrupt message".
324 Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
326 * Release of E2fsprogs version 1.02
328 Wed Dec 15 21:24:26 1996 <tytso@rsts-11.mit.edu>
330 * pass1.c (process_block): Check to see if a file is "fragmented".
331 i.e., non-contiguous. Note that any file which is larger
332 than the block group is guaranteed to be non-contiguous.
333 We may want to use a different hueristic for deciding
334 whether or not a file is "fragmented".
336 * e2fsck.c (show_stats): Print statistics of how many
337 non-contiguous files are on the system.
339 Fri Dec 15 19:19:47 1995 <tytso@rsts-11.mit.edu>
341 * badblocks.c (read_bad_blocks_file, test_disk): Fold
342 functionality of test_disk() (which runs badblocks) into
343 read_bad_blocks_file(); test_disk() now calls
344 read_bad_blocks_file() with a NULL bad_blocks_file
347 Mon Nov 20 18:30:10 1995 <tytso@rsts-11.mit.edu>
349 * e2fsck.c (check_mount): Use #if defined(__linux__) instead of
350 #if defined(linux). The latter won't work if we're
353 Mon Oct 30 20:31:17 1995 <tytso@rsts-11.mit.edu>
355 * e2fsck.c (check_mount): For Linux systems, the check to see if
356 the root is mounted read-only has to be done for all
357 filesystems, not just for the root filesystem, due to the
358 way that some /etc/rc scripts are set up.
360 Thu Oct 26 12:05:30 1995 <tytso@rsts-11.mit.edu>
362 * Makefile.in (install): Strip programs when they are installed.
363 (e2fsck): Build e2fsck statically.
365 Wed Oct 25 21:18:16 1995 <tytso@rsts-11.mit.edu>
367 * util.c (preenhalt): Preenhalt now takes an argument, which is an
368 ext2fs_filsys; this allows it to set the EXT2_ERROR_FS
369 flag in the superblock in cases where preenhalt is called.
370 All calls to preenhalt() were changed to either
371 preenhalt(fs) or preenhalt(NULL) in a few cases where the
372 fs pointer was not available. (Most notable, for block
375 Mon Sep 4 21:41:03 1995 Remy Card <card@bbj>
378 util.c: Include <sys/time.h> before <sys/resource.h>. BSD needs it.
380 Mon Sep 4 10:14:49 1995 <tytso@rsts-11.mit.edu>
382 * e2fsck.c (show_stats): Show statistics about how many inodes
383 have indirect, doubly indirect, and triply indirect
384 blocks. Allow up to 8 digits for statistics, instead of
385 merely 6, so things look pretty for large filesystems.
387 * pass1.c (pass1): Keep statistics about indirect, doubly
388 indirect, and triply indirect blocks.
390 * pass1.c (unwind_pass1): Clear the above statistics when unwinding
393 Fri Aug 18 15:17:10 1995 Theodore Y. Ts'o <tytso@dcl>
395 * util.c, ehandler.c: Move #include of <sys/resource.h> after
396 #include of "e2fsck.h", since sys/resource.h may depend on
397 sys/time.h, which is #included in e2fsck.h.
399 Thu Aug 17 22:33:37 1995 <tytso@rsts-11.mit.edu>
401 * e2fsck.c (check_mount): Use the new ext2fs_check_if_mounted()
402 function to determine if the device is mounted.
404 * e2fsck.c (main): Add better error messages if ext2fs_open()
407 Wed Aug 16 16:25:02 1995 <tytso@rsts-11.mit.edu>
409 * pass1.c (check_blocks): If we're clearing a directory, clear
410 pb.is_dir so we don't do the following check of making
411 sure the directory size matches; this is pointless, since
412 we've already cleared the inode.
414 Fri Aug 11 09:08:54 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
416 * pass1.c (bad_primary_block): New function, called by
417 process_bad_block, which explains the facts of life to the
418 user when a block in the primary superblock or primary
419 group descriptors is bad.
421 * pass2.c (check_dot): Handle the case where the first directory
422 entry is used, but not ".".
424 * pass2.c (check_dotdot): Handle the case where the second directory
425 entry is used, but is not "..".
427 Thu Aug 10 10:05:10 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
429 * e2fsck.c (check_super_block): Get the size of the physical
430 device and if it is smaller than the reported size of the
431 filesystem, report an error.
433 Sat Aug 12 03:39:18 1995 Remy Card <card@bbj>
435 * e2fsck.c (check_if_skip): Print the number of allocated files and
436 blocks on clean filesystems.
438 Fri Aug 11 14:15:36 1995 Remy Card <card@bbj>
440 * e2fsck.8: Updated date and version number.
442 Thu Aug 10 14:26:01 1995 Remy Card <card@bbj>
444 * pass1.c (check_blocks): Check that directory size matches *exactly*
445 the count of allocated blocks.
447 Wed Aug 9 21:21:24 1995 Theodore Y. Ts'o <tytso@dcl>
449 * pass1b.c (pass1d): Free the shared[] array when we're done with
450 it to avoid a memory leak.
452 * pass1.c (unwind_pass1): Use ext2fs_free_block_bitmap to free the
455 * pass2.c (process_bad_inode): When clearing the inode, make sure
456 the pathname is freed, to prevent a memory leak.
458 * pass5.c (check_inode_bitmaps): Free free_array and dir_array
459 when we're finished with them.
460 (check_block_bitmaps): Free free_array when we're finished
463 * Makefile.in (e2fsck, flushb): Use $(LD) instead of $(CC) when
464 linking the executable.
466 * pass2.c (process_bad_inode): Even on OS's that don't support the
467 fragment fields, make sure the Linux equivalent fields are
468 set to zero. If an OS wants to reuse these fields, which
469 is probably a bad idea (although we may get desperate in
470 the future) this code will have to be changed.
472 * pass1.c (dir_block_cmp): If the block numbers are equal, compare
473 on the inode field, and then blockcnt field. This is just
474 to keep the ordering of dir_blocks the same on all
475 platforms when there are more than on missing directory
476 blocks, which are indicated directories with holes, which
477 are indicated with the block number being set to zero.
479 Sun Aug 6 15:40:58 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
481 * pass1.c (check_blocks, process_block): check_blocks() modified
482 to call the ext2fs_block_iterate() with BLOCK_FLAG_HOLE if
483 the inode is a directory. process_block() now checks to
484 see if a directory has a "hole", or missing block. If so,
485 this fact is recorded in the directory block list so that
486 the problem can be resolved in pass #2.
488 * pass2.c (allocate_dir_block): Added allocate_dir_block() to
489 allocate new blocks for directories with "holes". Called
490 out of check_dir_block if a block in the directory block
493 * pass3.c (get_lost_and_found): Move location of free(block) to
494 prevent possible memory leak.
496 Sat Aug 5 12:42:22 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
498 * pass2.c (check_dir_block): Use a automatic, fixed-saize array
499 instead of alloca() --- alloca is not portable! Check to
500 make sure the filename is not longer than EXT2_NAME_LEN,
501 and offer to fix it by truncating it, since it should
504 * e2fsck.c (PRS): Use malloc() instead of alloca() --- alloca() is
505 not portable!! In any case putenv() in some systems must
506 take a static character array or malloc()'ed memory;
507 passing memory allocated using alloca() to putenv() is not
510 * pass2.c (check_dot, check_dotdot): Use malloc() instead of
511 alloca() --- alloca() is not portable!!!
513 Tue Jul 18 20:04:02 1995 <tytso@rsx-11.mit.edu>
516 * pass3.c (check_root, get_lost_and_found):
517 * pass2.c (check_dir_block): Use ext2fs_{read,write}_dir_block
518 to read/write the directory block.
520 Mon Jul 17 04:00:56 1995 <tytso@rsx-11.mit.edu>
522 * util.c (ask_yn): Apply patch supplied by Peter A. Zaitcev to
523 make sure VMIN and VTIME are set correct.
525 Fri Jul 14 19:26:29 1995 <tytso@rsx-11.mit.edu>
527 * pass1.c (mark_block_used): Change to be an inline function.
528 Assume that the block validity checks are already done,
529 and use the fast variant of the bitmap functions.
531 Thu Jul 13 08:10:55 1995 <tytso@rsx-11.mit.edu>
533 * pass5.c (check_block_bitmaps, check_inode_bitmaps): Check the
534 bounds of the bitmaps in advance, and then use the fast
535 variant of e2fs_test_{block,inode}_bitmap.
537 * pass1.c (mark_block_used): Use ext2_fast_mark_block_bitmap since
538 the bounds checking has already been done earlier.
540 Wed Jul 12 02:22:46 1995 <tytso@rsx-11.mit.edu>
542 * pass1.c (pass1): Allocate and free the block_illegal_map, which
543 is used for shortcut processing in process_block.
544 (mark_table_blocks): Initialize block_illegal_map with the
546 (describe_illegal_block): New helper function that
547 describes why a block is illegal.
548 (process_block): Use block_illegal_map as a shortcut
549 to determine whether a block is bad. Use
550 describe_illegal_block to print out why the block is illegal.
552 Mon Jun 12 19:11:06 1995 Theodore Y. Ts'o (tytso@dcl)
554 * flushb.c: Don't include <linux/fs.h> if it doesn't exist.
556 * scantest.c: Don't include <linux/fs.h>, <getopt.h>, or
557 <mntent.h> if they don't exist. (Mostly so that "make
560 * pass1.c, pass1b.c, pass3.c, badblocks.c: Include <errno.h> (if
563 * e2fsck.c, scantest.c: Don't include <getopt.h> if it doesn't
566 Mon Jun 12 08:37:49 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
568 * pass2.c (process_bad_inode, check_for_zero_long,
569 check_for_zero_char): Change long to u32, and char to u8.
571 Sun Jun 11 15:05:57 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
573 * util.c (inode_has_valid_blocks):
574 * pass2.c (process_bad_inode):
575 * pass1.c (pass1, check_blocks, pass1_check_directory): Use
576 LINUX_S_IS* instead of S_IS*.
578 * e2fsck.h: Don't #include <sys/stat.h>
580 * flushb.c (main): Add #ifdef BLKFLSBUF around ioctl. (Although
581 this program is pretty much useless if BLKFLSBUF isn't
584 * e2fsck.c, badblocks.c: Add #include <errno.h>, since errno is
587 Thu Jun 8 12:31:19 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
589 * pass2.c (check_dot, check_dotdot, check_dir_block): Use alloca
590 to allocate space for file names instead of using fixed size buffers.
591 (process_bad_inode): Only check inode frag fields if
592 HAVE_EXT2_FRAGS is defined (by configure).
593 * pass1.c (pass1): Only check the inode frag fields if
594 HAVE_EXT2_FRAGS is defined (by configure).
596 * e2fsck.c (check_mount): Only check for a mounted filesystem if
597 HAVE_MNTENT_H is defined (by configure).
598 (PRS): Use alloca to allocate the new path string, instead of
599 having a fixed size buffer (which was the wrong size anyway).
600 (PRS): Only support the -F (flush) option if the BLKFLSBUF ioctl
603 * e2fsck.h: Only include <linux/fs.h> if HAVE_LINUX_FS_H is
604 defined (by configure).
606 * Makefile.in: Rewritten to conform to GNU coding standards and
607 support separate compilation directories.
609 Thu Apr 6 15:04:36 1995 Remy Card <card@bbj.ibp.fr>
611 * pass1.c (pass1): Test the mode in reserved inodes (must be zero).
613 Sat Mar 11 13:12:16 1995 Theodore Y. Ts'o <tytso@localhost>
615 * pass1.c (unwind_pass1): Clear the file type statistics counter
616 when pass 1 needs to be restarted from scratch.
618 * pass1.c (handle_fs_bad_blocks): Fix bug where bitmap blocks were
619 being reallocated to blocks in the next block group,
620 instead of the current block grup.
622 * pass1.c (pass1, check_blocks): Set inode_link_info[ino] whenever
623 inode.i_links_count is set.
625 Tue Feb 14 01:38:04 1995 Theodore Y. Ts'o (tytso@rt-11)
627 * pass1.c (process_block): Add checks for if the block is
628 trepassing on a superblock or group descriptor table.
630 Sat Dec 31 00:52:11 1994 <tytso@rsx-11.mit.edu>
632 * main.c (corrupt_msg): Extend the message which is printed out
633 when the superblock is corrupt, to include the suggestion
634 of using the -b option to specify an alternate superblock.
636 Thu Nov 24 09:29:58 1994 Theodore Y. Ts'o (tytso@rt-11)
638 * badblocks.c (read_bad_blocks_file): If we are adding or
639 replacing bad blocks in the bad blocks inode, sanity check
640 the bad block inode first, and clear out any illegal blocks.
642 * pass2.c (check_name): Don't bomb out if the attempt to get the
643 pathname of the containing directory returns an error; the
644 directory may be too badly damaged to expect that
645 ext2fs_get_pathname will always succeed. Use "???" if the
646 pathname can't be obtained (it's only for a printf to the
649 The name of the containing directory and the bad filename
650 were incorrectly interchanged in the user message. Fixed.
652 * pass2.c (check_name, check_dir_block): Use a common static
653 string for the unknown pathname.
655 Mon Nov 7 22:30:54 1994 Remy Card <card@bbj>
657 * Fixed lots of printf formats to make sure that block and inode
658 numbers are printed as unsigned integers.
660 Mon Oct 24 14:10:46 1994 (tytso@rsx-11)
662 * pass5.c (check_block_end): Fix calculation of how the last block
663 in the block bitmap should be calculated.
665 Wed Sep 7 10:01:13 1994 (tytso@rsx-11)
667 * pass1b.c (pass1_dupblocks): Fix declaration of dup_inode_map to
668 be an ext2fs_inode_bitmap, and free it properly.
671 * e2fsck.c (main): Folded in Remy Card's changes to add a revision
672 level to the superblock.
674 Wed Aug 17 22:00:20 1994 Remy Card (card@bbj)
676 * e2fsck.c (usage): Fixed bogus usage message.
678 Wed Aug 17 11:21:45 1994 Theodore Y. Ts'o (tytso@rt-11)
680 * pass1.c (process_bad_block): Fixed bug so that blocks in the
681 backup superblocks and group descriptors are handled gracefully.