Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Dec 2001 09:08:06 -0600
From:      Glenn Johnson <glennpj@charter.net>
To:        "H. Wade Minter" <minter@lunenburg.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: mount_ext2fs and ext3?
Message-ID:  <20011211150806.GA899@gforce.johnson.home>
In-Reply-To: <20011211092824.T73556-100000@bunning.skiltech.com>
References:  <20011211092824.T73556-100000@bunning.skiltech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 11, 2001 at 09:30:10AM -0500, H. Wade Minter wrote:

> I'm pretty sure the answer is "no", but thought I'd ask anyway.
> Since the Linux ext2 and ext3 filesystems are fairly compatible, can
> FreeBSD's mount_ext2fs command (with EXT2FS support compiled into the
> kernel) be used to mount an ext3 filesystem?

I can not provide a definitive answer but I can explain my experience.
I have a dual boot system with Mandrake and FreeBSD.  I have a primary
Linux partition that I use to shuttle information between the two
operating systems.  The other day I was updating from Mandrake 8.0 to
Mandrake 8.1 and I inadvertently changed the "shuttle" partition from
ext2 to ext3.  To my surprise, FreeBSD was able to mount the partition,
read, and write to it.  I was not entirely comfortable with this so I
went back into the Mandrake setup program and changed that partition
back to ext2.  I got a warning that changing the type would cause all
data on that partition to be lost.  I did not have anything critical on
there so proceeded.  It turns out though that all of the data is still
there.  I did not write anything to that partition while booted into
Linux so I do not know if that would have caused something to change on
the partition that would have tripped up FreeBSD.  I may try that if I
get some extra time.

> I'm trying, but getting an "incorrect superblock" error.

A couple of things come to mind:

[1] Do you have 'options EXT2FS' in your kernel config?

[2] Is the Linux partition on a primary or extended partition?  I do not
    think FreeBSD can mount an extended partition.

I hope that helps.

-- 
Glenn Johnson
glennpj@charter.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011211150806.GA899>