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 5/12/88 1
%%index%% na:240,70; sy:310,253; de:563,1351; rv:1914,492; ca:2406,179; se:2585,109; %%index%%000000000108