From owner-freebsd-current Sun Oct 13 10:24:36 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 4910237B401 for ; Sun, 13 Oct 2002 10:24:35 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BDA643E75 for ; Sun, 13 Oct 2002 10:24:34 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g9DHOXIw007666; Sun, 13 Oct 2002 19:24:33 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Jens Schweikhardt Cc: current@FreeBSD.ORG Subject: Re: GEOM and NetBSD partitions/disklabels In-Reply-To: Your message of "Sun, 13 Oct 2002 19:21:41 +0200." <20021013172141.GA76272@schweikhardt.net> Date: Sun, 13 Oct 2002 19:24:33 +0200 Message-ID: <7665.1034529873@critter.freebsd.dk> From: Poul-Henning Kamp 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 In message <20021013172141.GA76272@schweikhardt.net>, Jens Schweikhardt writes: >On Sun, Oct 13, 2002 at 05:20:11PM +0200, Poul-Henning Kamp wrote: >In file included from /src/current/sys/geom/geom_bsd.c:62: >/src/current/sys/sys/disklabel.h:174: size of array `__assert174' is negative >*** Error code 1 > >because of the compile time assert in disklabel.h, > >#ifdef CTASSERT >CTASSERT(sizeof(struct disklabel) == 276); >#endif Change this to: #ifdef CTASSERT CTASSERT(sizeof(struct disklabel) == 148 + 16 * MAXPARTITIONS); #endif >Another question before I adjust this to make it work: how will this >interact with devfs? My ultimate goal is to mount NetBSD partitions >on FreeBSD, e.g. /dev/da4s2[ae-p] (preferably read-write). There is >more work needed in a bunch of other files, right? If yes, could this >be a candidate for the JKH list? It should "just work", but I have never tried it :-) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message