Sun Microsystems Sun Workstation 100U System Manager's Manual page 176

Table of Contents

Advertisement

DCHECK(8)
MAINTENANCE COM:MANDS
DCHECK(8)
NAME
dcheck - file system directory consistency check
SYNOPSIS
/uar/ete/dehee.k [ -I number8 ) [
filesystem )
DESCRIPTION
N.B.I Dchecle
is obsoleted for normal consistency checking by
/8cle(8).
Dchecle
reads the directories in a file system and compares the link-count in each i-node with the
number of directory entries by which it is referenced. It the file system is not specified,
dchecle
checks a set of default file systems.
Dchecle
is fastest if the raw version of the special file is used, since the i-list
is
read in large
chunks.
OPTIONS
FILES
-1 number8
Number8
is a list or i-numbers; when one or those i-numbers turns up
in a directory, the
number, the i-number or the directory, and the name of the entry are reported.
Derault file systems vary with installation.
SEE ALSO
(sck{8), icheck(8), (s(5), clri(8), ncheck(8)
DIAGNOSTICS
BUGS
When a file turns up for which the link-count and the number of directory entries disagree, the
relevant facts are reported. Allocated files which have 0 link-count and no entries are also listed.
The only dangerous situation occurs when there are more entries than links; ir entries are
removed,
80
the link-count drops to 0, the remaining entries point to thin air. They should be
removed. When there are more links than entries, or there is an allocated file with neither links
nor entries, some disk space may be lost but the situation will not degenerate.
Since
dchecle
is inherently two-pass in nature, extraneous diagnostics may be produced if applied
to active file systems.
Dchecle
is obsoleted by
f8cle
and remains ror historical reasons.
Sun Release 1.1
Last change: 4 February 1983
21

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents