Subject: disklabel bootstrap code broken on PMAX: NUMBOOT should be 2
To: None <port-pmax@sun-lamp.cs.berkeley.edu>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: port-pmax
Date: 09/12/1994 13:13:09
The NetBSD Makefile for disklabel defaults to not defining
NUMBOOT to zero, which means on a pmax, disklabel can't write
bootstrap code. I don't understand why this is different from
the 4.4-Lite source, which by default assumes that NUMBOOT should be 2.
For now I've hacked the Makefile as below.
I could try patching the NetBSD disklabel.c to be closer to the 4.4-Lite
disklabel.c -- including updating the usage messages -- but I don't know
if they'd be merged into the NetBSD tree.
*** 1.1 1994/06/25 04:26:16
--- Makefile 1994/09/12 20:11:56
***************
*** 20,25 ****
--- 20,29 ----
CFLAGS+= -DNUMBOOT=2
.endif
+ .if ${MACHINE} == "pmax"
+ CFLAGS+= -DNUMBOOT=2
+ .endif
+
.if ${MACHINE} == "hp300"
CFLAGS+= -DNUMBOOT=1
.endif