fsck

Fsck From Hackepedia

The filesystem consistency check and interactive repair program is needed on several UBO filesystems. When a filesystem is not properly unmounted before a reboot or halt the filesystem must be checked and any inconsistencies repaired. This can be a lengthy process and FreeBSD has a background fsck so that the system can start while it works away at making the filesystem consistent.

If you shut down improperly on Linux and know you will have to answer "yes" many times, you can simply add the -y flag which means say yes to the prompts:

# fsck -y
If you have a journalling filesystem you don't need to fsck.


German - von Hackepedia

Das Dateisystem Konsistenzprüfung und Interaktives Reperatur Programm wird benutzt auf mehreren UBO Dateisystemen. Wenn ein FFS Dateisystem nicht richtig ge-unmounted ist vor einem Reboot oder Halt, dann muss das Datei- system gecheckt werden und Inkonsistenzen repariert werden. Das kann schon Zeit dauern und FreeBSD hat einen "background" (hintergrund) fsck so das System startet während fsck an der konsistenz des Dateisystems arbeitet.

Wenn Linux falsch geendet wird und man weiss das man viele "yes" fragen beantworten muss, dann kann man einfach die -y flagge zu fsck geben, damit es ja sagt zu den Kommando fragen:

# fsck -y
Wenn man ein "journalling" Dateisystem hat braucht man keinen fsck machen.