summaryrefslogtreecommitdiff
path: root/static/unix-v10/man8/dcheck.8
blob: 9f9d8eec895f5a185e753d7bcaadfdd5d3f9faf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
.pa 1
.he 'DCHECK (VIII)'1/20/73'DCHECK (VIII)'
.ti 0
NAME		dcheck -- directory consistency check
.sp
.ti 0
SYNOPSIS	dcheck______ [ -l__ ] [ device ]
.sp
.ti 0
DESCRIPTION	dcheck______
builds an image of the directory hierarchy
of the specified device
by reading all its directories (using physical I/O
guided by the i-nodes on the device).
A list entry is made for
each file encountered.
A second pass reads the i-nodes and for
each file compares the number of links
specified in its i-node
with the number of entries actually seen.
All discrepancies are noted.
.sp
If no device is specified,
a default device is assumed.
.sp
The argument -l__ causes a complete
listing of the file names on the device
in i-node order.
.sp
.ti 0
FILES		/dev/rk?
.sp
.ti 0
SEE ALSO	check(VIII)
.sp
.ti 0
DIAGNOSTICS	inconsistent i-numbers,
unnamed files,
unreachable files,
loops in directory "hierarchy".
.sp
.ti 0
BUGS		Unreachable files and loops are
discovered only under the "-l" option.