From owner-freebsd-current@FreeBSD.ORG Fri Sep 5 11:38:37 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA8BF16A4BF for ; Fri, 5 Sep 2003 11:38:37 -0700 (PDT) Received: from mail.tcoip.com.br (erato.tco.net.br [200.220.254.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BF4244005 for ; Fri, 5 Sep 2003 11:38:35 -0700 (PDT) (envelope-from dcs@tcoip.com.br) Received: from tcoip.com.br (dcs@[10.0.2.6]) by mail.tcoip.com.br (8.11.6/8.11.6) with ESMTP id h85IcDj08020; Fri, 5 Sep 2003 15:38:13 -0300 Message-ID: <3F58D813.3040401@tcoip.com.br> Date: Fri, 05 Sep 2003 15:38:11 -0300 From: "Daniel C. Sobral" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030702 X-Accept-Language: en-us, en, pt-br, ja MIME-Version: 1.0 To: Doug White References: <20030904041632.GA14639@freebsd1.cimlogic.com.au> <20030903211948.Y88884@carver.gumbysoft.com> In-Reply-To: <20030903211948.Y88884@carver.gumbysoft.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: config(8) KERNEL setting X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2003 18:38:37 -0000 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)