Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2000 21:27:09 -0600
From:      Warner Losh <imp@village.org>
To:        Marcel Moolenaar <marcel@cup.hp.com>
Cc:        arch@FreeBSD.ORG
Subject:   Re: Multiple kernels / module search path 
Message-ID:  <200007190327.VAA76961@harmony.village.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>  

next in thread | previous in thread | raw e-mail | index | archive | help
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




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