From owner-cvs-all Mon Feb 5 6:26:31 2001 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id A518737B503; Mon, 5 Feb 2001 06:26:04 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id BAA27991; Tue, 6 Feb 2001 01:25:55 +1100 Date: Tue, 6 Feb 2001 01:25:35 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Peter Wemm Cc: Doug Barton , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc rc src/etc/defaults rc.conf src/share/man/man5 rc.conf.5 In-Reply-To: <200102051228.f15CS1t33697@mobile.wemm.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 5 Feb 2001, Peter Wemm wrote: > Doug Barton wrote: > > dougb 2001/02/04 20:54:44 PST > > > > Modified files: > > etc rc > > etc/defaults rc.conf > > share/man/man5 rc.conf.5 > > Log: > > Introduce the option of running fsck -y if the initial preen fails. > > Defaults to off. > > I presume there is a "Beware of feet!" sign nearby? :-) No. > Seriously, we use this at yahoo in a massively replicated environment where > we can recover anything that gets lost or it doesn't matter if it does (ie: > it is a cache of some sort). > > I think it is good to have this in the base system, because I have seen > some pretty bad messups where people have tried to add this in themselves. > Having it here should reduce the opportunity for screwups when people edit > /etc/rc manually. I think anyone competent to use this would be competent to add it (they should have a massively replicated or massively backed up environment and programmers to support it). The committed version seems to be missing the complications to avoid running fsck on clean drives and to log the output so that you know which feet you lost. The error messages are likely to be too large to fit in the message buffer or the syscons scrollback buffer, but they could be stored on a clean filesystem if there is one. A small filesystem could be reserved for this. Reserving large lost+found directories would be good too. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message