From owner-freebsd-current@FreeBSD.ORG Wed Sep 3 21:22:11 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 A337816A4BF for ; Wed, 3 Sep 2003 21:22:11 -0700 (PDT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AB3E43FE5 for ; Wed, 3 Sep 2003 21:22:10 -0700 (PDT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 0A64F72DA3; Wed, 3 Sep 2003 21:22:10 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 04EAC72DA2; Wed, 3 Sep 2003 21:22:10 -0700 (PDT) Date: Wed, 3 Sep 2003 21:22:09 -0700 (PDT) From: Doug White To: John Birrell In-Reply-To: <20030904041632.GA14639@freebsd1.cimlogic.com.au> Message-ID: <20030903211948.Y88884@carver.gumbysoft.com> References: <20030904041632.GA14639@freebsd1.cimlogic.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: Thu, 04 Sep 2003 04:22:11 -0000 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. 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. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org