How to prevent system to launch interactive fsck after improper
shutdown and reboot?
guru at unixarea.de
Wed Sep 15 06:53:25 UTC 2010
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.
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru at 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!
More information about the freebsd-questions