clri.1m
来自「unix v7是最后一个广泛发布的研究型UNIX版本」· 1M 代码 · 共 45 行
1M
45 行
.TH CLRI 1M .SH NAMEclri \- clear i-node.SH SYNOPSIS.B clrifilesystem i-number ....SH DESCRIPTION.I Clriwrites zeros on the i-nodeswith the decimal.I i-numberson the.I filesystem.After.I clri,any blocksin the affected filewill show up as `missing' in an.IR icheck (1)of the.I filesystem..PPRead and write permission is required on the specifiedfile system device.The i-node becomes allocatable..PPThe primary purpose of this routineis to remove a file whichfor some reason appears in nodirectory.If it is used to zap an i-nodewhich does appear in a directory, care should be taken to track downthe entry and remove it.Otherwise, when the i-node 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 i-node,so the whole cycle is likely to be repeated again and again..SH "SEE ALSO"icheck(1).SH BUGSIf the file is open,.I clriis likely to be ineffective.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?