Re: bsdlabel problem

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Mon, 12 May 2003 22:20:20 +0200
In message <20030512.223624.74677789.nyan_at_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
_at__at_ -165,6 +165,10 _at__at_
 					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_at_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.
Received on Mon May 12 2003 - 11:20:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:07 UTC