Subject: Re: cdboot vs. bootxx_cd9660 on i386
To: David Young <>
From: David Laight <>
List: port-i386
Date: 09/12/2005 07:49:35
On Sun, Sep 11, 2005 at 07:35:45PM -0500, David Young wrote:
> The more I ponder the appearance of sys/arch/i386/stand/cdboot/cdboot.S,
> the more confused I get.  Can somebody explain what advantages cdboot has
> over a cd9660 bootloader built analogously to bootxx_ffsv1?  That is, why
> don't we build an i386 ISO9660 bootloader by adding a trivial Makefile,
> stand/bootxx/bootxx_cd9660/Makefile, like this one?
>   # $NetBSD$
>   FS=cd9660
>   .include <../Makefile.bootxx>
> Thoughts?

It wouldn't be quite the right beast.

You wouldn't want the code from pbr.S (which re-reads sector 0 and determines
the start of the netbsd partition), nor the gap for the disklabel.


David Laight: