Subject: Re: bootable 3.0_BETA CD-ROM image
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Martin Husemann <martin@duskware.de>
List: port-sgimips
Date: 09/11/2005 21:13:22
On Mon, Sep 12, 2005 at 03:06:15AM +0900, Izumi Tsutsui wrote:
> (d) On the other hand, the sgimips bootable CD image has an
>     SGI volume header. If the disk has the header, MD readdisklabel(9)
>     creates BSD disklabel from values in the volume header, and
>     d_secsize in struct disklabel is taken from dp.dp_secbytes
>     in struct sgi_boot_devparms.

Isn't a simpler aproach to leave sgivol as is (i.e. use 512 byte sectors)
and have readdisklabel() convert to 2048 byte sector size when creating
the disklabel from the volume header (and adjusting all offsets/sizes
accordingly)?

Thanks for analyzing this!

Martin