From owner-freebsd-geom@FreeBSD.ORG Fri Apr 14 11:47:53 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A554616A400 for ; Fri, 14 Apr 2006 11:47:53 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5563143D45 for ; Fri, 14 Apr 2006 11:47:53 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k3EBlqS5057938; Fri, 14 Apr 2006 06:47:52 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <443F8BDA.4070802@centtech.com> Date: Fri, 14 Apr 2006 06:47:38 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5 (X11/20060402) MIME-Version: 1.0 To: Jens Schweikhardt References: <20060414112816.GA1588@schweikhardt.net> In-Reply-To: <20060414112816.GA1588@schweikhardt.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1398/Fri Apr 14 04:03:44 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: freebsd-geom@freebsd.org Subject: Re: RFC: Enhance GEOM to mount NetBSD partitions X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Apr 2006 11:47:53 -0000 Jens Schweikhardt wrote: > hello, world\n > > it appears FreeBSD is only able to mount a very limited set of partitions > in a slice with sysid = 169 (NetBSD). To be precise, FreeBSD can only mount > the a: partition of such a slice, because it's the only partition for which > an entry in /dev exists, e.g. I can "mount /dev/ad0s1 /dev". This provides > access to the NetBSD root partition (wd0a in NetBSD lingo). Other partitions > within that slice, e.g. /home on what NetBSD calls wd0e are inaccessible. > > We all know NetBSD has a different (and shall we say counterintuitive) > philosophy regarding disklabels and partition numbering. I find it > slightly ashaming that we can't even mount our brother BSD's UFS1 and > UFS2 in general at least on architectures using the canonical MBR format. > > Is anyone here who has more than two out of {time, interest, ability} to > implement a geom provider (is that the correct terminus technicus?) for > FreeBSD allowing to mount all partitions in a slice with sysid = 169 > (NetBSD)? The difference of a NetBSD disklabel appears to be the number > of partitions (16 instead of 8) and the semantics of the c: ("complete > slice") and d: ("complete disk") entries on i386. > > If you guys are swamped with other interesting projects, would anyone > be willing to be a mentor for the upcoming Google "Summer of Code"? The best help I can give you, is to point you to this thread: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=479157+0+archive/2006/freebsd-current/20060319.freebsd-current Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------