From owner-freebsd-current@FreeBSD.ORG Tue May 13 04:17:44 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 E9D3637B401 for ; Tue, 13 May 2003 04:17:44 -0700 (PDT) Received: from watery.cc.kogakuin.ac.jp (watery.cc.kogakuin.ac.jp [133.80.152.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB2B243FB1 for ; Tue, 13 May 2003 04:17:43 -0700 (PDT) (envelope-from nyan@jp.FreeBSD.org) Received: from localhost (localhost [IPv6:::1])h4DBHgFd026849; Tue, 13 May 2003 20:17:42 +0900 (JST) (envelope-from nyan@jp.FreeBSD.org) Date: Tue, 13 May 2003 20:17:20 +0900 (JST) Message-Id: <20030513.201720.74732030.nyan@jp.FreeBSD.org> To: phk@phk.freebsd.dk From: Takahashi Yoshihiro In-Reply-To: <13555.1052770820@critter.freebsd.dk> References: <20030512.223624.74677789.nyan@jp.FreeBSD.org> <13555.1052770820@critter.freebsd.dk> X-Mailer: Mew version 3.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Tue, 13 May 2003 11:17:45 -0000 In article <13555.1052770820@critter.freebsd.dk> "Poul-Henning Kamp" writes: > can you try with this patch ? > + } else if (!strcmp(optarg, "pc98")) { > + labeloffset = 1024; > + bbsize = 8192; > + alphacksum = 0; labeloffset is 512 not 1024. So, the patch is able to be more simple. 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 13 May 2003 11:09:02 -0000 @@ -161,7 +161,8 @@ xxboot = optarg; break; case 'm': - if (!strcmp(optarg, "i386")) { + if (!strcmp(optarg, "i386") || + !strcmp(optarg, "pc98")) { labeloffset = 512; bbsize = 8192; alphacksum = 0; --- TAKAHASHI Yoshihiro