Monday, August 30, 2010

How to force a Linux file system check (fsck)

To reboot with fsck -- shutdown -rF now
-or-
touch /forcefsck
echo -p >> /fsckoptions
init 6
Upon reboot if the fsck is successful both files will be removed.

No comments:

Post a Comment