ICHECK(8) BSD System Manager's Manual ICHECK(8) NNAAMMEE icheck - file system storage consistency check SSYYNNOOPPSSIISS iicchheecckk [ --bb numbers ] [ filesystem ] DDEESSCCRRIIPPTTIIOONN NN..BB..:: _I_c_h_e_c_k is obsoleted for normal consistency checking by _f_s_c_k(8). _I_c_h_e_c_k examines a file system, builds a bit map of used blocks, and compares this bit map against the free map maintained on the file system. If the file system is not specified, a set of default file systems is checked. The normal output of _i_c_h_e_c_k includes a report of The total number of files and the numbers of regu- lar, directory, block special and character special files. The total number of blocks in use and the numbers of single-, double-, and triple-indirect blocks and directory blocks. The number of free blocks. The number of blocks missing; i.e. not in any file nor in any free map. Following the --bb option is a list of block numbers; when- ever any of the named blocks turns up in a file, a diag- nostic is produced. _I_c_h_e_c_k is faster if the raw version of the special file is used, since it reads the i-list many blocks at a time. FFIILLEESS Default file systems vary with installation. SSEEEE AALLSSOO fsck(8), dcheck(8), ncheck(8), fs(5), clri(8) DDIIAAGGNNOOSSTTIICCSS For duplicate blocks and bad blocks (which lie outside the file system) _i_c_h_e_c_k announces the difficulty, the i- number, and the kind of block involved. If a read error is encountered, the block number of the bad block is printed and _i_c_h_e_c_k considers it to contain 0. BBUUGGSS Since _i_c_h_e_c_k is inherently two-pass in nature, extraneous 4th Berkeley Distribution June 5, 1993 1 ICHECK(8) BSD System Manager's Manual ICHECK(8) diagnostics may be produced if applied to active file sys- tems. It believes even preposterous super-blocks and conse- quently can get core images. 4th Berkeley Distribution June 5, 1993 2