Sun Microsystems Sun Workstation 100U System Manager's Manual page 167

Table of Contents

Advertisement

CLRI( 8)
MAINTENANCE COMMANDS
CLRI( 8)
NAME
clri - clear i-node
SYNOPSIS
I
etel
drl filesystem i-n umber ...
DESCRIPTION
N.B.I Clr; is obsoleted lor normal file system repair work by J8ck(8).
Clri writes zeros on the i-nodes with the decimal i-number8 on the jile8Y8tem. Alter elri, any
blocks in the affected file will show up as 'missing' in an icheck(8) 01 the jile8118tem.
RfJad and write permission is required on the specified file system device. The i-node becomes
a1lpcatable.
The primary purpose 01 this routine is to remove a file which lor some reason appears in no direc-
tQ". II it is used to zap an i-node which does appear in a directory, care should
be
taken to track
down the entry and remove it. Otherwise, when the i-node is reallocated to some new file, the old
en~ry
will
still point to that file. At that point removing the old entry will destroy the new file.
T~e
new entry will again point to an unallocated i-node, so the whole cycle is likely to be
repeated again and again.
SEEALS~
ic~~ck(8)
BUGS
II the file
is
open, elri is likely to be ineffective.
12
Last change: 4 February 1983
Sun Release 1.1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents