Date: Tue, 13 May 2003 20:17:20 +0900 (JST) From: Takahashi Yoshihiro <nyan@jp.FreeBSD.org> To: phk@phk.freebsd.dk Cc: current@freebsd.org Subject: Re: bsdlabel problem Message-ID: <20030513.201720.74732030.nyan@jp.FreeBSD.org> In-Reply-To: <13555.1052770820@critter.freebsd.dk> References: <20030512.223624.74677789.nyan@jp.FreeBSD.org> <13555.1052770820@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <13555.1052770820@critter.freebsd.dk> "Poul-Henning Kamp" <phk@phk.freebsd.dk> 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 <nyan@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030513.201720.74732030.nyan>