.pa 1
.he 'CHECK (VIII)'1/20/73'CHECK (VIII)'
.ti 0
NAME		check -- file system consistency check
.sp
.ti 0
SYNOPSIS	check_____ [ filesystem [ blockno918 ... ] ]
.sp
.ti 0
DESCRIPTION	check_____
will examine a file system,
build a bit map of used blocks,
and compare this bit map against
the bit map maintained on the file system.
If the file system is not specified,
a check of all
of the normally mounted file systems
is performed.
Output includes the number of files on the file system,
the number of these that are 'large', the number
of indirect blocks,
the number
of used blocks, and the number of free blocks.
.sp
check_____ works by examining the i-nodes
on the file system and is entirely
independent of its directory hierarchy.
The file system may be,
but need not be, mounted.

.ti 0
FILES		/dev/rf?,
/dev/rk?,
/dev/rp?
.sp
.ti 0
SEE ALSO	find(I), ds(I)
.sp
.ti 0
DIAGNOSTICS	Diagnostics are produced for
blocks missing, duplicated, and bad block addresses.
Diagnostics are also produced for block numbers passed as parameters.
In each case, the block number, i-number, and
block class (i_ = inode, x_ indirect, f_ free) is printed.
.sp
.ti 0
BUGS		The
checking process is two pass in nature.
If checking is done on an active file system,
extraneous diagnostics may occur.
