Force Filesystem Check

Q: How to force a check of the file systems?

A: If the file "/forcefsck" exists a file system consistency check
(fsck) will be forced at the next boot up.

The command line commands look like:

touch /forcefsck
reboot

This is a better solution than pushing the reset button. It is true
that pushing the reset button will leave the file "/.autofsck" so file
system checks will take place. However other file systems are at risk
of damage.
Leave A Reply
All content licensed under the Creative Commons License