-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alexander Dalloz wrote: >>>So do: >>> >>>echo "AUTOFSCK_TIMEOUT=5" > /etc/sysconfig/autofsck >>>echo "AUTOFSCK_DEF_CHECK=yes" >> etc/sysconfig/autofsck >>> >>>Alexander >> >>Wouldn't it be better to 'touch /forcefsck' ? He was asking for a way to >>automatically check the filesys. If the system sees a /.autofsck file, >>it will prompt the user before actually doing the fsck, and if the user >>does not respond within the timeout period (10 seconds), it will skip >>the fsck. If it finds a /forcefsck file, it will do the fsck without prompt. > > > Randy, would be an other option. But what I described offers the user to > interrupts an automatic check. Despite you explanation the default in my > example is to run fsck if the user does not interrupt within 5 seconds. > > Alexander Sorry, Alexander I read your email more carefully right after I sent my reply and saw the echo "AUTOFSCK_DEF_CHECK=yes" >> etc/sysconfig/autofsck I like your way better. :) I seem to remember a file that is listed whenever you do a mkfs. In the file, you can set the number of mounts before the filesys will be automatically checked. I can't remember where that is. Next time I do a mkfs I will write it down. (It's interesting what my spell-checker wants to replace fsck with.) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFARkQeL6ubqSVs8LERAtcaAKCEAzC7oR2zveddMp8XVze6i/23JgCgmg2U ozYe87H2W4MKaGL+EZmnSJE= =iYGH -----END PGP SIGNATURE-----