SCCS-vsn: sbin/fsck/fsck.8 6.8
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)fsck.8 6.7 (Berkeley) %G%
+.\" @(#)fsck.8 6.8 (Berkeley) %G%
It is normally used in the script
.B /etc/rc
during automatic reboot.
It is normally used in the script
.B /etc/rc
during automatic reboot.
.I fsck
reads the table
.B /etc/fstab
to determine which file systems to check.
.I fsck
reads the table
.B /etc/fstab
to determine which file systems to check.
-It uses the information there to inspect groups of disks in parallel, taking
-maximum advantage of i/o overlap to check the file systems
-as quickly as possible.
Only partitions in fstab that are mounted ``rw,'' ``rq'' or ``ro''
and that have non-zero pass number are checked.
Filesystems with pass number 1 (normally just the root filesystem)
Only partitions in fstab that are mounted ``rw,'' ``rq'' or ``ro''
and that have non-zero pass number are checked.
Filesystems with pass number 1 (normally just the root filesystem)
.br
Inode number out of range.
.br
.br
Inode number out of range.
.br
+Dot or dot-dot not the first two entries of a directory
+or having the wrong inode number.
+.br
directory does not exist, it is created.
If there is insufficient space its size is increased.
.PP
directory does not exist, it is created.
If there is insufficient space its size is increased.
.PP
-Checking the raw device is almost always faster.
+Because of inconsistencies between the block device and the buffer cache,
+the raw device should always be used.
fsdb(8),
newfs(8),
mkfs(8),
fsdb(8),
newfs(8),
mkfs(8),
-.SH BUGS
-There should be some way to start a \fBfsck \-p\fR at pass \fIn\fR.