From owner-freebsd-questions@FreeBSD.ORG Tue Mar 31 08:08:15 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 4C2B11065670 for ; Tue, 31 Mar 2009 08:08:15 +0000 (UTC) (envelope-from jahilliya@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.238]) by mx1.freebsd.org (Postfix) with ESMTP id 1A2718FC21 for ; Tue, 31 Mar 2009 08:08:14 +0000 (UTC) (envelope-from jahilliya@gmail.com) Received: by rv-out-0506.google.com with SMTP id l9so3179217rvb.43 for ; Tue, 31 Mar 2009 01:08:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:to:subject:from:organization :cc:content-type:mime-version:references:content-transfer-encoding :date:message-id:in-reply-to:user-agent; bh=/gVI0s2q8l6wSgTNIBl5grkeivh02wQkMZl5/Gfv+S0=; b=mxeHTZd8zhaPeI1JwDpitN3YVbKYtU2m8RxES+BOBcRc51gT+lAuEuLM/TOcBRz2ex R8ZzB0ACXaQnpCLBCR/d6jIBN/knTixqMIkmfuddMKCQNEnc+YxZX0YXdZfBzhQLhEx9 bQlt6pBvxkiRz3C8LH2Nxv3kio/7aqhmYoYfg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:subject:from:organization:cc:content-type:mime-version :references:content-transfer-encoding:date:message-id:in-reply-to :user-agent; b=QXTAwxe1V7Lsp3MmUAsdZ30U5HQEeSC4eswnNVoOkTpSz0nk5EosYMLQbl1Cr3QJAp jwSfTYHS/BvQJifoMfhFVyLKMV6b8BFJtryMwZxg/v7tTftL2+LpPV5KUu4TZa2iZY6R /BOf2LBFcKkvpWuAzBs8dybksUS+c5sTW53hA= Received: by 10.114.192.3 with SMTP id p3mr4207022waf.25.1238485235097; Tue, 31 Mar 2009 00:40:35 -0700 (PDT) Received: from yog-sothoth.rlyeh (brdr-r1.itma.com.au [218.214.217.114]) by mx.google.com with ESMTPS id t1sm17790304poh.21.2009.03.31.00.40.30 (version=SSLv3 cipher=RC4-MD5); Tue, 31 Mar 2009 00:40:33 -0700 (PDT) To: "Bruce Cran" , "manish jain" From: Daniel Marsh Organization: STIW Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <49D1B297.8060307@gmail.com> <20090331080137.31122795@gluon.draftnet> Content-Transfer-Encoding: 7bit Date: Tue, 31 Mar 2009 15:40:29 +0800 Message-ID: In-Reply-To: <20090331080137.31122795@gluon.draftnet> User-Agent: Opera Mail/9.64 (Linux) 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 08:08:15 -0000 On Tue, 31 Mar 2009 15:01:37 +0800, Bruce Cran wrote: > 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 > You could also replace rc.early with rc.local if you want it to run later in the boot process. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/