COHERENT manpages
This page displays the COHERENT manpage for clri [Clear i-node].
List of available manpages
Index
clri -- Command
Clear i-node
/etc/clri filesystem inumber ...
clri zeroes out each i-node with inumber on filesystem. filesystem is
almost always a device-special file that corresponds to a disk device,
e.g., /dev/rat0a or /dev/rsd1c. The raw device should be used. For
example, the command
/etc/clri /dev/rat0a 8250
clears i-node 8250 on the file system on device /dev/rat0a, which is the
first partition on your first AT hard disk.
The user must have read and write permission on the filesystem. If the file
that inumber identifies is open, then clri probably will not work as you
expect: the system maintains in core memory a copy of all active i-nodes,
and the kernel will eventually write this copy to disk, thus undoing the
action of clri. To ensure that this does not happen, unmount the file
system before you running clri. If the i-node is for the root file system,
reboot the system immediately after you run clri.
See Also
commands,
dcheck,
fsck,
icheck,
i-node,
umount