How To Force fsck (Filesystem Consistency Check) After Reboot

Posted by logix on May 25, 2019 2:26 AM EDT
Linux Uprising; By Logix
Mail this story
Print this story

With old sysvinit and Upstart, users could force a disk check on next reboot using a simple command (sudo touch /forcefsck), but that's no longer the case nowadays, with most Linux distributions using systemd. This article explains how to force fsck to run at boot time in two ways, which work with systemd. You'll also find a command that shows when a partition was last checked by fsck, at the end of the article.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.