A chronological documentation test project, nothing serious, really!

16 Aug 2010 Force fsck at reboot

Posted by

There are at least two ways to force a disk check (fsck) at reboot.

Creating a /forcefsck file
As root run the following command

# touch /forcefsck

Using the shutdown command

# shutdown -rF now

This command switch might not work on modern Linux operating systems since they use Upstart instead of the old Sysvinit system.

Tags: ,

Comments are closed.