Re: fsck

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



On 01/25/2012 10:46 AM, Steve Clark wrote:
> Hello,
>
> We are running units in the field that are headless. Sometimes we get units returned
> that we when we boot them up have some type of filesystem inconsistency that the default preen
> doesn't fix but running fsck -y does.
>
> I want to eliminate the -p (preen option) and always do the -y option anyone know where
> to make this change?
>
> Thanks,
>
You can create a file called:

/etc/sysconfig/autofsck

inside there you need the following lines:

AUTOFSCK_DEF_CHECK=yes
AUTOFSCK_OPT="-y"

That should take away all options except "-f" and use the ones you put
in AUTOFSCK_OPT.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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