config(8) KERNEL setting

Daniel C. Sobral dcs at tcoip.com.br
Fri Sep 5 11:38:37 PDT 2003


Doug White wrote:
> On Thu, 4 Sep 2003, John Birrell wrote:
> 
> 
>>however kern.post.mk only uses KERNEL_KO, so even though config(8) has
>>set KERNEL for me, that name only gets used for the boot directory.
>>There doesn't seem to be any way of getting KERNEL_KO set from the
>>kernel config file.
> 
> 
> If you change the name of the kernel binary itself, loader won't be able
> to find it.  By renaming the /boot directory it goes into it is Doing the
> Right Thing.

Huh?

kernel="kernel"         # /boot sub-directory containing kernel and modules
bootfile="kernel"       # Kernel name (possibly absolute path)


I note that loader.conf(5) is completely out of date in this regard. 
What can I say? I'm lazy. :-)

> In 5.X, the "kernel" is the core kernel binary and the modules built with
> it.  All of it goes into the same directory.  The /modules directory is
> unused and should be deleted. When you specify a kernel to load in loader,
> you ask for the /boot/foo directory name ("load foo") and loader does the
> rest.


-- 
Daniel C. Sobral                   (8-DCS)
Gerencia de Operacoes
Divisao de Comunicacao de Dados
Coordenacao de Seguranca
VIVO Centro Oeste Norte
Fones: 55-61-313-7654/Cel: 55-61-9618-0904
E-mail: Daniel.Capo at tco.net.br
         Daniel.Sobral at tcoip.com.br
         dcs at tcoip.com.br

Outros:
	dcs at newsguy.com
	dcs at freebsd.org
	capo at notorious.bsdconspiracy.net

She stood on the tracks
Waving her arms
Leading me to that third rail shock
Quick as a wink
She changed her mind

She gave me a night
That's all it was
What will it take until I stop
Kidding myself
Wasting my time

There's nothing else I can do
'Cause I'm doing it all for Leyna
I don't want anyone new
'Cause I'm living it all for Leyna
There's nothing in it for you
'Cause I'm giving it all to Leyna
		-- Billy Joel, "All for Leyna" (Glass Houses)



More information about the freebsd-current mailing list