Subject: Re: MBR partitioning
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: None <itojun@iijlab.net>
List: port-macppc
Date: 06/14/2002 06:50:33
>I guess:
>- No one has tried it
>- We need to have "generic" newfs_msdos(8) or makefs(8) with msdosfs support
>  (which is also required by NetBSD/arc, BTW)

	OpenBSD does not have generic newfs_msdos, it seems.  here's an excerpt
	from installation script:

	echo -n "Creating Master Boot Record (MBR)..."
	fdisk -i -f /usr/mdec/mbr $1
	echo "..done."
	echo -n "Copying 1MB MSDOS partition to disk..."
	gunzip < /usr/mdec/msdos1mb.gz | dd of=/dev/r$1c bs=512 seek=1 >/dev/null 2>&1
	echo "..done."

>- libsa/dosfs.c might have some problem:
>  http://mail-index.netbsd.org/port-macppc/2002/04/02/0000.html
>But all of these should be trivial.

	from my understanding, openbsd ofwboot (in DOS partition) loads
	openbsd kenrel from openbsd partition (FDISK partition 1, a partition).
	so there should be no need for libsa/dosfs.c to do any tricks.

	FDISK partition 0
		MS-DOS, 1MB
	FDISK partition 1
		OpenBSD, with standard normal disklabel

itojun