From owner-freebsd-questions@FreeBSD.ORG Tue Mar 31 07:01:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 984171065670 for ; Tue, 31 Mar 2009 07:01:43 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (brucec-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:c09::2]) by mx1.freebsd.org (Postfix) with ESMTP id 567A18FC0C for ; Tue, 31 Mar 2009 07:01:43 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id BB7C41924A; Tue, 31 Mar 2009 08:01:46 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon X-Spam-Level: X-Spam-Status: No, score=-2.6 required=8.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 Received: from gluon.draftnet (unknown [IPv6:2a01:348:10f:0:240:f4ff:fe57:9871]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Tue, 31 Mar 2009 08:01:46 +0000 (GMT) Date: Tue, 31 Mar 2009 08:01:37 +0100 From: Bruce Cran To: manish jain Message-ID: <20090331080137.31122795@gluon.draftnet> In-Reply-To: <49D1B297.8060307@gmail.com> References: <49D1B297.8060307@gmail.com> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Question about forcing fsck at boottime X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2009 07:01:44 -0000 On Tue, 31 Mar 2009 11:35:11 +0530 manish jain wrote: > > Hi, > > I am migrating from Linux and am still learning the basics of > FreeBSD. One thing that I would to carry over from my Linux days is > to force an fsck on all filesystems at system startup. On Linux, this > was simply a matter of editing /etc/rc.sysinit. Things seem a bit > more complicated in the BSD world. Can somebody please point me in > the right direction ? > I found this from a post last year: echo '/sbin/fsck -y -f' >> /etc/rc.early -- Bruce Cran