*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> dcheck (8)              
Title
Content
Arch
Section
 

dcheck(8)

Contents


NAME    [Toc]    [Back]

       dcheck - Checks directory consistency

SYNOPSIS    [Toc]    [Back]

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

OPTIONS    [Toc]    [Back]

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

DESCRIPTION    [Toc]    [Back]

       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    [Toc]    [Back]

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

ERRORS    [Toc]    [Back]

       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 potentially 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    [Toc]    [Back]

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

       Files: fs(4)



                                                        dcheck(8)
[ Back ]
 Similar pages
Name OS Title
quotacheck Tru64 Checks file system quota consistency
authck Tru64 Checks internal consistency of the authentication databases (Enhanced Security)
xfs_check IRIX check XFS filesystem consistency
quotacheck IRIX EFS filesystem quota consistency checker
fsck_msdos OpenBSD DOS/Windows (FAT) filesystem consistency checker
quotacheck OpenBSD filesystem quota consistency checker
quotacheck_hfs HP-UX quota consistency checker for HFS file systems
fsck.minix Linux a file system consistency checker for Linux
fsck OpenBSD filesystem consistency check and interactive repair
authck HP-UX check internal consistency of Authentication database
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service