From owner-freebsd-questions Tue Dec 11 7: 8:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dc-mx04.cluster1.charter.net (dc-mx04.cluster0.hsacorp.net [209.225.8.14]) by hub.freebsd.org (Postfix) with ESMTP id B53AE37B419 for ; Tue, 11 Dec 2001 07:08:08 -0800 (PST) Received: from [24.158.214.244] (HELO gforce.johnson.home) by dc-mx04.cluster1.charter.net (CommuniGate Pro SMTP 3.4.6) with ESMTP id 5831839; Tue, 11 Dec 2001 10:14:27 -0500 Received: (from glenn@localhost) by gforce.johnson.home (8.11.6/8.11.6) id fBBF86l00982; Tue, 11 Dec 2001 09:08:06 -0600 (CST) (envelope-from glenn) From: Glenn Johnson Date: Tue, 11 Dec 2001 09:08:06 -0600 To: "H. Wade Minter" Cc: questions@FreeBSD.ORG Subject: Re: mount_ext2fs and ext3? Message-ID: <20011211150806.GA899@gforce.johnson.home> Mail-Followup-To: glenn@FreeBSD.ORG, "H. Wade Minter" , questions@FreeBSD.ORG References: <20011211092824.T73556-100000@bunning.skiltech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011211092824.T73556-100000@bunning.skiltech.com> User-Agent: Mutt/1.3.24i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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