osf1 man page for clri

Query: clri

OS: osf1

Section: 8

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

clri(8) 						      System Manager's Manual							   clri(8)

NAME
clri - Clears i-nodes
SYNOPSIS
/usr/sbin/clri filesystem i-number ...
DESCRIPTION
The clri command is obsoleted for normal file system repair work by the fsck command. The clri command writes zeros on the i-nodes with the decimal i-numbers on the specified filesystem. After clri has finished its work, any blocks in the affected file are defined as "missing" when you run icheck on the filesystem. Read and write permission is required on the specified file system device. The i-node becomes allocatable. The primary purpose of this routine is to remove a file which does not appear in any directory. If you use the command to remove an i-node which does appear in a directory, take care to track down the entry and remove it. Otherwise, when the i-node is reallocated to some new file, the old entry will still point to that file. If you then remove the old entry, you will destroy the new file, and the new entry will again point to an unallocated i-node. Consequently, the entire cycle repeats itself. You must be root to use this command. If the file is open, clri is likely to be ineffective.
FILES
Specifies the command path
RELATED INFORMATION
Commands: icheck(8) delim off clri(8)
Related Man Pages
clri(1m) - opensolaris
clri(1m) - hpux
clri(1m) - sunos
clri(1m) - linux
clri(1m) - posix
Similar Topics in the Unix Linux Community
Help with can't get execution attributes
How to manage file names with special characters
Can't delete a file in the trash on OSX 10.11.6
Undeletable file