From owner-freebsd-hackers@FreeBSD.ORG Sun Dec 25 13:54:49 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BE6016A449 for ; Sun, 25 Dec 2005 13:54:49 +0000 (GMT) (envelope-from anatoli@aksoft.net) Received: from 26th.net (26th.net [217.79.183.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id B626443D46 for ; Sun, 25 Dec 2005 13:54:48 +0000 (GMT) (envelope-from anatoli@aksoft.net) Received: from [192.168.0.26] (t54fc4444.pool.terralink.de [84.252.68.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by 26th.net (Postfix) with ESMTP id CB8A81E933 for ; Sun, 25 Dec 2005 14:54:46 +0100 (CET) Message-ID: <43AEA4AC.80400@aksoft.net> Date: Sun, 25 Dec 2005 14:54:52 +0100 From: Anatoli Klassen User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <20051217122006.GA2758@twelvegates.homeip.net> <20051217134258.GC1706@britannica.bec.de> <20051217171029.GB14214@twelvegates.homeip.net> <20051217204417.GA27466@twelvegates.homeip.net> In-Reply-To: <20051217204417.GA27466@twelvegates.homeip.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: accessing NetBSD filesystem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Dec 2005 13:54:49 -0000 Hanspeter Roth wrote: > Fdisk shows sysid 165 (0xa5) for partition 3. This is where FreeBSD > is installed. And Fdisk shows sysid 169 (0xa9) for partition 4. This > is where NetBSD is installed. > In /dev there are ad0s3 and ad0s3[a-g] but there is only a ad0s4. > So how can filesystems of my NetBSD in ad0s4 be accessed? > AFAIK you can access only the 'a' partition of the NetBSD slice. Just mount it. If you need other partitions, try to use following module: http://www.26th.net/public/projects/freebsd/geom_nbsd/geom_nbsd.tgz 1. Download, unpack, go it to the dir. 2. Say "make". 3. Sys "kldload ./geom_nbsd.ko" 4. All /dev/ad0s3[a-g] should appear. 5. Now mount all partitions as usual. The module is tested on 6.x and CURRENT. One known bug - it's impossible to unload it, you have to reboot for this.