Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2005 19:18:07 +0200
From:      =?UTF-8?B?S8O2dmVzZMOhbiBHw6Fib3I=?= <gabor.kovesdan@t-hosting.hu>
To:        kyr <kkyriak@ee.duth.gr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: automatic fsck -y at boot
Message-ID:  <4353DCCF.5040909@t-hosting.hu>
In-Reply-To: <4353DBDF.1040507@ee.duth.gr>
References:  <4353DBDF.1040507@ee.duth.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
kyr wrote:

> Hello,
>    This is the first time I'm asking for help because all my other 
> problems were solved by the handbook or other e-mails.
>
> The question is how can i make freebsd to AUTOMATICALLY CORRECT (fsck 
> -y not just fsck) the inconsistency of a HD at boot time after a power 
> failure.
>
> After a non clean shutdown I always have a problem with the /var 
> partition (because the squid cache is there) it always corrects with 
> the fsck -y in single mode manually but the problem is that the server 
> is located in a basement where the access is not very easy especially 
> when raining :(

Put in your /etc/rc.conf:
fsck_y_enable="YES

Gabor Kovesdan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4353DCCF.5040909>