joff
42ac80ad6d
Fixed blockmap handling to properly use disk blocks rather than fragments.
...
Fixes an issue with fsck_lfs not detecting all duplicate blocks that may
exist in a corrupted filesystem.
2001-01-06 23:08:24 +00:00
lukem
f7650338ca
use %ll_ instead of the less standard %q_
2001-01-05 02:02:57 +00:00
perseant
75453f286d
Add "-i" flag to specify the location of the index file inode, to
...
examine alternate checkpoints. Regularize usage of maxino. Remove olf
debugging cruft.
2000-06-14 18:43:57 +00:00
perseant
9e80654bda
Check for cycles in the inode free list, and for free inodes not on the free
...
list.
2000-05-30 04:33:14 +00:00
perseant
1d2596714b
Convert to NetBSD source code style
2000-05-23 01:48:52 +00:00
perseant
e6c7065240
fsck_lfs can now write to the filesystem, allowing it to correct most
...
(though still not all) errors in a damaged lfs. Segment byte accounting
is corrected in pass 5. "fsck_lfs -p" will do a partial roll-forward,
verifying the checkpoint from the newer superblock. fscknames[] is
updated so that fsck knows about fsck_lfs.
2000-05-16 04:55:58 +00:00
perseant
ad4e686817
Rename lfs_ifind so that it does not conflict with new kernel prototype.
...
Addresses PR #9253 .
2000-01-20 21:32:31 +00:00
kleink
9d343b25ca
RCS Id police.
1999-07-03 19:55:03 +00:00
nathanw
210c7f5748
printf format fixes for Alpha.
1999-03-24 05:32:23 +00:00
perseant
369e9cadf8
Initial checkin of fsck_lfs. This version cannot do any repair (-p flag
...
does nothing, and one of -p or -n is required) but can be useful as a
diagnostic tool.
1999-03-18 02:02:18 +00:00