Subject: Re: NetBSD and FreeBSD co-existing
To: Perry E. Metzger <perry@piermont.com>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: port-i386
Date: 06/20/1997 16:37:19
On Fri, 20 Jun 1997 19:18:03 -0400, Perry Metzger writes:

>disklabel does not touch the MBR. Doesn't know about the MBR. Has no
>consciousness of the MBR.

Hi Perry,

That turns out not to be the case.

UTSL. Try 'egrep 'dos|mbr' /usr/src/sbin/disklabel/disklabel.c,
Or look at the parts inside #ifdef __i386__.

If __i386__ wasn't defined, then you'd be correct.  But in both
yesterday's sup tree and in a tree CVS'ed right now, nm
/usr/src/sbin/disklabel/obj/disklabel.o says quite clearlythat
disklabel *does* know about the MBR on an i386.

Maybe disklabel shouldn't know about the MBR, but the fact is,
on an i386, it does.