Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2003 22:20:20 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Takahashi Yoshihiro <nyan@jp.FreeBSD.org>
Cc:        current@freebsd.org
Subject:   Re: bsdlabel problem 
Message-ID:  <13555.1052770820@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 12 May 2003 22:36:24 %2B0900." <20030512.223624.74677789.nyan@jp.FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13555.1052770820>