[CentOS] unattended fsck on boot

Indunil Jayasooriya indunil75 at gmail.com
Thu Nov 9 07:45:22 UTC 2006


There is no such file there. You will have to create it.

issue these 2 commands.

echo "AUTOFSCK_TIMEOUT=5" > /etc/sysconfig/autofsck
echo "AUTOFSCK_DEF_CHECK=yes" >> /etc/sysconfig/autofsck

pls see the below URL

https://www.redhat.com/archives/fedora-list/2004-March/msg00676.html




On 11/9/06, Mark Quitoriano <markquitoriano at gmail.com> wrote:
>
> that's weird there's no /etc/sysconfig/autofsck file im using CentOS 4.4
>
> so what i need to do is a file autofsck with this variables inside right?
>
> AUTOFSCK_DEF_CHECK=yes
> PROMPT=yes
> AUTOFSCK_TIMEOUT=10
> AUTOFSCK_OPT="-y"
>
>
> specifically the AUTOFSCK_OPT= should have -y in it?
>
>
> On 11/9/06, Tony < pthagonal at gmail.com> wrote:
> >
> > On 11/8/06, Tony < pthagonal at gmail.com> wrote:
> > > Suggest you try the fedora solution mentioned here:
> > >
> > > http://forums.fedoraforum.org/showthread.php?t=57764
> > >
> > > Which is to create a file like following:
> > >
> > > $ cat /etc/sysconfig/autofsck
> > >
> > > AUTOFSCK_DEF_CHECK=yes
> > > PROMPT=yes
> > > AUTOFSCK_TIMEOUT=10
> > > AUTOFSCK_OPT=""
> > >
> > > From a quick read of the relevant parts of /etc/rc.sysinit on one of
> > > my centos 4.4 systems, it looks likely this will work here too- but I
> > > have not tested it at all.
> > >
> >
> > oops- I then meant to suggest that you consider using  the -y option
> > in the AUTOFSCK_OPT string
> >
> >
> > --
> > Cheers,
> >
> > Tony
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
>
>
>
> --
> Regards,
> Mark Quitoriano, CCNA
>
> Fan the flame...
> http://www.spreadfirefox.com/?q=user/register&r=19441
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
>


-- 
Thank you
Indunil Jayasooriya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20061109/c303d069/attachment.html>


More information about the CentOS mailing list