Subject: Re: MBR partitioning
To: None <itojun@iijlab.net>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-macppc
Date: 06/14/2002 07:04:44
In article <2709.1024005033@itojun.org>
itojun@iijlab.net wrote:

> 	OpenBSD does not have generic newfs_msdos, it seems.  here's an excerpt
> 	from installation script:
 :
> 	gunzip < /usr/mdec/msdos1mb.gz | dd of=/dev/r$1c bs=512 seek=1 >/dev/null 2>&1

We have to have some tools to make "msdos1mb.gz" image
even on cross-build.

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

Then we should add MBR support on our ofwboot.
(It seems there are some functions for MBR in ofwboot/ofdev.c,
 but I'm not sure if it actually works..)

---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp