Subject: Re: Boot properties, take 3
To: Jared D. McNeill <jmcneill@invisible.ca>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 06/20/2007 12:49:24
On Jun 19, 2007, at 4:04 AM, Jared D. McNeill wrote:

> Heyas --
>
> Here's the latest version of the bootprops code:
>
> 	http://www.invisible.ca/~jmcneill/netbsd/bootprops3.patch

I don't see the new <sys/bootprops.h> header in this patch?

>
>
> With this version, the bootloader now understands how to parse (and  
> can easily be extended to modify) the boot property list. My plan is  
> to allow the bootloader to change properties on the fly in the next  
> version. Also, since the bootloader can update the plist loaded from  
> disk, it can now pass bootinfo via the properties structure rather  
> than btinfo_*.
>
> Userconf has also been better taught how to use boot properties;  
> when a device is enabled or disabled, the boot properties are  
> updated with this change. To save the current state, you can read  
> the kern.bootprops sysctl and dump the contents to the saved state  
> file /netbsd.plist
>
> Comments on anything other than the colour of paint are welcome.
>
> Cheers,
> Jared

-- thorpej