|
|
1.1 ! root 1: .TH CLRI 8 "4 February 1983" ! 2: .UC 4 ! 3: .SH NAME ! 4: clri \- clear i-node ! 5: .SH SYNOPSIS ! 6: .B /etc/clri ! 7: filesystem i-number ... ! 8: .SH DESCRIPTION ! 9: .B N.B.: ! 10: .I Clri ! 11: is obsoleted for normal file system repair work by ! 12: .IR fsck (8). ! 13: .PP ! 14: .I Clri ! 15: writes zeros on the i-nodes ! 16: with the decimal ! 17: .I i-numbers ! 18: on the ! 19: .I filesystem. ! 20: After ! 21: .I clri, ! 22: any blocks ! 23: in the affected file ! 24: will show up as `missing' in an ! 25: .IR icheck (8) ! 26: of the ! 27: .I filesystem. ! 28: .PP ! 29: Read and write permission is required on the specified ! 30: file system device. ! 31: The i-node becomes allocatable. ! 32: .PP ! 33: The primary purpose of this routine ! 34: is to remove a file which ! 35: for some reason appears in no ! 36: directory. ! 37: If it is used to zap an i-node ! 38: which does appear in a directory, care should be taken to track down ! 39: the entry and remove it. ! 40: Otherwise, when the i-node is reallocated to some new file, ! 41: the old entry will still point to that file. ! 42: At that point removing the old entry will destroy the new file. ! 43: The new entry will again point to an unallocated i-node, ! 44: so the whole cycle is likely to be repeated again and again. ! 45: .SH "SEE ALSO" ! 46: icheck(8) ! 47: .SH BUGS ! 48: If the file is open, ! 49: .I clri ! 50: is likely to be ineffective.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.