You are not logged in.

#1 2008-10-13 10:29:33

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

[Solved] Help with mke2fs

Hello, I've been doing some changes on my hd and when I was going to format the new partitions with

sudo mke2fs -t ext3 /dev/sda6

this is what i got

Warning!  Your mke2fs.conf file does not define the ext3 filesystem type.
You probably need to install an updated mke2fs.conf file.

In the meantime I was able to do it with

sudo mke2fs -j /dev/sda6

but I still received the message above. I did google it I didn't find any info about it.
Can anyone shed some light on this?

thx in Advance

Last edited by R00KIE (2008-10-16 13:35:17)


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#2 2008-10-13 10:47:34

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: [Solved] Help with mke2fs

From the mke2fs man-page:

-T: Specify how the filesystem is going to be used, so that mke2fs can choose optimal filesystem parameters for that use. The filesystem types that are can be supported are defined in the configuration file /etc/mke2fs.conf(5). The default configuration file contains definitions for the filesystem types: small, floppy, news, largefile, and largefile4

"-T" is not used to specify whether you want ext2 or 3, but how either filesystem would be used...

"mke2fs -j" says you want to make an ext3 filesystem


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#3 2008-10-13 14:19:13

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: [Solved] Help with mke2fs

What's wrong with 'mkfs -t ext3 /dev/sda6' ??

When you use mke2fs you explicitly ask for ext2, though you may select ext3 by using the 'j'-switch.
mkfs is but a frontend to mke2fs, but it will provide appropriate switches for you, while mke2fs will not.

**sigh** edited to mke2fs instead of mkfse2

Last edited by perbh (2008-10-13 16:09:19)

Offline

#4 2008-10-16 13:29:52

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [Solved] Help with mke2fs

Ok smile thx for the explanation, now I see what i was doing wrong. I remember I have used mkfs -t ext3 before and now I was trying to do the same, just wrong command name tongue


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB