Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fsck(8)

fsdb(8)

ncheck(8)

rm(1)

fs(0)



  clri(8)                             CLIX                             clri(8)



  NAME

    clri - Clears inode

  SYNOPSIS

    /etc/clri special i-number ...

  DESCRIPTION

    The clri command clears inodes.  The command writes nulls on the 64 bytes
    at offset i-number from the start of the inode list, this effectively
    eliminates the inode at that address.  The special argument is the device
    name on which a file system has been defined.  After clri is executed, any
    blocks in the affected file will show up as ``not accounted for'' when
    fsck is run against the file system.  The inode may be allocated to a new
    file.

    Read and write permission is required on the specified special device.

    This command is used to remove a file which appears in no directory; that
    is, to get rid of a file which cannot be removed with the rm command.

  CAUTIONS

    If the file is open for writing, clri will not work.  The file system
    containing the file should be not mounted.

    If clri is used on the inode number of a file that does appear in a
    directory, it is imperative to remove the entry in the directory at once,
    since the inode may be allocated to a new file.  The old directory entry,
    if not removed, continues to point to the same file.  This sounds like a
    link, but does not work like one.  Removing the old entry destroys the new
    file.

  RELATED INFORMATION

    Commands: fsck(8), fsdb(8), ncheck(8), rm(1)

    Files: fs(0)














  2/94 - Intergraph Corporation                                              1




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026