From owner-freebsd-current@FreeBSD.ORG Mon May 12 13:20:24 2003 Return-Path: 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 BB10F37B401 for ; Mon, 12 May 2003 13:20:24 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id D042D43F75 for ; Mon, 12 May 2003 13:20:23 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h4CKKKYP013556; Mon, 12 May 2003 22:20:21 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Takahashi Yoshihiro From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 12 May 2003 22:36:24 +0900." <20030512.223624.74677789.nyan@jp.FreeBSD.org> Date: Mon, 12 May 2003 22:20:20 +0200 Message-ID: <13555.1052770820@critter.freebsd.dk> cc: current@freebsd.org Subject: Re: bsdlabel problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2003 20:20:25 -0000 In message <20030512.223624.74677789.nyan@jp.FreeBSD.org>, Takahashi Yoshihiro writes: >Recent snapshots for pc98 are broken. can you try with this patch ? It is important that you patch your regular /usr/src and recompile sbin/bsdlabel in there, so that the the release area gets installed with a patched copy. Poul-Henning Index: bsdlabel.c =================================================================== RCS file: /home/ncvs/src/sbin/bsdlabel/bsdlabel.c,v retrieving revision 1.92 diff -u -r1.92 bsdlabel.c --- bsdlabel.c 9 May 2003 20:26:17 -0000 1.92 +++ bsdlabel.c 12 May 2003 20:18:24 -0000 @@ -165,6 +165,10 @@ labeloffset = 512; bbsize = 8192; alphacksum = 0; + } else if (!strcmp(optarg, "pc98")) { + labeloffset = 1024; + bbsize = 8192; + alphacksum = 0; } else if (!strcmp(optarg, "alpha")) { labeloffset = 64; bbsize = 8192; -- 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.