Man page of FSCK

FSCK

NAME

SYNOPSIS

fsck.minix [-larvsmf] device

DESCRIPTION

fsck.minix performs a consistency check for the Linux MINIX filesystem. The current version supports the 14 character and 30 character filename options.

The program assumes the filesystem is quiescent. fsck.minix should not be used on a mounted device unless you can be sure nobody is writing to it (and remember that the kernel can write to it when it searches for files).

If the filesystem was changed (i.e., repaired), then fsck.minix will print "FILE SYSTEM HAS CHANGED" and will sync?(2) three times before exiting. Since Linux does not currently have raw devices, there is no need to reboot at this time.

WARNING

fsck.minix should not be used on a mounted filesystem. Using fsck.minix on a mounted filesystem is very dangerous, due to the possibility that deleted files are still in use, and can seriously damage a perfectly good filesystem! If you absolutely have to run fsck.minix on a mounted filesystem (i.e., the root filesystem), make sure nothing is writing to the disk, and that no files are "zombies" waiting for deletion.

OPTIONS

-l

List all filenames.:

-r

Perform interactive repairs.:

-a

Perform automatic repairs. (This option implies -r and serves to answer all of the questions asked with the default.) Note that this can be extremely dangerous in the case of extensive filesystem damage.:

-v

Be verbose.:

-s

Output super-block information.:

-m

Activate MINIX-like "mode not cleared" warnings.:

-f

Force a filesystem check even if the filesystem was marked as valid (this marking is done by the kernel when the filesystem is unmounted).: