1CLRI(1M)                                                              CLRI(1M)
2
3
4

NAME

6       clri - clear i-node
7

SYNOPSIS

9       clri filesystem i-number ...
10

DESCRIPTION

12       Clri  writes  zeros  on  the  i-nodes with the decimal i-numbers on the
13       filesystem.  After clri, any blocks in the affected file will  show  up
14       as `missing' in an icheck(1) of the filesystem.
15
16       Read  and  write  permission  is  required on the specified file system
17       device.  The i-node becomes allocatable.
18
19       The primary purpose of this routine is to remove a file which for  some
20       reason  appears  in no directory.  If it is used to zap an i-node which
21       does appear in a directory, care should be  taken  to  track  down  the
22       entry and remove it.  Otherwise, when the i-node is reallocated to some
23       new file, the old entry will still point to that file.  At  that  point
24       removing  the  old entry will destroy the new file.  The new entry will
25       again point to an unallocated i-node, so the whole cycle is  likely  to
26       be repeated again and again.
27

SEE ALSO

29       icheck(1)
30

BUGS

32       If the file is open, clri is likely to be ineffective.
33
34
35
36                                                                      CLRI(1M)
Impressum