|
|
1.1 ! root 1: ! 2: ! 3: dcheck Command dcheck ! 4: ! 5: ! 6: ! 7: ! 8: Directory consistency check ! 9: ! 10: ! 11: ddcchheecckk [ -ss ] [ -ii _i_n_u_m_b_e_r ... ] _f_i_l_e_s_y_s_t_e_m ... ! 12: ! 13: dcheck performs a consistency check on each specified filesystem. ! 14: It scans all the directories in each filesystem and keeps counts ! 15: of all i-nodes referenced. It compares these counts against the ! 16: link counts maintained in the i-nodes. dcheck notes any dis- ! 17: crepancies, and notes allocated i-nodes with a 0 link count. ! 18: ! 19: If the -i switch is present, dcheck compares each inumber in the ! 20: list against those in each directory. It reports matches by ! 21: printing the i-number, the i-number of the parent directory, and ! 22: the name of the entry. ! 23: ! 24: The -s switch causes dcheck to correct the link count of errant ! 25: i-nodes to the entry count. ! 26: ! 27: Since dcheck is two-pass, the file system should be unmounted. ! 28: If -s is used on the root file system, the system should be ! 29: rebooted immediately (without performing a sync). The raw device ! 30: should be used. ! 31: ! 32: ***** See Also ***** ! 33: ! 34: check, dir.h, icheck, ncheck, sync, umount ! 35: ! 36: ***** Diagnostics ***** ! 37: ! 38: If the link count is 0 and there are entries, the file system ! 39: must be mounted and all entries removed immediately. If the link ! 40: count is nonzero and the entry count is larger, the -s option ! 41: must be used to make the counts agree. In all other cases there ! 42: may be wasted disk space but there is no danger of losing file ! 43: data. ! 44: ! 45: ***** Notes ***** ! 46: ! 47: In earlier releases of COHERENT, dcheck acted upon a default file ! 48: system if none was specified. ! 49: ! 50: This command has largely been replaced by fsck. ! 51: ! 52: ! 53: ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.