Tuesday, October 2, 2007

Force Linux File System Check on Next Reboot

Sometimes you just want to have the system check itself nextime the system reboots, to do that:

As root type:
touch /forcefsck
On the next reboot the filesystem will see the empty file called "forcefsck" in the root partition, this will trigger a full scale disk check.

No comments: