[RELEASE] New Boot-Loader Menu

Devin Teske dteske at vicor.com
Sun May 1 03:45:22 UTC 2011


On Apr 30, 2011, at 8:11 PM, Jason Hellenthal wrote:

> 
> Devin,
> 
> 
> On Sat, Apr 30, 2011 at 04:00:47PM -0700, Devin Teske wrote:
>> 
>>> Would be nice: "uname -v" of the kernel it will boot.
>> 
>> That's a bit more technically challenging. I'll have another look at the
>> FICL words available, but I don't recall if there was a way to crawl the
>> object space of the items loaded with ``load'' (looking for the uname). I'm
>> open to suggestions if you had an idea of how to do this in Forth -- else
>> I'd think this would need to be a loader(8) modification.
> 
> How about forgetting a mention of unmae & ... instead look into if we
> can support some sort of bootcode versioning to be displayed on the
> screen. This would serve to be very helpful in the future when for say a
> new version of bootcode for ZFS has to be installed then it would be
> easy for announce@ to simply say "A new version of ZFS has been MFCd and
> requires boot version >= X. To find out your version please see the
> bottom right hand corner of your boot screen."
> 
> I would place a pretty good bet that loader(8) could be modified to
> export some sort of versioning of the bootcode to make this a easier
> stance for the user to gather information before a upgrade.

Piece of cake! If you give me a loader(8) that exports a "version" environment variable, I'll give the Forth functionality in mere seconds. It's already been developed (but was not packaged).

I have a module named "version.4th" which prints the value of the "version" environment variable at the bottom-right of the screen underneath the beastie logo.

Since you mention this, I'll add the code to the next package and if/when loader(8) ever exports a "version" environment variable, it will just magically appear. How's that sound?


> 
> -- 
> 
> Regards, (jhell)
> Jason Hellenthal
> 

-- 
Cheers,
Devin Teske


-> LEGAL DISCLAIMER <-
This message  contains confidential  and proprietary  information
of the sender,  and is intended only for the person(s) to whom it
is addressed. Any use, distribution, copying or disclosure by any
other person  is strictly prohibited.  If you have  received this
message in error,  please notify  the e-mail sender  immediately,
and delete the original message without making a copy.

-> FUN STUFF <-
-----BEGIN GEEK CODE BLOCK-----
Version 3.12
GAT/CS/B/CC/E/IT/MC/M/MU/P/S/TW d+(++) s: a- C+++@$ UB++++$ P++++@$ L++++$ E-
W+++ N? o? K? w@ O M++$ V- PS+>++ PE@ Y+ PGP-> t(+) 5? X(+) R(-) tv+ b+>++ DI+
D+(++) G++ e>++++ h r+++ z+++
------END GEEK CODE BLOCK------
http://www.geekcode.com/

-> END TRANSMISSION <-

_____________

The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.
_____________


More information about the freebsd-hackers mailing list