|
|
1.1 ! root 1: .\" Copyright (c) 1980 Regents of the University of California. ! 2: .\" All rights reserved. The Berkeley software License Agreement ! 3: .\" specifies the terms and conditions for redistribution. ! 4: .\" ! 5: .\" @(#)icheck.8 6.3 (Berkeley) 6/24/90 ! 6: .\" ! 7: .TH ICHECK 8 "June 24, 1990" ! 8: .UC 4 ! 9: .SH NAME ! 10: icheck \- file system storage consistency check ! 11: .SH SYNOPSIS ! 12: .B icheck ! 13: [ ! 14: .B \-b ! 15: numbers ] ! 16: [ filesystem ] ! 17: .SH DESCRIPTION ! 18: .B N.B.: ! 19: .I Icheck ! 20: is obsoleted for normal consistency checking by ! 21: .IR fsck (8). ! 22: .PP ! 23: .I Icheck ! 24: examines a file system, ! 25: builds a bit map of used blocks, ! 26: and compares this bit map against ! 27: the free map maintained on the file system. ! 28: If the file system is not specified, ! 29: a set of default file systems ! 30: is checked. ! 31: The normal output of ! 32: .I icheck ! 33: includes a report of ! 34: .IP "" ! 35: The total number of files and the numbers of ! 36: regular, directory, block special and character special files. ! 37: .IP "" ! 38: The total number of blocks in use and the numbers of ! 39: single-, double-, and triple-indirect blocks and directory blocks. ! 40: .IP "" ! 41: The number of free blocks. ! 42: .IP "" ! 43: The number of blocks missing; i.e. not in any file ! 44: nor in any free map. ! 45: .PP ! 46: Following the ! 47: .B \-b ! 48: option is a list of block numbers; ! 49: whenever any of the named blocks turns up in a file, ! 50: a diagnostic is produced. ! 51: .PP ! 52: .I Icheck ! 53: is faster if the raw version of the special file is used, ! 54: since it reads the i-list many blocks at a time. ! 55: .SH FILES ! 56: Default file systems vary with installation. ! 57: .SH "SEE ALSO" ! 58: fsck(8), dcheck(8), ncheck(8), ! 59: fs(5), clri(8) ! 60: .SH DIAGNOSTICS ! 61: For duplicate blocks ! 62: and bad blocks (which lie outside the file system) ! 63: .I icheck ! 64: announces the difficulty, the i-number, and the kind of block involved. ! 65: If a read error is encountered, ! 66: the block number of the bad block is printed and ! 67: .I icheck ! 68: considers it to contain 0. ! 69: .SH BUGS ! 70: Since ! 71: .I icheck ! 72: is inherently two-pass in nature, extraneous diagnostics ! 73: may be produced if applied to active file systems. ! 74: .PP ! 75: It believes even preposterous super-blocks and ! 76: consequently can get core images.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.