Question about forcing fsck at boottime

Daniel Marsh jahilliya at
Tue Mar 31 01:08:15 PDT 2009

On Tue, 31 Mar 2009 15:01:37 +0800, Bruce Cran <bruce at> wrote:

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

More information about the freebsd-questions mailing list