Annotation of researchv10dc/man/manb/dcheck.8, revision 1.1.1.1

1.1       root        1: .TH DCHECK 8 
                      2: .UC 4
                      3: .SH NAME
                      4: dcheck \- file system directory consistency check
                      5: .SH SYNOPSIS
                      6: .B /etc/dcheck
                      7: [
                      8: .B \-i
                      9: numbers ]
                     10: [ filesystem ]
                     11: .SH DESCRIPTION
                     12: .B N.B.:
                     13: .I Dcheck
                     14: is obsoleted for normal consistency checking by
                     15: .IR fsck (8).
                     16: .PP
                     17: .I Dcheck
                     18: reads the directories in a file system
                     19: and compares
                     20: the link-count in each i-node with the number of directory
                     21: entries by which it is referenced.
                     22: If the file system is not specified,
                     23: a set of default file systems
                     24: is checked.
                     25: .PP
                     26: The
                     27: .B \-i
                     28: flag
                     29: is followed by a list of i-numbers;
                     30: when one of those i-numbers turns up
                     31: in a directory,
                     32: the number, the i-number of the directory,
                     33: and the name of the entry are reported.
                     34: .PP
                     35: The program is fastest if the
                     36: raw version of the special file is used,
                     37: since the i-list is read in large chunks.
                     38: .SH FILES
                     39: Default file systems vary with installation.
                     40: .SH "SEE ALSO"
                     41: fsck(8), icheck(8), filsys(5), clri(8), ncheck(8)
                     42: .SH DIAGNOSTICS
                     43: When a file turns up for which the link-count and the number
                     44: of directory entries disagree,
                     45: the relevant facts are reported.
                     46: Allocated files which have 0 link-count and no entries are also
                     47: listed.
                     48: The only dangerous situation
                     49: occurs when there are more entries than links;
                     50: if entries are removed,
                     51: so the link-count drops to 0,
                     52: the remaining entries point to thin air.
                     53: They should be removed.
                     54: When there are more links than entries, or there is
                     55: an allocated file with neither links nor entries,
                     56: some disk space may be lost but the situation will not degenerate.
                     57: .SH BUGS
                     58: Since
                     59: .I dcheck
                     60: is inherently two-pass in nature, extraneous diagnostics
                     61: may be produced if applied to active file systems.
                     62: .PP
                     63: .I Dcheck
                     64: is obsoleted by
                     65: .I fsck
                     66: and remains for historical reasons.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.