Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 1999 08:45:03 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        peter@netplex.com.au, wpaul@FreeBSD.org
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, jb@cimlogic.com.au, phk@critter.freebsd.dk
Subject:   Re: cvs commit: src/sys/conf options src/sys/i386/i386 autoconf.c src/sys/i386/conf GENERIC LINT Makefile.i386 files.i386
Message-ID:  <199905092245.IAA28122@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905092245.IAA28122>