FSCK_MSDOSFS(8) BSD System Manager's Manual FSCK_MSDOSFS(8)NAME
fsck_msdosfs — DOS/Windows (FAT) filesystem consistency checker
SYNOPSIS
fsck_msdosfs -p [-f] filesystem ...
fsck_msdosfs [-fny] filesystem ...
DESCRIPTION
The fsck_msdosfs utility verifies and repairs FAT filesystems (more com‐
monly known as DOS filesystems).
The first form of fsck_msdosfs preens the specified filesystems. It is
normally started by fsck(8) run from /etc/rc during automatic reboot,
when a FAT filesystem is detected. When preening file systems,
fsck_msdosfs will fix common inconsistencies non-interactively. If more
serious problems are found, fsck_msdosfs does not try to fix them, indi‐
cates that it was not successful, and exits.
The second form of fsck_msdosfs checks the specified file systems and
tries to repair all detected inconsistencies, requesting confirmation
before making any changes.
The options are as follows:
-F Compatibility with the wrapper fsck(8) which seeks to determine
whether the filesystem needs to be cleaned immediately in fore‐
ground, or if its cleaning can be deferred to background. FAT
(MS-DOS) file systems must always be cleaned in the foreground.
A non-zero exit code is always returned for this option.
-f This option is ignored by fsck_msdosfs, and is present only for
compatibility with programs that check other file system types
for consistency, such as fsck_ffs(8).
-n Causes fsck_msdosfs to assume “no” as the answer to all operator
questions, except “CONTINUE?”.
-p Preen the specified filesystems.
-y Causes fsck_msdosfs to assume “yes” as the answer to all operator
questions.
SEE ALSOfsck(8), fsck_ffs(8), mount_msdos(8)HISTORY
The fsck_msdosfs utility first appeared in FreeBSD 4.4.
BUGS
The fsck_msdosfs utility is currently under development.
BSD August 13, 1995 BSD