Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Sep 2003 15:38:11 -0300
From:      "Daniel C. Sobral" <dcs@tcoip.com.br>
To:        Doug White <dwhite@gumbysoft.com>
Cc:        current@freebsd.org
Subject:   Re: config(8) KERNEL setting
Message-ID:  <3F58D813.3040401@tcoip.com.br>
In-Reply-To: <20030903211948.Y88884@carver.gumbysoft.com>
References:  <20030904041632.GA14639@freebsd1.cimlogic.com.au> <20030903211948.Y88884@carver.gumbysoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@tco.net.br
         Daniel.Sobral@tcoip.com.br
         dcs@tcoip.com.br

Outros:
	dcs@newsguy.com
	dcs@freebsd.org
	capo@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)



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