forcefsck on booting stage

Marc Lörner marc.loerner at hob.de
Mon Jul 28 13:09:07 UTC 2008


On Monday 28 July 2008 15:00, Jeremy Chadwick wrote:
> On Mon, Jul 28, 2008 at 04:11:49PM +0400, sam wrote:
> > Hello,
> >
> > How to make 'fsck -f' on booting stage of remote system?
>
> I believe by setting background_fsck="no" in /etc/rc.conf?  That's the
> only way I know of, besides booting single user and doing it manually.

Doesn't this only disable background fsck support?
By creating file "/forcefsck" you can force an fsck at next reboot, because 
some scripts test for existence.

HTH,
Marc Loerner


More information about the freebsd-hackers mailing list