1 .\" $NetBSD: fsck_msdos.8,v 1.9 1997/10/17 11:19:58 ws Exp $
2 .\" $FreeBSD: src/sbin/fsck_msdosfs/fsck_msdosfs.8,v 1.3.2.2 2003/01/26 03:19:48 keramida Exp $
4 .\" Copyright (C) 1995 Wolfgang Solfrank
5 .\" Copyright (c) 1995 Martin Husemann
7 .\" Redistribution and use in source and binary forms, with or without
8 .\" modification, are permitted provided that the following conditions
10 .\" 1. Redistributions of source code must retain the above copyright
11 .\" notice, this list of conditions and the following disclaimer.
12 .\" 2. Redistributions in binary form must reproduce the above copyright
13 .\" notice, this list of conditions and the following disclaimer in the
14 .\" documentation and/or other materials provided with the distribution.
15 .\" 3. All advertising materials mentioning features or use of this software
16 .\" must display the following acknowledgement:
17 .\" This product includes software developed by Martin Husemann
18 .\" and Wolfgang Solfrank.
19 .\" 4. Neither the name of the University nor the names of its contributors
20 .\" may be used to endorse or promote products derived from this software
21 .\" without specific prior written permission.
23 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
24 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
25 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 .\" IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
27 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
32 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35 .Dd September 29, 2016
40 .Nd DOS/Windows (FAT) filesystem consistency checker
52 utility verifies and repairs
54 filesystems (more commonly known
61 preens the specified filesystems.
62 It is normally started by
66 during automatic reboot, when a FAT filesystem is detected.
67 When preening file systems,
69 will fix common inconsistencies non-interactively.
70 If more serious problems are found,
72 does not try to fix them, indicates that it was not
73 successful, and exits.
77 checks the specified file systems and tries to repair all
78 detected inconsistencies, requesting confirmation before
81 The options are as follows:
82 .Bl -tag -width indent
84 Compatibility with the wrapper
86 which seeks to determine whether the filesystem needs to be cleaned
87 immediately in foreground, or if its cleaning can be deferred to background.
88 FAT (MS-DOS) file systems must always be cleaned in the foreground.
89 A non-zero exit code is always returned for this option.
91 This option is ignored by
93 and is present only for compatibility with programs that
94 check other file system types for consistency, such as
101 as the answer to all operator
105 Preen the specified filesystems.
111 as the answer to all operator questions.