From owner-freebsd-stable@FreeBSD.ORG Wed Dec 6 15:39:34 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2A00216A403 for ; Wed, 6 Dec 2006 15:39:34 +0000 (UTC) (envelope-from dunstan@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [80.48.250.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 796A243CAF for ; Wed, 6 Dec 2006 15:38:47 +0000 (GMT) (envelope-from dunstan@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [80.48.250.4]) by freebsd.czest.pl (8.13.4/8.12.9) with ESMTP id kB6G3mAP092196; Wed, 6 Dec 2006 16:03:48 GMT (envelope-from dunstan@freebsd.czest.pl) Received: (from dunstan@localhost) by freebsd.czest.pl (8.13.4/8.12.9/Submit) id kB6G3mr9092195; Wed, 6 Dec 2006 16:03:48 GMT (envelope-from dunstan) Date: Wed, 6 Dec 2006 16:03:47 +0000 From: "Wojciech A. Koszek" To: Clayton Milos Message-ID: <20061206160347.GA92068@FreeBSD.czest.pl> References: <00ed01c71949$1e277d80$fe03a8c0@claylaptop> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <00ed01c71949$1e277d80$fe03a8c0@claylaptop> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-2.0.2 (freebsd.czest.pl [80.48.250.4]); Wed, 06 Dec 2006 16:03:48 +0000 (UTC) Cc: FreeBSD STABLE Subject: Re: Mounting OpenBSD partitions X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2006 15:39:34 -0000 On Wed, Dec 06, 2006 at 05:13:43PM +0200, Clayton Milos wrote: > > ----- Original Message ----- > From: "Alex Burke" > To: "FreeBSD STABLE" > Sent: Wednesday, December 06, 2006 3:18 PM > Subject: Re: Mounting OpenBSD partitions > > > >Hi, > > > >What you need is a GEOM module called nbsd. Here is the link: > >http://www.26th.net/public/projects/freebsd/geom_nbsd/geom_nbsd.tgz > > > >This module is analgous to the default component (geom_bsd I believe > >it is called) that understands FreeBSD disklabels, but instead it > >understands NetBSD, OpenBSD and DragonFlyBSD disklabels. > > > >Once compiled and kldload'ed into the kernel, that module will allow > >you to mount your partitions from the OpenBSD disk. However, note that > >when I used it, there was some bug that did not allow you to get rid > >of the module (cannot rememeber whether it panicked, hung or just > >refused to unload), and so I simply rebooted once I had pulled the > >data off the drive I needed to. > > > >Incidentally, it seems a great shame that FreeBSD does not deliver > >this support in the base system, it would seem like a VERY useful > >thing to be able to do for users and developers who use a couple of > >the different BSD systems. > > > >Thanks and hope this helps, Alex J Burke. > > Alex > > You have a very valid point here. > FreeBSD's support for other FS' is horiffic. Very little else is supported > which I find very sad. > There is not even support for Solaris UFS. Something that would be really > nice would be support for XFS. Actually, I've worked on Solaris labels support in the past. It meant decoding their structures which is done: http://lists.freebsd.org/pipermail/freebsd-bugs/2005-February/011797.html Then, I hacked geom_sunlabel in order to accept minor changes between way of handling SPARC/x86 differences (number of labels). Result of this experiment was a set of readable slices and labels. I don't remember exact differences between Solaris/FreeBSD UFS, but I remember I was able to mess Solaris UFS with fsck(8) from FreeBSD, and after "correcting" file system [1], I was able to read files from Solaris label. [1] Solaris fsck(8) wasn't able to handle such serious brokeness, even after specifying alternative, backup superblock. -- Wojciech A. Koszek wkoszek@FreeBSD.org http://FreeBSD.czest.pl/dunstan/