~ubuntu-branches/ubuntu/trusty/util-linux/trusty-proposed

« back to all changes in this revision

Viewing changes to disk-utils/fsck.minix.8

  • Committer: Package Import Robot
  • Author(s): LaMont Jones
  • Date: 2011-11-03 15:38:23 UTC
  • mto: (4.5.5 sid) (1.6.4)
  • mto: This revision was merged to the branch mainline in revision 85.
  • Revision ID: package-import@ubuntu.com-20111103153823-10sx16jprzxlhkqf
ImportĀ upstreamĀ versionĀ 2.20.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
.\" Copyright 1992, 1993, 1994 Rickard E. Faith (faith@cs.unc.edu)
2
2
.\" May be freely distributed.
3
3
.\" " for hilit19
4
 
.TH FSCK 8 "2 July 1996" "Util-Linux 2.6" "Linux Programmer's Manual"
 
4
.TH FSCK 8 "July 1996" "util-linux" "System Administration"
5
5
.SH NAME
6
 
fsck.minix \- a file system consistency checker for Linux
 
6
fsck.minix \- check consistency of Minix filesystem
7
7
.SH SYNOPSIS
8
8
.B fsck.minix
9
9
.RB [ \-larvsmf ]
14
14
version supports the 14 character and 30 character filename options.
15
15
 
16
16
The program
17
 
assumes the file system is quiescent.
 
17
assumes the filesystem is quiescent.
18
18
.B fsck.minix
19
19
should not be used on a mounted device unless you can be sure nobody is
20
20
writing to it (and remember that the kernel can write to it when it
21
21
searches for files).
22
22
 
23
 
The device will usually have the following form:
 
23
The \fIdevice\fR name will usually have the following form:
24
24
.nf
25
25
.RS
26
26
/dev/hda[1-63] (IDE disk 1)
30
30
.RE
31
31
.fi
32
32
 
33
 
If the file system was changed (i.e., repaired), then
 
33
If the filesystem was changed (i.e., repaired), then
34
34
.B fsck.minix
35
35
will print "FILE SYSTEM HAS CHANGED" and will
36
36
.BR sync (2)
53
53
.SH OPTIONS
54
54
.TP
55
55
.B \-l
56
 
Lists all filenames
 
56
List all filenames.
57
57
.TP
58
58
.B \-r
59
 
Performs interactive repairs
 
59
Perform interactive repairs.
60
60
.TP
61
61
.B \-a
62
 
Performs automatic repairs (this option implies
63
 
.BR \-r ),
64
 
and serves to answer all of the questions asked with the default.  Note
65
 
that this can be extremely dangerous in the case of extensive file system
 
62
Perform automatic repairs.  (This option implies
 
63
.B \-r
 
64
and serves to answer all of the questions asked with the default.)  Note
 
65
that this can be extremely dangerous in the case of extensive filesystem
66
66
damage.
67
67
.TP
68
68
.B \-v
69
 
Verbose
 
69
Be verbose.
70
70
.TP
71
71
.B \-s
72
 
Outputs super-block information
 
72
Output super-block information.
73
73
.TP
74
74
.B \-m
75
 
Activates MINIX-like "mode not cleared" warnings
 
75
Activate MINIX-like "mode not cleared" warnings.
76
76
.TP
77
77
.B \-f
78
 
Force file system check even if the file system was marked as valid (this
79
 
marking is done by the kernel when the file system is unmounted).
 
78
Force a filesystem check even if the filesystem was marked as valid (this
 
79
marking is done by the kernel when the filesystem is unmounted).
80
80
.SH "SEE ALSO"
81
81
.BR fsck (8),
82
82
.BR fsck.ext (8),
95
95
If the device does not exist,
96
96
.B fsck.minix
97
97
will print "unable to read super block".  If the device exists, but is not
98
 
a MINIX file system,
 
98
a MINIX filesystem,
99
99
.B fsck.minix
100
100
will print "bad magic number in super-block".
101
101
.SH "EXIT CODES"
105
105
.IP 0
106
106
No errors
107
107
.IP 3
108
 
File system errors corrected, system should be rebooted if file system was
 
108
Filesystem errors corrected, system should be rebooted if filesystem was
109
109
mounted
110
110
.IP 4
111
 
File system errors left uncorrected
 
111
Filesystem errors left uncorrected
112
112
.IP 8
113
113
Operational error
114
114
.IP 16
120
120
.br
121
121
Error code values by Rik Faith (faith@cs.unc.edu)
122
122
.br
123
 
Added support for file system valid flag: Dr. Wettstein
 
123
Added support for filesystem valid flag: Dr. Wettstein
124
124
(greg%wind.uucp@plains.nodak.edu)
125
125
.br
126
126
Check to prevent fsck of mounted filesystem added by Daniel Quinlan