Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2009 15:39:48 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        Peter <peterpub2@aboutsupport.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: fsck
Message-ID:  <20090616153948.dd35087d.wmoran@potentialtech.com>
In-Reply-To: <4A37F434.6090707@aboutsupport.com>
References:  <4A37F434.6090707@aboutsupport.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to Peter <peterpub2@aboutsupport.com>:

> Hi,
> 
> I know it is possible, but not sure how to do it.
> When power goes down and file system gets corrupted and system becomes
> unbootable I need to login to the machine via console and run
> 
> fsck -y /dev/XXXXX
> 
> Any idea how to make Freebsd do that alone so it always boot, but
> without paying penalty of slow reboot in case of clean shutdown and
> restart ?

fsck_y_enable="YES" in /etc/rc.conf

See the man page for details.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/



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