1 .\" Copyright 1992, 1993, 1994 Rickard E. Faith (faith@cs.unc.edu)
2 .\" May be freely distributed.
3 .TH FSCK.MINIX 8 "June 2015" "util-linux" "System Administration"
5 fsck.minix \- check consistency of Minix filesystem
12 performs a consistency check for the Linux MINIX filesystem.
14 The program assumes the filesystem is quiescent.
16 should not be used on a mounted device unless you can be sure nobody is
17 writing to it. Remember that the kernel can write to device when it
20 The \fIdevice\fR name will usually have the following form:
25 /dev/hda[1\(en63]:IDE disk 1
26 /dev/hdb[1\(en63]:IDE disk 2
27 /dev/sda[1\(en15]:SCSI disk 1
28 /dev/sdb[1\(en15]:SCSI disk 2
32 If the filesystem was changed, i.e., repaired, then
34 will print "FILE SYSTEM HAS CHANGED" and will
36 three times before exiting. There is
38 need to reboot after check.
43 be used on a mounted filesystem. Using
45 on a mounted filesystem is very dangerous, due to the possibility that
46 deleted files are still in use, and can seriously damage a perfectly good
47 filesystem! If you absolutely have to run
49 on a mounted filesystem, such as the root filesystem, make sure nothing
50 is writing to the disk, and that no files are "zombies" waiting for
54 \fB\-l\fR, \fB\-\-list\fR
57 \fB\-r\fR, \fB\-\-repair\fR
58 Perform interactive repairs.
60 \fB\-a\fR, \fB\-\-auto\fR
61 Perform automatic repairs. This option implies
63 and serves to answer all of the questions asked with the default. Note
64 that this can be extremely dangerous in the case of extensive filesystem
67 \fB\-v\fR, \fB\-\-verbose\fR
70 \fB\-s\fR, \fB\-\-super\fR
71 Output super-block information.
73 \fB\-m\fR, \fB\-\-uncleared\fR
74 Activate MINIX-like "mode not cleared" warnings.
76 \fB\-f\fR, \fB\-\-force\fR
77 Force a filesystem check even if the filesystem was marked as valid.
78 Marking is done by the kernel when the filesystem is unmounted.
80 \fB\-V\fR, \fB\-\-version\fR
81 Display version information and exit.
83 \fB\-h\fR, \fB\-\-help\fR
84 Display help text and exit.
86 There are numerous diagnostic messages. The ones mentioned here are the
87 most commonly seen in normal usage.
89 If the device does not exist,
91 will print "unable to read super block". If the device exists, but is not
94 will print "bad magic number in super-block".
96 The exit status returned by
98 is the sum of the following:
107 Filesystem errors corrected, system should be rebooted if filesystem was
111 Filesystem errors left uncorrected
114 Combination of exit statuses 3 and 4
120 Usage or syntax error
125 .MT torvalds@\:cs.\:helsinki.\:fi
129 Exit status values by
130 .MT faith@\:cs.\:unc.\:edu
134 Added support for filesystem valid flag:
135 .MT greg%\:wind.\:uucp@\:plains.\:nodak.\:edu
139 Check to prevent fsck of mounted filesystem added by
140 .MT quinlan@\:yggdrasil.\:com
144 Minix v2 fs support by
145 .MT schwab@\:issan.\:informatik.\:uni-dortmund.\:de
149 .MT janl@\:math.\:uio.\:no
154 .MT rmk@\:ecs.\:soton.\:ac.\:uk
165 The fsck.minix command is part of the util-linux package and is available from
166 .UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/