2

How can I schedule a disk scan for the next boot in Ubuntu?

fixer1234
  • 28,064
tinny
  • 203

1 Answers1

1
sudo touch /forcefsck

forces a file system check on the next start up. Use the tune2fs program if you want to change the check frequency, see its man page for how to use it.