Re: sdboot (was Re: Autoconf-ing mklifboot)

[email protected] (Jochen Kunz)
Newsgroups gmane.os.netbsd.ports.hp700
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.