[TriLUG] creating ext3 partitions on the command line

Kevin - The Alchemist - Sonney alchemist at darkcanvas.com
Thu Feb 21 16:37:46 EST 2002


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, 
> but can not find the command to format the partitions. parted complains 
> that it does not have an implementation for ext3, and there is no 
> 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?

-- 
--------------------------------------------
--      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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20020221/c1340164/attachment.pgp>


More information about the TriLUG mailing list