Subject: Re: force fsck at boot time
To: Panagiotis G. Labropoulos <plabrop@phys.uoa.gr>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-help
Date: 06/12/2003 18:45:17
--WK3l2KTTmXPVedZ6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
hi,
On Thu, Jun 12, 2003 at 02:15:31PM +0300, Panagiotis G. Labropoulos wrote:
>
> How do I force checking of file systems on boot time when they are
> marked clean?
edit your /etc/rc.d/fsck and add -f flag to fsck, "fsck -p" -> "fsck -fp"
from fsck(8):
-f Force checking of file systems, even when they are marked clean
(for file systems that support this), or when they are mounted
read-write.
i am not sure i understand why would you want to do this, though.
regards,
--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org> --
-- <salo@silcnet.org> --
--WK3l2KTTmXPVedZ6
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (NetBSD)
iD8DBQE+6K4diwjDDlS8cmMRAoc6AKCUuL1GywGfFMXwEcIpZGr/GqhPSACgj6/R
FvZLcyuSSUkS7qkuh+qG2i8=
=xWmx
-----END PGP SIGNATURE-----
--WK3l2KTTmXPVedZ6--