Force a file system check (fsck) on next system boot for CentOS

It’s as simple as creating an empty file in the root called forcefsck:

touch /forcefsck

centos

You might also like

Stop Spotlight from indexing external hard drive
If you don't want Spotlight to index an external driver or a USB flash drive you only have to add an...

Fix “Clocksource tsc unstable” kernel message in a virtualized CentOS
If you use CentOS in a virtual environment it may be possible to get hundreds or messages like this from...

VNC service start and stop with a script in Mac OS X
Create a file called, for example, startVNC and fill it with:sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart...

VNC service start and stop with a script in Mac OS X
Create a file called, for example, startVNC and fill it with:sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart...

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.