From owner-freebsd-arch Tue Jul 18 20:27:26 2000 Delivered-To: freebsd-arch@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 05DED37B84C for ; Tue, 18 Jul 2000 20:27:23 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id VAA89236; Tue, 18 Jul 2000 21:27:18 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id VAA76961; Tue, 18 Jul 2000 21:27:09 -0600 (MDT) Message-Id: <200007190327.VAA76961@harmony.village.org> To: Marcel Moolenaar Subject: Re: Multiple kernels / module search path Cc: arch@FreeBSD.ORG In-reply-to: Your message of "Mon, 17 Jul 2000 22:09:44 PDT." <3973E698.B8D53F1F@cup.hp.com> References: <3973E698.B8D53F1F@cup.hp.com> Date: Tue, 18 Jul 2000 21:27:09 -0600 From: Warner Losh Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <3973E698.B8D53F1F@cup.hp.com> Marcel Moolenaar writes: : If we do want the support to install multiple kernels with the : installkernel target, we face the same problem. Say that we install the : first kernel as "kernel" with modules directory "/modules". The module : search path is correct in this case. Other kernels are installed as, : say, kernel.NAME. These kernels should have their modules directory be : set to "/modules.NAME". But we also have to make sure that their module : search path is adjusted properly. : : Question 2: Is the above naming scheme acceptable? : : Question 3: Should we change the order in which modules are searched to : /modules{.NAME}:/boot:/, where {.NAME} denotes the optional name suffix. : : Question 4: Do we want /modules in the search for kernels with a : non-zero name so that the search path will be : /modules.NAME:/modules:/boot:/ : : It's a bit cryptic at places, but I hope the general idea has been : communicated sufficiently. Your feedback is appreciated, : : BTW: My personal preference is "yes, yes, yes, no" :-) My answers would be "yes" "MAYBE" "yes" "no". But I'm a fan of having kernel always be called kernel. I'd install kernel directly into /modules. If I want to boot kernel.foo, then install kernel into /modules.foo and the load path becomes just /modules.foo:/boot, with / not being serched. If I type "boot kernel.foo" it should be enough for all this to happen. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message