Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Dec 2003 15:26:45 -0800 (PST)
From:      Doug Barton <DougB@FreeBSD.org>
To:        David Gilbert <dgilbert@dclg.ca>
Cc:        "current@freebsd.org" <current@freebsd.org>
Subject:   Re: 5.1-R-p11 unable to "sync disks" when shutting down
Message-ID:  <20031231152453.G1441@bo.vpnaa.bet>
In-Reply-To: <16371.20373.212950.533985@canoe.dclg.ca>
References:  <20031229164130.GA797@pp.htv.fi> <16370.20382.81302.449649@canoe.dclg.ca> <16371.20373.212950.533985@canoe.dclg.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 31 Dec 2003, David Gilbert wrote:

> I'd like to see:
>
> crash -> boot -> defer for bgfsck (but mark disk as having tried)
>       -> multiuser -> bgfsck -> crash -> boot -> fsck in foreground
>       -> multiuser
>
> ... but I believe this would require fsck support unless the startup
> scripts were writing to the filesystem to indicate no bgfsck.

What you propose would also be really complicated for other reasons
related to the way rcNG works. I would suggest that your best bet is
always:

crash -> boot single user -> fsck -y -> multiuser

That's pretty much guaranteed to work.

HTH,

Doug

-- 

    This .signature sanitized for your protection



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031231152453.G1441>