LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   force filesystem check (https://www.linuxquestions.org/questions/fedora-35/force-filesystem-check-453436/)

true_atlantis 06-10-2006 09:50 AM

force filesystem check
 
so im getting a nullpointerexception when a program is trying to write to the disk... is there a way to force fedora to do a fsck when it boots?

druuna 06-10-2006 10:15 AM

Hi,

As root:

touch /forcefsck

Then reboot. If all is well partitions will be checked.

Most distro's recognize this.

Hope this helps.

Crito 06-10-2006 04:06 PM

I always use:

shutdown -Fr now


All times are GMT -5. The time now is 01:39 AM.