Date: Wed, 15 Jun 2011 15:58:14 -0400 From: Mike Tancsa <mike@sentex.net> To: Gary Kline <kline@thought.org> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: how do i fsck my server? Message-ID: <4DF90ED6.5090302@sentex.net> In-Reply-To: <20110615195027.GA1196@thought.org> References: <20110615195027.GA1196@thought.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DF90ED6.5090302>