NAME | SYNOPSIS | DESCRIPTION | DIAGNOSTICS | ATTRIBUTES | SEE ALSO
fsck_msdos is a target utility.
This utility checks and repairs FAT filesystems (more commonly known as DOS filesystems).
The first form of fsck_msdos preens the specified filesystems. It is usually started at boot time (see rc.classix ) during automatic reboot.
When preening file systems, fsck_msdos repairs common inconsistencies non-interactively. If more serious problems are found, fsck_msdos does not try to repair them, indicates that it was unsuccessful, and exits.
The second form of fsck_msdos checks the specified file systems and tries to repair all detected inconsistencies, requesting confirmation before making any changes.
The following options are provided:
Causes fsck_msdos to use no as the answer to all operator questions, except CONTINUE? .
Preens the specified filesystems.
Causes fsck_msdos to use yes as the answer to all operator questions.
Causes fsck_msdos to display information about the boot sector. (Mainly used for debugging purposes.)
Upon successful completion, file system characteristics are printed. An exit status of 4 is returned if the file system was modified. If the file system was not modified, an exit stauts of 0 is returned. An exit status of 8 is retuned in case of the following errors:
Boot block was modified.
One or more directories were modified.
The FAT was modified.
Some unrecovered error remains.
Some unrecoverable error occurred.
See attributes(5) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|---|---|
| Interface Stability | Evolving |
NAME | SYNOPSIS | DESCRIPTION | DIAGNOSTICS | ATTRIBUTES | SEE ALSO