Date: Wed, 6 Dec 2006 16:03:47 +0000 From: "Wojciech A. Koszek" <wkoszek@freebsd.org> To: Clayton Milos <clay@milos.co.za> Cc: FreeBSD STABLE <freebsd-stable@freebsd.org> Subject: Re: Mounting OpenBSD partitions Message-ID: <20061206160347.GA92068@FreeBSD.czest.pl> In-Reply-To: <00ed01c71949$1e277d80$fe03a8c0@claylaptop> References: <a8b8bb510612060518k7bb9a00fn136da8ec25f75661@mail.gmail.com> <00ed01c71949$1e277d80$fe03a8c0@claylaptop>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 06, 2006 at 05:13:43PM +0200, Clayton Milos wrote: > > ----- Original Message ----- > From: "Alex Burke" <alexjeffburke@gmail.com> > To: "FreeBSD STABLE" <freebsd-stable@freebsd.org> > 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061206160347.GA92068>