From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 19:39:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 463EB1065674 for ; Tue, 16 Jun 2009 19:39:52 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 1AB468FC23 for ; Tue, 16 Jun 2009 19:39:51 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.ws.pitbpa0.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 0296EEBC0A; Tue, 16 Jun 2009 15:39:50 -0400 (EDT) Date: Tue, 16 Jun 2009 15:39:48 -0400 From: Bill Moran To: Peter Message-Id: <20090616153948.dd35087d.wmoran@potentialtech.com> In-Reply-To: <4A37F434.6090707@aboutsupport.com> References: <4A37F434.6090707@aboutsupport.com> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: fsck 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: Tue, 16 Jun 2009 19:39:52 -0000 In response to Peter : > Hi, > > I know it is possible, but not sure how to do it. > When power goes down and file system gets corrupted and system becomes > unbootable I need to login to the machine via console and run > > fsck -y /dev/XXXXX > > Any idea how to make Freebsd do that alone so it always boot, but > without paying penalty of slow reboot in case of clean shutdown and > restart ? fsck_y_enable="YES" in /etc/rc.conf See the man page for details. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/