This directory of Linux commands is from Linux in a Nutshell, 5th Edition.
Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.
Buy it now, or read it online on Safari Bookshelf.
dosfsck [options] device
fsck.msdos [options] device
System administration command. Similar to fsck, but specifically intended for MS-DOS filesystems. When checking an MS-DOS filesystem, fsck calls this command. Normally dosfsck stores all changes in memory, then writes them when checks are complete.
Automatically repair the system; do not prompt the user.
Drop the named file from the file allocation table. Force checking, even if kernel has already marked the filesystem as valid. dosfsck will normally exit without checking if the system appears to be clean.
Save unused cluster chains to files.
List pathnames of files being processed.
Repair the system, prompting user for advice.
Mark unreadable clusters as bad.
Attempt to undelete the named file.
Write changes to disk immediately.
When queried, answer "yes."
Filesystem is an Atari version of MS-DOS.
Repeat test to verify all errors have been corrected.