From owner-freebsd-hackers@FreeBSD.ORG Wed May 4 04:06:31 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 B3C78106564A for ; Wed, 4 May 2011 04:06:31 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5DAD48FC08 for ; Wed, 4 May 2011 04:06:31 +0000 (UTC) Received: by gwb15 with SMTP id 15so348913gwb.13 for ; Tue, 03 May 2011 21:06:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:x-openpgp-key-id:x-openpgp-key-fingerprint :x-openpgp-key-url; bh=q19IV73aBNYnhRvpAzoG8pTop6Je1aNJVDSQibtf6b4=; b=QjX9xahAT9lKu1fKQbH/aStSI7Ale7xsHeYpt2453Q1exoUzrzlVcoI3WMDDH5oNyN 8CeWa1lepI1KaZ/9/ukFr/KpqAsWE9lCLTbTXExah4SfHxp6gM5YVG8+5Ulck7qMmJW9 7o+PpCBUnepV19OJhhTctLbObTd0l5caZTQlI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-openpgp-key-id :x-openpgp-key-fingerprint:x-openpgp-key-url; b=MB78ZK0Hp7x9LCJpp4LdnXivXlIDpj6kUYV/xbs3IBVbMOvSy7ntis4yLOBQxG6vOy Oncn6drTyfxV58/0M1UBzuXEU3MKhbzYwNa5yKW+R6+2/ywP5k/aepyAGdN/xz2aXpjA LKXfpmKpk75AGZirOzaeab6OFcABW/8PizGuw= Received: by 10.150.73.9 with SMTP id v9mr719234yba.138.1304481990540; Tue, 03 May 2011 21:06:30 -0700 (PDT) Received: from DataIX.net ([99.190.84.116]) by mx.google.com with ESMTPS id c3sm311555ybn.18.2011.05.03.21.06.27 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 May 2011 21:06:28 -0700 (PDT) Sender: "J. Hellenthal" Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.4/8.14.4) with ESMTP id p4446MKm018364 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 4 May 2011 00:06:24 -0400 (EDT) (envelope-from jhell@DataIX.net) Received: (from jhell@localhost) by DataIX.net (8.14.4/8.14.4/Submit) id p4446MJd018363; Wed, 4 May 2011 00:06:22 -0400 (EDT) (envelope-from jhell@DataIX.net) Date: Wed, 4 May 2011 00:06:22 -0400 From: Jason Hellenthal To: Devin Teske Message-ID: <20110504040621.GC78390@DataIX.net> References: <20110430192737.287270@gmx.com> <20110501031105.GA16357@DataIX.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E/DnYTRukya0zdZ1" Content-Disposition: inline In-Reply-To: X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E X-OpenPGP-Key-URL: http://bit.ly/0x89D8547E 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 04:06:31 -0000 --E/DnYTRukya0zdZ1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Devin, On Sat, Apr 30, 2011 at 08:45:14PM -0700, Devin Teske wrote: > >On Apr 30, 2011, at 8:11 PM, Jason Hellenthal wrote: > >>=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 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 -- el= se >>> 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. > >Piece of cake! If you give me a loader(8) that exports a "version" environ= ment variable, I'll give the Forth functionality in mere seconds. It's alre= ady 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 bea= stie 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 magic= ally appear. How's that sound? > Sounds perfect! --=20 Regards, (jhell) Jason Hellenthal --E/DnYTRukya0zdZ1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) Comment: http://bit.ly/0x89D8547E iQEcBAEBAgAGBQJNwNC9AAoJEJBXh4mJ2FR+1RgH/1iRs0zi3VvARVSU8kt6PFxO voiBSwMSPsEoqVnaJqhYK5jJBoJCH/nHMQknmYkkCzP7Z38KeVp/0nE5i1+ebUk8 m6q7SYpcMLOAqn/aPZlcW8g5mvwA9jTzY4KG+02oi2hybjUhsU/30ku5i/sT0IB/ /42fkm+ww79cNhZtFVMAxWOf7coZUfCxfytQqInVAVfUQx7aOy2DMlebH2zngGGB tvgdq3q+qt3Nb9PTh4mNtvHL4yMQXobgJd40v9z0CtmaUB22TDse/hh9WmyK46fm N0xEgkLLvOzddU90+IX1cQ3d6OiqhKaNF10s1ChYR6RlIFtOBkeRTgoY/7UrCBg= =axjc -----END PGP SIGNATURE----- --E/DnYTRukya0zdZ1--