On 6/15/2011 3:50 PM, Gary Kline wrote: > > is there any way of scripting fsck *every* time i reboot this box? i just > want to make abs certain that the filesystems are clean. ---didn't fscking > used to be easier?
Just override the defaults in /etc/rc.conf fsck_y_enable="YES" and if you are paranoid, background_fsck="NO" 0(cage)# grep -i fsck /etc/defaults/rc.conf fsck_y_enable="NO" # Set to YES to do fsck -y if the initial preen fails. fsck_y_flags="" # Additional flags for fsck -y background_fsck="YES" # Attempt to run fsck in the background where possible. background_fsck_delay="60" # Time to wait (seconds) before starting the fsck. 0(cage)# ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, m...@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"