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

  man pages->HP-UX 11i man pages -> clri (1m)              


 clri(1M)                                                           clri(1M)

 NAME    [Toc]    [Back]
      clri - clear inode

 SYNOPSIS    [Toc]    [Back]
      /usr/sbin/clri special i-number  ...

 DESCRIPTION    [Toc]    [Back]
      The clri command clears the inode i-number by filling it with zeros.
      special must be a special file name referring to a device containing a
      file system.  For proper results, special should not be mounted (see
      WARNINGS below).  After clri is executed, all blocks in the affected
      file show up as "missing" in an fsck of special (see fsck(1M)).  This
      command should only be used in emergencies.

      Read and write permission is required on the specified special device.
      The inode becomes allocatable.

 WARNINGS    [Toc]    [Back]
      The primary purpose of this command is to remove a file that for some
      reason does not appear in any directory.  If it is used to clear an
      inode that does appear in a directory, care should be taken to locate
      the entry and remove it.  Otherwise, when the inode is reallocated to
      some new file, the old entry in the directory will still point to that
      file.  At that point, removing the old entry destroys the new file,
      causing the new entry to point to an unallocated inode, so the whole
      cycle is likely to be repeated again.

      If the file system is mounted, clri is likely to be ineffective.

 DEPENDENCIES    [Toc]    [Back]
      clri operates only on file systems of type hfs.

 SEE ALSO    [Toc]    [Back]
      fsck(1M), fsdb(1M), ncheck(1M).

      clri: SVID2, SVID3

 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003
[ Back ]
 Similar pages
Name OS Title
clri FreeBSD clear an inode
clri IRIX clear EFS inode
imon IRIX inode monitor device
fsirand FreeBSD randomize inode generation numbers
VFS_VGET FreeBSD convert an inode number to a vnode
ncheck_ffs OpenBSD generate names from inode-numbers
fsirand OpenBSD randomize inode generation numbers
ncheck OpenBSD generate names from inode-numbers
inode IRIX format of an Extent File System inode
fsirand HP-UX install random inode generation numbers
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service