icheck man page on Ultrix

Man page or keyword search:  
man Server   3690 pages
apropos Keyword Search (all sections)
Output format
Ultrix logo
[printable version]

icheck(8)							     icheck(8)

Name
       icheck - check inode consistency

Syntax
       /etc/icheck [ -s ]  [ -b numbers ] [ filesystem ]

Description
       The command is obsoleted for normal consistency checking by

       The  command  examines  a file system, builds a bit map of used blocks,
       and compares this bit map against the free list maintained on the  file
       system.	 If  the  file	system is not specified, a set of default file
       systems is checked.  The normal output of includes a report of:

       ·   The total number of files and the numbers  of  regular,  directory,
	   block special and character special files.

       ·   The	total number of blocks in use and the numbers of single-, dou‐
	   ble-, and triple-indirect blocks and directory blocks.

       ·   The number of free blocks.

       ·   The number of blocks missing, that is, not in any file nor  in  the
	   free list.

       The  option causes to ignore the actual free list and reconstruct a new
       one by rewriting the super-block of the file system.  The  file	system
       should  be  dismounted while this is done; if this is not possible (for
       example if the root file system has to  be  salvaged)  care  should  be
       taken  that the system is quiescent and that it is rebooted immediately
       afterwards so that the old, bad in-core copy of	the  super-block  will
       not continue to be used.	 Notice also that the words in the super-block
       which indicate the size	of  the	 free  list  and  of  the  i-list  are
       believed.  If the super-block has been curdled these words will have to
       be patched.  The option causes the normal output	 reports  to  be  sup‐
       pressed.

       Following  the  option  is a list of block numbers; whenever any of the
       named blocks turns up in a file, a diagnostic is produced.

       The command is faster if the raw version of the special file  is	 used,
       since it reads the i-list many blocks at a time.

Diagnostics
       For duplicate blocks and bad blocks (which lie outside the file system)
       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 considers it to contain 0.  `Bad freeblock'	means  that  a
       block  number  outside  the available space was encountered in the free
       list.  `n dups in free' means that n blocks were found in the free list
       which  duplicate	 blocks	 either in some file or in the earlier part of
       the free list.

Restrictions
       Since is inherently two-pass in nature, extraneous diagnostics  may  be
       produced if applied to active file systems.

       It  believes  even  preposterous	 super-blocks and consequently can get
       core images.

Files
       Default file systems vary with installation.

See Also
       fs(5), clri(8), dcheck(8), fsck(8), ncheck(8)

								     icheck(8)
[top]

List of man pages available for Ultrix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
...................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net