bsdlabel problem

Poul-Henning Kamp phk at phk.freebsd.dk
Mon May 12 13:20:25 PDT 2003


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
@@ -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 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.


More information about the freebsd-current mailing list