From owner-cvs-src@FreeBSD.ORG Sat Mar 11 01:16:01 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72D6E16A480; Sat, 11 Mar 2006 01:15:58 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1DCD45D6B; Fri, 10 Mar 2006 14:59:23 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.14] (imini.samsco.home [192.168.254.14]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k2AExJVc035776; Fri, 10 Mar 2006 07:59:19 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <44119446.9070603@samsco.org> Date: Fri, 10 Mar 2006 07:59:18 -0700 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= References: <200603091711.k29HBI49013996@repoman.freebsd.org> <200603091335.23964.jhb@freebsd.org> <86hd668wrg.fsf@xps.des.no> In-Reply-To: <86hd668wrg.fsf@xps.des.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on pooker.samsco.org Cc: cvs-src@FreeBSD.org, Sam Leffler , cvs-all@FreeBSD.org, John Baldwin , src-committers@FreeBSD.org Subject: Re: cvs commit: src/release Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Mar 2006 01:16:01 -0000 Dag-Erling Smørgrav wrote: > This talk of KERNELS reminds me of a patchset I've had for quite a > while. > > Currently, 'make buildkernel' builds all the kernels you list in > KERNCONF, but installs only one, to /boot/kernel. I've patched my > tree so it installs all of them into /boot/${KERN_IDENT}. The reason > why I haven't committed this is that I want the loader to present a > list of kernels at boot time, and I don't know enough Forth to > implement that myself. > > Ideally, the loader would grep each kernel and display its version > string in the menu; and there would be an rc.d script that links > /boot/kernel to $(dirname $(sysctl -n kern.bootfile)) so things like > zsh's kldload argument completion still work. > > DES Dan Sobral and I have talked about exactly this in the past. What you want to do is merge libregex into the loader and add the calling shims so that it can be accessd as 4th words. It's actually a lot easier than it sounds, but I haven't had the time or motivation to try. Once that's done, you'll be able to easily read directories and search for name patterns to use. Scott