automatic fsck -y at boot
Kövesdán Gábor
gabor.kovesdan at t-hosting.hu
Mon Oct 17 10:18:29 PDT 2005
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
More information about the freebsd-questions
mailing list