Schedule disk scan on boot Ubuntu. How do I do this?

Ive completely forgotten.

link|improve this question
feedback

1 Answer

up vote 1 down vote accepted
sudo touch /forcefsck

forces a file system check on the next start up. Use the tune2fs program if you want to change the check frequency, see its man page for how to use it.

link|improve this answer
Thanks. This seems to only perform a very short scan. Is there a way to do a more comprehensive scan? – tinny Jun 26 '10 at 0:10
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.