fsck

Bill Moran wmoran at potentialtech.com
Tue Jun 16 19:39:52 UTC 2009


In response to Peter <peterpub2 at 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/


More information about the freebsd-questions mailing list