Subject: Re: sdboot (was Re: Autoconf-ing mklifboot)
To: ITOH Yasufumi <itohy@netbsd.org>
From: Jochen Kunz <jkunz@unixag-kl.fh-kl.de>
List: port-hp700
Date: 06/14/2004 15:52:48
On Mon, Jun 14, 2004 at 10:19:37PM +0900, ITOH Yasufumi wrote:

> Actually the "sdboot" does nothing to do with SCSI disk
Because it uses firmwarecalls to do its work so it is independent from
the actual boot device?

> and I'd like to change the name to "bootxx" (like alpha port) or 
> something. As what name should it be installed in /usr/mdec ?
xxboot as it is the primary / only bootstrap to be instaled via
disklabel. From disklabel(8), options -B, -b and -s:
	Otherwise, boot program names are derived from the name of the 
	disk. These names are of the form <basename>boot for the primary 
	(or only) bootstrap, and boot<basename> for the secondary 
	bootstrap; for example, /usr/mdec/sdboot and /usr/mdec/bootsd 
	if the disk device is sd0.
Maybe like VAX. It installs /usr/mdec/xxboot and (hard) links
/usr/mdec/sdboot to it so that "disklabel -B sd0" can find the boot 
program based on the disk name.

Source location at src/sys/arch/hp700/stand/xxboot?
-- 



tschüß,
         Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/