Re: [CentOS] unattended fsck on boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxx> 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@xxxxxxxxx> wrote:
On 11/8/06, Tony < pthagonal@xxxxxxxxx> 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@xxxxxxxxxx
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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos





--
Thank you
Indunil Jayasooriya
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux