CHECK (VIII) 1/20/73 CHECK (VIII)
NAME check -- file system consistency check
SYNOPSIS check [ filesystem [ blockno ... ] ]
1
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 per-
formed. Output includes the number of files on
the file system, the number of these that are
'large', the number of indirect blocks, the num-
ber of used blocks, and the number of free
blocks.
check works by examining the i-nodes on the file
system and is entirely independent of its direc-
tory hierarchy. The file system may be, but need
not be, mounted.
FILES /dev/rf?, /dev/rk?, /dev/rp?
SEE ALSO find(I), ds(I)
DIAGNOSTICS Diagnostics are produced for blocks missing, du-
plicated, and bad block addresses. Diagnostics
are also produced for block numbers passed as pa-
rameters. In each case, the block number, i-
number, and block class (i = inode, x indirect, f
free) is printed.
BUGS The checking process is two pass in nature. If
checking is done on an active file system, extra-
neous diagnostics may occur.