


FSCK.EXT2(8)					 FSCK.EXT2(8)


NNAAMMEE
       fsck.ext2 - check a Linux second extended file system

SSYYNNOOPPSSIISS
       ffsscckk..eexxtt22 [ --aaccddffllmmrrssttvv ] [ --bb _f_i_l_e_n_a_m_e ] _d_e_v_i_c_e

DDEESSCCRRIIPPTTIIOONN
       ffsscckk..eexxtt22  is  used  to check a Linux second extended file
       system.
       _d_e_v_i_c_e is the special file  corresponding  to  the  device
       (e.g /dev/hdXX).

OOPPTTIIOONNSS
       _-_a     Automatically  repair  the  file system without any
	      questions (use this option with caution).

       _-_b _f_i_l_e_n_a_m_e
	      Read the bad blocks list from _f_i_l_e_n_a_m_e_.

       _-_c     Check the file system for bad blocks.

       _-_d     Print debugging  output  (useless	unless	you  are
	      debugging ffsscckk..eexxtt22 ).

       _-_f     Force checking even if the file system seems clean.

       _-_l     List all the file names in the file system.

       _-_m     Check that the device is not mounted.

       _-_r     Interactively repair the file system (ask for  con-
	      firmations).

       _-_s     List  the super block before checking the file sys-
	      tem.

       _-_t     Check the file system for bad blocks.

       _-_v     Verbose mode.

EEXXIITT CCOODDEE
       The exit code returned by ffsscckk..eexxtt22 is the sum of the fol-
       lowing conditions:
	    0	- No errors
	    1	- File system errors corrected
	    2	- File system errors corrected, system should
		   be rebooted if file system was mounted
	    4	- File system errors left uncorrected
	    8	- Operational error
	    16	- Usage or syntax error
	    128	- Shared library error

AAUUTTHHOORR
       ffsscckk..eexxtt22  is  based  on eeffsscckk(8) which is based itself on



Version 0.3a		June 1993				1





FSCK.EXT2(8)					 FSCK.EXT2(8)


       ffsscckk(8)	written     by     Linus     Torvalds	<tor-
       valds@cs.helsinki.fi> for the minix file system.
       Remy Card <card@masi.ibp.fr> has adapted it for the second
       extended file system and is maintaining it.
       Wayne Davison <davison@borland.com> has	contributed  lots
       of nice features.

BBUUGGSS
       ffsscckk..eexxtt22  cannot  repair  corrupted  super block or block
       descriptors yet.
       Please report other bugs to the author.

AAVVAAIILLAABBIILLIITTYY
       ffsscckk..eexxtt22 is available for anonymous ftp	from  ftp.ibp.fr
       (132.227.60.2) in /pub/linux/BETA/ext2fs.

SSEEEE AALLSSOO
       mmkkee22ffss(8), ttuunnee22ffss(8)







































Version 0.3a		June 1993				2


