Question about forcing fsck at boottime

Bruce Cran bruce at cran.org.uk
Tue Mar 31 00:01:44 PDT 2009


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

-- 
Bruce Cran


More information about the freebsd-questions mailing list