From owner-freebsd-hackers@FreeBSD.ORG Wed May 4 15:57:36 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6B44106564A for ; Wed, 4 May 2011 15:57:36 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 9E9068FC18 for ; Wed, 4 May 2011 15:57:36 +0000 (UTC) Received: from SBHFISLREXT03 ([10.132.254.62]) by SCSFISLTC02 (8.14.3/8.14.3) with ESMTP id p44FvYNg030358; Wed, 4 May 2011 10:57:34 -0500 Received: from SBHFISLTCGW04.FNFIS.COM (Not Verified[10.132.248.123]) by SBHFISLREXT03 with MailMarshal (v6, 5, 4, 7535) id ; Wed, 04 May 2011 10:57:39 -0500 Received: from SBHFISLTCGW07.FNFIS.COM ([10.132.248.135]) by SBHFISLTCGW04.FNFIS.COM with Microsoft SMTPSVC(6.0.3790.4675); Wed, 4 May 2011 10:57:34 -0500 Received: from [192.168.1.123] ([10.132.254.136]) by SBHFISLTCGW07.FNFIS.COM over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 4 May 2011 10:57:33 -0500 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Devin Teske In-Reply-To: <20110504040621.GC78390@DataIX.net> Date: Wed, 4 May 2011 08:57:32 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <5536F45D-82C1-44EE-8BF2-E1C081FAC095@vicor.com> References: <20110430192737.287270@gmx.com> <20110501031105.GA16357@DataIX.net> <20110504040621.GC78390@DataIX.net> To: Jason Hellenthal X-Mailer: Apple Mail (2.1084) X-OriginalArrivalTime: 04 May 2011 15:57:33.0881 (UTC) FILETIME=[FB328290:01CC0A73] Cc: freebsd-hackers@freebsd.org, 'Dieter BSD' Subject: Re: [RELEASE] New Boot-Loader Menu X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 May 2011 15:57:37 -0000 On May 3, 2011, at 9:06 PM, Jason Hellenthal wrote: >=20 > Devin, >=20 >=20 > On Sat, Apr 30, 2011 at 08:45:14PM -0700, Devin Teske wrote: >>=20 >> On Apr 30, 2011, at 8:11 PM, Jason Hellenthal wrote: >>=20 >>>=20 >>> Devin, >>>=20 >>>=20 >>> On Sat, Apr 30, 2011 at 04:00:47PM -0700, Devin Teske wrote: >>>>=20 >>>>> Would be nice: "uname -v" of the kernel it will boot. >>>>=20 >>>> That's a bit more technically challenging. I'll have another look at t= he >>>> FICL words available, but I don't recall if there was a way to crawl t= he >>>> 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 -- e= lse >>>> I'd think this would need to be a loader(8) modification. >>>=20 >>> 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 >=3D X. To find out your version please see the >>> bottom right hand corner of your boot screen." >>>=20 >>> 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. >>=20 >> Piece of cake! If you give me a loader(8) that exports a "version" envir= onment variable, I'll give the Forth functionality in mere seconds. It's al= ready been developed (but was not packaged). >>=20 >> I have a module named "version.4th" which prints the value of the "versi= on" environment variable at the bottom-right of the screen underneath the b= eastie logo. >>=20 >> Since you mention this, I'll add the code to the next package and if/whe= n loader(8) ever exports a "version" environment variable, it will just mag= ically appear. How's that sound? >>=20 >=20 > Sounds perfect! One minor adjustment... can we make that environment variable "loader_versi= on" instead of "version"? The code is already in for "loader_version". Whatever string you export int= o that environment variable will be displayed on-screen at bottom-right, ri= ght-justified. --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. _____________