From owner-freebsd-questions@FreeBSD.ORG Mon Oct 17 17:14:01 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 07C2D16A420 for ; Mon, 17 Oct 2005 17:14:01 +0000 (GMT) (envelope-from kkyriak@ee.duth.gr) Received: from mail.duth.gr (mail.duth.gr [192.108.114.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 443E443D53 for ; Mon, 17 Oct 2005 17:13:56 +0000 (GMT) (envelope-from kkyriak@ee.duth.gr) Received: from [192.168.1.7] (r-esties.xan.duth.gr [193.92.238.254]) (authenticated bits=0) by mail.duth.gr (8.13.1/8.13.1) with ESMTP id j9HHDqa9006691 for ; Mon, 17 Oct 2005 20:13:54 +0300 (EEST) (envelope-from kkyriak@ee.duth.gr) Message-ID: <4353DBDF.1040507@ee.duth.gr> Date: Mon, 17 Oct 2005 20:14:07 +0300 From: kyr User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.51 on 192.108.114.110 X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (mail.duth.gr [192.108.114.110]); Mon, 17 Oct 2005 20:13:54 +0300 (EEST) Subject: 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:14:01 -0000 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 :( The server is a P4 3Ghz 1Gb ram OS: Freebsd 5.4 Role: Router, DHCPD, DNS, NAT, Firewall, Proxy, SMBD Thanks Kyriakos Kyriakou Xanthi, Greece