<span class="gmail_quote">On 08/11/06, <b class="gmail_sendername">Dominik Składanowski</b> <<a href="mailto:dskladanowski@gmail.com">dskladanowski@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
On Wed, 08 Nov 2006 10:19:44 +0100, Mark Quitoriano<br><<a href="mailto:markquitoriano@gmail.com">markquitoriano@gmail.com</a>> wrote:<br><br>> Hi how can i do this? i have a headless server that i want to do fsck
<br>> but i<br>> know fsck need human intervention how can i make fsck to select yes in<br>> all<br>> questions.<br>><br><br>Good question.<br>Few weeks ago after kernel update one of my servers didn't start. I had to
<br>do fsck by hand.<br><br>Regards.<br></blockquote>If your system boots after an unclean shutdown you can set it up to do an autofsck, e.g. an unattended and hands-free fsck. Just go to /etc/sysconfig/autofsck and change the option from 'no' to 'yes'. The next time you reboot after an unclean shitdown, for whatever reason, you will be prompted to say 'Yes to stop autofsck'. If you don't respond it will do an automatic autofsck.
<br clear="all"><br>Keep warm<br>Sharon.<br>-- <br>A taste of linux <a href="http://www.sharons.org.uk/taste/index.html">http://www.sharons.org.uk/taste/index.html</a><br>efever <a href="http://www.efever.blogspot.com/">http://www.efever.blogspot.com/
</a><br>Centos 4.3, KDE 3.5.0-1.7, OpenOffice 2.0.1<br>Registered Linux user 334501