From owner-freebsd-current Sun Oct 13 16:40: 0 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E61BC37B401 for ; Sun, 13 Oct 2002 16:39:58 -0700 (PDT) Received: from pimout1-ext.prodigy.net (pimout1-ext.prodigy.net [207.115.63.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E77543EAC for ; Sun, 13 Oct 2002 16:39:58 -0700 (PDT) (envelope-from wa1ter@hotmail.com) Received: from hotmail.com (adsl-66-126-110-174.dsl.lsan03.pacbell.net [66.126.110.174]) by pimout1-ext.prodigy.net (8.12.3 da nor stuldap/8.12.3) with ESMTP id g9DNduLE282348 for ; Sun, 13 Oct 2002 19:39:57 -0400 Message-ID: <3DAA03D0.5010900@hotmail.com> Date: Sun, 13 Oct 2002 16:37:52 -0700 From: walt Organization: none User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021001 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: GEOM and NetBSD partitions/disklabels References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG BOUWSMA Beery wrote: > ...That is, your kernel can mount the NetBSD partitions with their 16 > partitions within, even if `disklabel' doesn't work yet... Heh, I just mounted the NBSD partition using an un-patched FBSD kernel with GEOM, even though disklabel (recompiled) refuses to list it. Here's what I see: #l /mnt ls: altroot: Bad file descriptor ls: bsd: Bad file descriptor ls: bsd.old: Bad file descriptor ls: dev: Bad file descriptor ls: fbsd: Bad file descriptor ls: mnt: Bad file descriptor ls: usr: Bad file descriptor ls: var: Value too large to be stored in data type total 1498363071 drwxr-xr-x 16 root wheel 512 Aug 4 2001 ./ drwxr-xr-x 23 root wheel 512 Oct 13 16:18 ../ -rw-r--r-- 2 root wheel 669 Apr 28 2001 .cshrc -rw-r--r-- 2 root wheel 148 Apr 28 2001 .profile -rw-r--r-- 1 root wheel 3947412 Jul 25 2001 GENERIC dr-x-w--wt 18770 root wheel 3473181757988490561 Oct 4 2013 bin/ -r-xr-xr-x 1 root wheel 53248 Jul 25 2001 boot* drwxr-xr-x 2 root wheel 512 Jul 25 2001 cdrom/ c--Sr-xrwt 9248 1348826468 544437612 109, 0x69740062 Dec 8 2023 etc* cr-Sr-srwt 9248 544175136 744846197 120, 0x726f0020 Sep 6 1996 home* dr-xrwsrwx 17996 1045 1783648768 0 Dec 31 1969 root/ br-sr-sr-T 24930 1634890872 1931506787 32, 0x20200020 Jan 29 1987 sbin* d--Srwxr-- 19796 1801675106 1970238055 2314861471017813320 Nov 4 2006 stand/ lrwxr-xr-x 1 root wheel 11 Jul 25 2001 sys@ -> usr/src/sys br--r----T 28015 1886718585 544175136 108, 0x2079006e Nov 14 2022 tmp What a mess. I hope I can un-bork any damage I may have done. > (I have no problem mounting rw when needed; note that you also will need > to modify NetBSD's fsck as needed to be done in FreeBSD-stable or use an > alternate superblock under NetBSD after a FreeBSD rw mount... Thanks for the reminder. I'd completely forgotten about that problem. Now I'll go and re-apply phk's patch (which was undone by cvsup) and try again. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message