From owner-freebsd-questions@FreeBSD.ORG Tue Feb 1 12:35:10 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74B2416A4D2 for ; Tue, 1 Feb 2005 12:35:10 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA4FB43D41 for ; Tue, 1 Feb 2005 12:35:08 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j11CZ6Ys020532 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Feb 2005 04:35:07 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j11CZ6H9020530; Tue, 1 Feb 2005 04:35:06 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Tue, 1 Feb 2005 04:35:06 -0800 From: "Loren M. Lang" To: "Loren M. Lang" Message-ID: <20050201123506.GN8619@alzatex.com> References: <20050128031733.GA32309@alzatex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050128031733.GA32309@alzatex.com> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: FreeBSD Mailing list Subject: Re: How does FreeBSD access NetBSD, OpenBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Feb 2005 12:35:10 -0000 On Thu, Jan 27, 2005 at 07:17:33PM -0800, Loren M. Lang wrote: > I have FreeBSD, OpenBSD, and NetBSD on the same hard drive of my system. > How can I mount the NetBSD or OpenBSD partitions from FreeBSD? > > Slice 1 - Ext3fs for data between linux/bsd > Slice 2 - OpenBSD slice with 4 ufs partitions and swap (a,b,e,f,g) > Slice 3 - FreeBSD slice with 4 ufs partitions and swap (a,b,d,e,f) > Slice 4 - Extended slice composed of: > Slice 5 - NetBSD slice with 4 ufs partitions and swap (a,b,e,f,g) > Slice 6 - Unformatted as of yet. > > FreeBSD is, of course running fine, but I can't see any of the other > slices/partitions on the drive including the ext3fs partition. > $ ls /dev/ad1* > /dev/ad1 /dev/ad1s3 /dev/ad1s3c /dev/ad1s3f > /dev/ad1s6 > /dev/ad1s1 /dev/ad1s3a /dev/ad1s3d /dev/ad1s4 > /dev/ad1s2 /dev/ad1s3b /dev/ad1s3e /dev/ad1s5 > > I can seem to access all the linux partitions on my first drive ad0, > but that drive is only linux so there are no complex partitions in > slices like on ad1. I would expect that the nature of geom, I should > be able to access all the partitions fine, but I might be missing > something. Looking further into this, it seems that FreeBSD, OpenBSD, and NetBSD all have unique partition ids to represent their diskslice and geom_bsd that translates the FreeBSD diskslices only looks for partitions with the id reserved for FreeBSD so it will never find a NetBSD or OpenBSD slice in any combination, even if it's on it's own harddrive. Do all there BSDs actually use a different format for their diskslice or why do they use different ids. If they are different, I would still expect them to be similiar. If that's the case, then it should be a simple matter in FreeBSD 5.x to write a geom that translates the other BSD diskslices as well. Are their any good resources describing the different BSD diskslice formats. I might try taking some time and maybe write a geom so FreeBSD can read them. > > > -- > I sense much NT in you. > NT leads to Bluescreen. > Bluescreen leads to downtime. > Downtime leads to suffering. > NT is the path to the darkside. > Powerful Unix is. > > Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc > Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C