


MKFS.EXT2(8)					 MKFS.EXT2(8)


NNAAMMEE
       mkfs.ext2 - create a Linux second extended file system

SSYYNNOOPPSSIISS
       mmkkffss..eexxtt22 [ --cc | --tt | --ll _f_i_l_e_n_a_m_e ] [ --bb block-size ] [ --ff
       fragment-size ] [ --ii  _b_y_t_e_s_-_p_e_r_-_i_n_o_d_e  ]	[  --mm	_r_e_s_e_r_v_e_d_-
       _b_l_o_c_k_s_-_p_e_r_c_e_n_t_a_g_e ] [ --vv ] _d_e_v_i_c_e [ _b_l_o_c_k_s_-_c_o_u_n_t ]

DDEESSCCRRIIPPTTIIOONN
       mmkkffss..eexxtt22  is  used to create a Linux second extended file
       system on a device (usually a disk partition).
       _d_e_v_i_c_e is the special file  corresponding  to  the  device
       (e.g /dev/hdXX).
       _b_l_o_c_k_s_-_c_o_u_n_t  is	the  number of blocks on the device.  If
       omitted, mmkkffss..eexxtt22 automagically figures the  file  system
       size.

OOPPTTIIOONNSS
       _-_b _b_l_o_c_k_-_s_i_z_e
	      Specify the size of blocks in bytes.

       _-_c     Check the device for bad blocks before creating the
	      file system.

       _-_f _f_r_a_g_m_e_n_t_-_s_i_z_e
	      Specify the size of fragments in bytes.

       _-_i _b_y_t_e_s_-_p_e_r_-_i_n_o_d_e
	      Specify the bytes/inode ratio.   mmkkffss..eexxtt22  creates
	      an  inode	for every _b_y_t_e_s_-_p_e_r_-_i_n_o_d_e bytes of space
	      on the disk.  This value defaults	to  4096  bytes.
	      _b_y_t_e_s_-_p_e_r_-_i_n_o_d_e must be at least 1024.

       _-_l _f_i_l_e_n_a_m_e
	      Read the bad blocks list from _f_i_l_e_n_a_m_e

       _-_m _r_e_s_e_r_v_e_d_-_b_l_o_c_k_s_-_p_e_r_c_e_n_t_a_g_e
	      Specify  the  percentage of reserved blocks for the
	      super-user.  This value defaults to 5%.

       _-_t     Check the device for bad blocks before creating the
	      file system.

       _-_v     Verbose execution.

AAUUTTHHOORR
       mmkkffss..eexxtt22  is  based  on mmkkeeffss(8) which is based itself on
       mmkkffss(8)	written     by     Linus     Torvalds	<tor-
       valds@cs.helsinki.fi> for the minix file system.
       Remy  Card <card@masi.ibp.fr> has adapted it to the second
       extended file system and is maintaining it.
       Adam Richter <adam@soda.berkeley.edu> added the	automatic
       file system size detection.




Version 0.3a		June 1993				1





MKFS.EXT2(8)					 MKFS.EXT2(8)


BBUUGGSS
       mmkkffss..eexxtt22  accepts  the	-b  and	-f  option but currently
       ignores them because the second extended file system  does
       not support variable block sizes nor fragments yet.
       The  -g	option	has  been  added quickly and has not been
       tested.
       There may be some other ones.  Please, report them to  the
       author.

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

SSEEEE AALLSSOO
       ee22ffsscckk(8), ttuunnee22ffss(8)










































Version 0.3a		June 1993				2


