Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2006 12:39:04 -0500
From:      Charles Swiger <cswiger@mac.com>
To:        manish jain <goodredhat@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problem with fsck : continued
Message-ID:  <636FF1E5-2930-4C92-8BEA-9F066213B15E@mac.com>
In-Reply-To: <20060131172546.88150.qmail@web34003.mail.mud.yahoo.com>
References:  <20060131172546.88150.qmail@web34003.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 31, 2006, at 12:25 PM, manish jain wrote:
>   So now the question is if I can get FreeBSD 6.0 to run fsck  
> automatically on restart in such a manner that all services come up  
> consistently. I am even willing to have fsck run in the foreground  
> upon EACH restart, irrespective of whether the previous shutdown  
> was proper or improper. How do I do this ?

To start with, you could set:

   background_fsck="NO"

...in /etc/rc.conf to force filesystem checking to happen first.

However, you are not going to have a very happy computing experience  
with any flavor of Unix if you keep shutting the system down  
uncleanly several times a day because of power failures.  Try to  
obtain a UPS with a serial or USB connection and use a port like  
apcupsd to shut down cleanly...

-- 
-Chuck






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?636FF1E5-2930-4C92-8BEA-9F066213B15E>