Filesystem check
you can refer to this ubuntu thread for context, but i'll sum up what i'm trying to do here to spare the reading. basically i want to be able to schedule a filesystem check with automatic repairs at the next boot time. i know i can run:
Code:
>/forcefsck what should i do? |
Quote:
In the above post, your syntax is wrong. It should be (as root) Code:
touch /forcefsck |
You could change the value for the number of times between checks with tune2fs's -c <count> option, or use the -t option for a time based value. You could use -d1 for daily checks. I'm not certain whether -c1 will run fsck every time or every other time.
The manpages suggests staggering the mount counts to avoid each filesystem being mounted at once which presumes a larger -c<count> value. |
All times are GMT -5. The time now is 05:31 PM. |