bsdlabel problem
Takahashi Yoshihiro
nyan at jp.FreeBSD.org
Tue May 13 04:17:45 PDT 2003
In article <13555.1052770820 at critter.freebsd.dk>
"Poul-Henning Kamp" <phk at 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 at FreeBSD.org>
More information about the freebsd-current
mailing list