CLRI(8) COMMAND REFERENCE CLRI(8)
NAME
clri - clear inode
SYNOPSIS
/etc/clri filesystem i-number ...
DESCRIPTION
N.B.: Clri has been replaced by fsck(8) for normal file
system repair work.
Clri writes zeros on the inodes numbered i-number on the
specified filesystem. Filesystem is a special file name
referring to a device containing a file system. The command
should only be used in emergencies and extreme care should
be exercised.
Read and write permission is required on filesystem. The
inode becomes allocatable.
The primary purpose of this routine is to remove a file
which for some reason appears in no directory. If it is
used to zap an inode which does appear in a directory, care
should be taken to track down the entry and remove it.
Otherwise, when the inode is reallocated to some new file,
the old entry will still point to that file. At that point
removing the old entry will destroy the new file. The new
entry will again point to an unallocated inode, so the whole
cycle is likely to be repeated again and again.
RETURN VALUE
[NO_ERRS] Command completed without error.
[USAGE] Incorrect command line syntax. Execution
terminated.
[NP_WARN] An error warranting a warning message
occurred. Execution continues.
[NP_ERR] An error occurred that was not a system
error. Execution terminated.
CAVEATS
If the file is open, clri is likely to be ineffective.
SEE ALSO
fsck(8).
Printed 10/17/86 1
%%index%%
na:72,54;
sy:126,185;
de:311,1255;
rv:1566,448;
ca:2014,135;
se:2149,81;
%%index%%000000000106