From owner-freebsd-questions@FreeBSD.ORG Wed Sep 15 07:00:39 2010 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 31EFF106567A for ; Wed, 15 Sep 2010 07:00:39 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 1C4E68FC18 for ; Wed, 15 Sep 2010 07:00:38 +0000 (UTC) Received: from lenovo.syrec.org ([194.158.199.205]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id o8F706kT039070; Wed, 15 Sep 2010 00:00:13 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4C906EF7.3090200@rawbw.com> Date: Wed, 15 Sep 2010 10:00:07 +0300 From: Yuri User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.11) Gecko/20100723 Thunderbird/3.0.6 MIME-Version: 1.0 To: Remko Lodder References: <4C906AB2.3030004@rawbw.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 15 Sep 2010 11:18:30 +0000 Cc: freebsd-questions@freebsd.org Subject: Re: How to prevent system to launch interactive fsck after improper shutdown and reboot? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2010 07:00:39 -0000 On 09/15/10 09:47, Remko Lodder wrote: > I think this might do your trick: > > fsck_y_enable="NO" # Set to YES to do fsck -y if the initial preen > fails. > fsck_y_flags="" # Additional flags for fsck -y > > The reason for this to get interactively is because this might messup > with your filesystem, and you are the one responsible for your filesystem, > not us or the autmated system. So in case you want to "play" with that, > that's entirely up to you. > > In addition, I can imagine that companies (been there done it) do not want > to fsck -y by default, this because of the mentioned potential corruption > and dataloss. > > Thanks > remko > > p.s. This was found within 5 seconds in /etc/defaults/rc.conf. > > Thanks Remko! I never had spare 5 secs for this :-), and now when I left my computer to friends (not computer savvy) they got into this trap. There is no database... I think installer better asks this question during installation since many users just run a desktop and -y is pretty much ok for them. Thank you again, Yuri