From owner-cvs-all Sun May 9 15:45:13 1999 Delivered-To: cvs-all@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id 2840514C8E; Sun, 9 May 1999 15:45:06 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id IAA28122; Mon, 10 May 1999 08:45:03 +1000 Date: Mon, 10 May 1999 08:45:03 +1000 From: Bruce Evans Message-Id: <199905092245.IAA28122@godzilla.zeta.org.au> To: peter@netplex.com.au, wpaul@FreeBSD.org Subject: Re: cvs commit: src/sys/conf options src/sys/i386/i386 autoconf.c src/sys/i386/conf GENERIC LINT Makefile.i386 files.i386 Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, jb@cimlogic.com.au, phk@critter.freebsd.dk Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk >> Well now you know. Please put it back (not all of it, just the ability >> to say "config foo" to specify the name of the kernel image). > >Umm, would this do? > >makeoptions KERNEL=foo Renaming at install time is easier and more flexible. E.g., `cp -p kernel /kernel.new'. Add a chflags step if you want to get in your own way. >> As for "kernel" being hardcoded, it should not be. Anything that needs >> to know the name of the currently running kernel image should be getting >> it from the kern.bootfile sysctl variable. Harcoding "kernel" is generally >> a bug. (savecore(8) is one example.) It's certainly a bug here. > >That part isn't, it's passed in from the bootblocks and the loader. savecore(8) puts the copies the active kernel to an almost fixed place (/var/crash/kernel.NNN). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message