View Full Version : cron fsck

15th September 2006, 09:25 PM
I'd like to use cron to run fsck every thirty days at boot time because I've read that running fsck should be done before mounting file systems. but, i'm not sure how to go about doing this...

15th September 2006, 10:45 PM
Give the command tune2fs -i 30d <devicename> for each ext3 filesystem. See man tune2fs for details.