dsl
e69ce3e4bf
Add a -q (quiet) option to print nothing for clean filesystems.
...
Support in fsck_ffs and stub in fsck_xxx.
Push a few more messages through pwarn() instead of printf() to ensure
disk name is shown.
2003-10-20 12:04:38 +00:00
agc
276d62f603
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22308, verified by myself.
2003-08-07 10:04:22 +00:00
perseant
f8b4df4569
Fix some accounting problems when preening, since preening skips phases
...
1-4 entirely. Make preen run phase 0, since the Ifile is so important
and the test so quick.
2003-03-29 00:09:43 +00:00
perseant
ba10361ab2
Add working writing ability to fsck_lfs, including roll-forward, based on
...
a partial-segment writer ported from the kernel.
2003-03-28 08:09:52 +00:00
mrg
cf9ff87a3a
make this build on alpha after daddr_t->64bit
2003-01-28 05:17:12 +00:00
fvdl
a3ff3a3038
Bump daddr_t to 64 bits. Replace it with int32_t in all places where
...
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
2003-01-24 21:55:02 +00:00
ad
e3af9d1d6b
getopt() returns -1 on error, not EOF.
2001-08-18 17:10:04 +00:00
cgd
8a986b2e96
convert to use getprogname()
2001-02-19 22:48:57 +00:00
christos
aceee3f06d
fix redundant decls
2001-02-04 21:52:02 +00:00
perseant
5975446609
Add "-f" flag to match fsck(8) manual page. This flag currently has no
...
effect. Fixes PR #11129 .
2000-11-11 22:26:10 +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
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
simonb
48a5c3efa9
Don't declare 'extern opt*' getopt variables.
2000-04-14 05:58:01 +00:00
kleink
9d343b25ca
RCS Id police.
1999-07-03 19:55:03 +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