[TriLUG] creating ext3 partitions on the command line

Kevin - The Alchemist - Sonney trilug@trilug.org
21 Feb 2002 16:37:46 -0500


--=-SpdKlcACTJ+ZRcfviv+o
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2002-02-21 at 16:31, sgblanch wrote:
> I am trying to create some ext3 partitions by hand on a redhat 7.2 box,=20
> but can not find the command to format the partitions. parted complains=20
> that it does not have an implementation for ext3, and there is no=20
> mkfs.ext3, or mke3fs. I am somewhat befuddled at this...

Actually, etx3 is really ext2 with journaling enabled, so you use mke2fs
like so :

mke2fs -j /dev/[partition]
       ^^

The -j tells mke2fs to make a journaled file system. if you mount it as
ext2, you don't get the journal, but if you mount it as ext3, you do.

ext3 is, in that way, backwards compatible. Nifty, eh?

--=20
--------------------------------------------
--      Kevin "The Alchemist" Sonney      --
--  ICQ: 4855069            AIM: ksonney  --
--------------------------------------------
320C 0336 3BC4 13EC 4AEC  6AF2 525F CED7 7BB6 12C9

"I will rule you all with an Iron Fist! You! Obey the fist!" - Zim

--=-SpdKlcACTJ+ZRcfviv+o
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA8dWiqUl/O13u2EskRAoONAJ9tgBgs3T8r6ZA20UbLeOTxdchdqACePqVw
8nuSBiR4hcOeuNwv9pEisHU=
=znjL
-----END PGP SIGNATURE-----

--=-SpdKlcACTJ+ZRcfviv+o--