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