On Tue, 31 Mar 2009 15:01:37 +0800, Bruce Cran <br...@cran.org.uk> wrote:

On Tue, 31 Mar 2009 11:35:11 +0530
manish jain <invalid.poin...@gmail.com> wrote:


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/
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to