From owner-freebsd-questions@FreeBSD.ORG Mon Oct 17 17:18:28 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E01D416A41F for ; Mon, 17 Oct 2005 17:18:28 +0000 (GMT) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from server.t-hosting.hu (server.t-hosting.hu [217.20.133.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B3A743D48 for ; Mon, 17 Oct 2005 17:18:28 +0000 (GMT) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from localhost (localhost [127.0.0.1]) by server.t-hosting.hu (Postfix) with ESMTP id 31D05997C14; Mon, 17 Oct 2005 19:18:22 +0200 (CEST) Received: from server.t-hosting.hu ([127.0.0.1]) by localhost (server.t-hosting.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13625-02; Mon, 17 Oct 2005 19:18:14 +0200 (CEST) Received: from [80.98.133.57] (catv-50628539.catv.broadband.hu [80.98.133.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.t-hosting.hu (Postfix) with ESMTP id E31CE9975FD; Mon, 17 Oct 2005 19:18:13 +0200 (CEST) Message-ID: <4353DCCF.5040909@t-hosting.hu> Date: Mon, 17 Oct 2005 19:18:07 +0200 From: =?UTF-8?B?S8O2dmVzZMOhbiBHw6Fib3I=?= User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: kyr References: <4353DBDF.1040507@ee.duth.gr> In-Reply-To: <4353DBDF.1040507@ee.duth.gr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at t-hosting.hu Cc: freebsd-questions@freebsd.org Subject: Re: automatic fsck -y at boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2005 17:18:29 -0000 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