1 .\" $NetBSD: fsck_msdos.8,v 1.9 1997/10/17 11:19:58 ws Exp $
3 .\" Copyright (C) 1995 Wolfgang Solfrank
4 .\" Copyright (c) 1995 Martin Husemann
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
15 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
16 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18 .\" IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
19 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 .Nd DOS/Windows (FAT) file system consistency checker
43 utility verifies and repairs
45 file systems (more commonly known
52 preens the specified file systems.
53 It is normally started by
57 during automatic reboot, when a FAT file system is detected.
58 When preening file systems,
60 will fix common inconsistencies non-interactively.
61 If more serious problems are found,
63 does not try to fix them, indicates that it was not
64 successful, and exits.
68 checks the specified file systems and tries to repair all
69 detected inconsistencies, requesting confirmation before
72 The options are as follows:
73 .Bl -tag -width indent
75 Compatibility with the corresponding
77 option (skip check if clean), defined to no-op.
79 Compatibility with the wrapper
81 which seeks to determine whether the file system needs to be cleaned
82 immediately in foreground, or if its cleaning can be deferred to background.
83 FAT (MS-DOS) file systems must always be cleaned in the foreground.
84 A non-zero exit code is always returned for this option.
90 when checking a FAT32 file system.
91 This option is mainly for debugging purposes and is not normally necessary.
94 utility will automatically fall back to use a simple LRU cache of 4 MiB
95 when it failed to perform
105 file systems when preening.
111 as the answer to all operator
115 Preen the specified file systems.
121 as the answer to all operator questions.