From owner-freebsd-questions@FreeBSD.ORG Wed Sep 15 06:53:25 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 4076F10656C2 for ; Wed, 15 Sep 2010 06:53:25 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id F109F8FC14 for ; Wed, 15 Sep 2010 06:53:24 +0000 (UTC) Received: from [193.31.11.193] (helo=current.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Ovlru-0004fK-6R for freebsd-questions@freebsd.org; Wed, 15 Sep 2010 08:53:22 +0200 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o8F6rT10002322 for ; Wed, 15 Sep 2010 08:53:29 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o8F6rTQi002321 for freebsd-questions@freebsd.org; Wed, 15 Sep 2010 08:53:29 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Wed, 15 Sep 2010 08:53:29 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20100915065329.GA2258@current.Sisis.de> Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org References: <4C906AB2.3030004@rawbw.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4C906AB2.3030004@rawbw.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) X-Con-Id: 51246 X-Originating-IP: 193.31.11.193 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: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2010 06:53:25 -0000 El día Wednesday, September 15, 2010 a las 09:41:54AM +0300, Yuri escribió: > Almost every time after improper shutdown (poweroff) and reboot I get > into interactive fsck. > > I am being asked whole bunch of questions to which I just have to answer > Y (what are my other options?) > > Why drop user into interactive fsck if there is not much choice anyways? > Is there a way to set it up the way it doesn't drop into interactive > mode? Like answer 'Y' to all questions? Yes, just do: $ echo 16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlb xq | dc $ man rc.conf | col -b | fgrep fsck_ In general one should avoid unclean shutdowns. I even after such event go into single user mode and run fsck(8) by hand. HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre!