tech-kern archive

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

Re: Path to kmods



Herb Peyerl wrote:

On 12-Nov-08, at 1:35 PM, matthew sporleder wrote:
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
...

Whereas in my head, I constructed:

/netbsd/kernel
/netbsd/modules/...
/onetbsd/kernel
/onetbsd/modules/...

boot /netbsd
boot /onetbsd

If the bootloader finds a file, it boots the file. If it finds a directory, it boots the file named 'kernel' in the directory.


This actually looks quite nice and elegant.


Home | Main Index | Thread Index | Old Index