tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Path to kmods



On Wed, Nov 12, 2008 at 3:18 PM, Manuel Bouyer 
<bouyer%antioche.eu.org@localhost> wrote:
> On Wed, Nov 12, 2008 at 01:09:15PM -0500, matthew sporleder wrote:
>> > To switch to a new "kernel", I'd have /netbsd either as simple directory or
>> > as symlink to something that has my own naming scheme, just as now.
>> > The choice of the naming scheme would be left to the user, and we could
>> > assume to be the "kernel"(-stuff) still be in /netbsd.
>> >
>>
>> This is the best and most flexible idea so far.  It fits the
>> simplicity of /kernel/genunix in without resorting to something like
>> /platform/x/y/z.
>
> But it doesn't work if we boot something else than /netbsd. Remember we can
> give a kernel path to the bootloader (it even has menu which can do it now :)
>

Maybe Hubert could expand on his thinking, but I extrapolated it into
something like:
/netbsd/NETBSD <-- kernel file.  Static name.
/netbsd/modules/xyz
/netbsd/others/CONFIG
/netbsd/others/other_stuff_easily_mapped_in_/kern

So the you could tell the bootloader to look for:
/onetbsd/NETBSD
/onetbsd/modules/xyz
...


Home | Main Index | Thread Index | Old Index