Subject: Re: proplib(3) in i386 bootstrap
To: SODA Noriyuki <soda@sra.co.jp>
From: Matt Fleming <matt@console-pimps.org>
List: tech-userlevel
Date: 01/10/2007 16:38:51
On Thu, Jan 11, 2007 at 01:00:22AM +0900, SODA Noriyuki wrote:
> >>>>> On Wed, 10 Jan 2007 10:42:59 -0500 (EST),
> der Mouse <mouse@Rodents.Montreal.QC.CA> said:
>
> >> How do you run bootconf at the boot prompt?
>
> > The same way you would run a text editor: you don't. So what's
> > the difference?
>
> Well, I guess I talked in too roundabout way.
>
> What I meant was:
>
> There is no way to run such utility in the boot prompt.
> So, unless we force our users to use a syntax like
> "<key>boot</key><string>hd0a:/netbsd</string>" in the boot
> prompt, using a syntax like "boot hd0a:/netbsd" in both
> the boot prompt and the config file is the best way.
> (And of course, we shouldn't force our users to use such
> syntax.)
>
> Of course, we can use "boot hd0a:/netbsd" in the boot prompt,
> and can use "<key>boot</key><string>hd0a:/netbsd</string>" in the
> config file, but there is no merit to do so.
Why not? I had no intention of fundamentally changing the way the
i386 bootstrap code currently works but neither did i want to have
lines in /boot.conf similar to,
"boot /custom-kernel -d"
I wanted something a little clearer. Although, I suppose it doesn't matter
that much.
--mjf