Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 2010 08:53:29 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to prevent system to launch interactive fsck after improper shutdown and reboot?
Message-ID:  <20100915065329.GA2258@current.Sisis.de>
In-Reply-To: <4C906AB2.3030004@rawbw.com>
References:  <4C906AB2.3030004@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <guru@unixarea.de> - 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!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100915065329.GA2258>