📄 dcheck.1m
字号:
.TH DCHECK 1M .SH NAMEdcheck \- file system directory consistency check.SH SYNOPSIS.B dcheck[.B \-inumbers ][ filesystem ].SH DESCRIPTION.I Dcheckreads the directories in a file systemand comparesthe link-count in each i-node with the number of directoryentries by which it is referenced.If the file system is not specified,a set of default file systemsis checked..PPThe.B \-iflagis followed by a list of i-numbers;when one of those i-numbers turns upin a directory,the number, the i-number of the directory,and the name of the entry are reported..PPThe program is fastest if theraw version of the special file is used,since the i-list is read in large chunks..SH FILESDefault file systems vary with installation..SH "SEE ALSO"icheck(1), filsys(5), clri(1), ncheck(1).SH DIAGNOSTICSWhen a file turns up for which the link-count and the numberof directory entries disagree,the relevant facts are reported.Allocated files which have 0 link-count and no entries are alsolisted.The only dangerous situationoccurs when there are more entries than links;if entries are removed,so the link-count drops to 0,the remaining entries point to thin air.They should be removed.When there are more links than entries, or there isan allocated file with neither links nor entries,some disk space may be lost but the situation will not degenerate..SH BUGSSince.I dcheckis inherently two-pass in nature, extraneous diagnosticsmay be produced if applied to active file systems.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -