dcheck man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

dcheck(8)							     dcheck(8)

NAME
       dcheck - Checks directory consistency

SYNOPSIS
       /usr/sbin/dcheck [-i inumbers] [filesystem]

OPTIONS
       The  -i	option	is  specified  with a list of inumbers. If a specified
       inumber is found in a directory, the dcheck command displays the	 inum‐
       ber, the inumber of the directory, and the name of the entry.

DESCRIPTION
       The  fsck  command supersedes the dcheck command for normal consistency
       checking.

       The dcheck command reads the directories in a file system and  compares
       the  link-count	in  each inode with the number of directory entries by
       which it is referenced. If a file system is not	specified,  a  set  of
       default file systems is checked.

       To get optimum performance, specify the raw version of the special file
       because the ilist is read in large chunks.

RESTRICTIONS
       Because the dcheck command uses two passes to check directories, it may
       produce erroneous diagnostics if active file systems are checked.

ERRORS
       If  a  file  is	found  and  the link-count and the number of directory
       entries do not agree, dcheck reports  relevant  information.  Allocated
       files  that  have 0 link-count and no entries are also listed. A poten‐
       tially dangerous situation occurs if there are more entries than links.
       If  entries  are	 removed  and  the  link-count	drops to zero (0), the
       remaining entries point to nothing should be removed. If there are more
       links  than entries or if there is an allocated file with neither links
       nor entries, some disk space may be lost.

SEE ALSO
       Commands: clri(8), fsck(8), icheck(8), ncheck(8)

       Files: fs(4)

								     dcheck(8)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net