Date: Wed, 15 Sep 2010 08:47:38 +0200 From: "Remko Lodder" <remko@elvandar.org> To: yuri@rawbw.com Cc: freebsd-questions@freebsd.org Subject: Re: How to prevent system to launch interactive fsck after improper shutdown and reboot? Message-ID: <f960a527c77ce82553c2bc82dc8004fa.squirrel@www.jr-hosting.nl> In-Reply-To: <4C906AB2.3030004@rawbw.com> References: <4C906AB2.3030004@rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>> 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? >> >> Yuri 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. -- /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f960a527c77ce82553c2bc82dc8004fa.squirrel>