FSCKMSDOS(8) BSD System Manager's Manual FSCKMSDOS(8)
NAME
fsckmsdos -- DOS/Windows (FAT) file system consistency check
SYNOPSIS
fsckmsdos -q special ...
fsckmsdos -p [-f] special ...
fsckmsdos [-fny] special ...
DESCRIPTION
The fsckmsdos utility verifies and repairs FAT file systems (more com-
monly known as DOS file systems).
The first form of fsckmsdos quickly checks the specified file systems to
determine whether they were cleanly unmounted.
The second form of fsckmsdos preens the specified file systems. It is
normally started by fsck(8) run from /etc/rc.boot during automatic
reboot, when a FAT file system is detected. When preening file systems,
fsckmsdos will fix common inconsistencies non-interactively. If more
serious problems are found, fsckmsdos does not try to fix them, indi-
cates that it was not successful, and exits.
The third form of fsckmsdos checks the specified file systems and tries
to repair all detected inconsistencies, requesting confirmation before
making any changes. The default behavior is to always ask for confirma-
tion of each change. Use the -n or -y options to override this default
behavior.
The options are as follows:
-q Causes fsckmsdos to quickly check whether the volume was
unmounted cleanly. If the volume was unmounted cleanly,
then the exit status is 0. If the volume was not unmounted
cleanly, then the exit status will be non-zero. In either
case, a message is printed to standard output describing
whether the volume was clean or dirty.
-f This option is ignored by fsckmsdos and is present only
for compatibility with programs that check other file sys-
tem types for consistency.
-n Causes fsckmsdos to assume no as the answer to all opera-
tor questions, except ``CONTINUE?''.
-p Preen the specified file systems.
-y Causes fsckmsdos to assume yes as the answer to all opera-
tor questions.
SEE ALSO
fsck(8)
BUGS
fsckmsdos is still under construction.
NetBSD August 13, 1995 NetBSD
|