Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2009 15:40:29 +0800
From:      Daniel Marsh <jahilliya@gmail.com>
To:        "Bruce Cran" <bruce@cran.org.uk>, "manish jain" <invalid.pointer@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Question about forcing fsck at boottime
Message-ID:  <op.urnblrojjjurwa@yog-sothoth.rlyeh>
In-Reply-To: <20090331080137.31122795@gluon.draftnet>
References:  <49D1B297.8060307@gmail.com> <20090331080137.31122795@gluon.draftnet>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 31 Mar 2009 15:01:37 +0800, Bruce Cran <bruce@cran.org.uk> wrote:

> On Tue, 31 Mar 2009 11:35:11 +0530
> manish jain <invalid.pointer@gmail.com> 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/



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