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 01:58:32PM -0700, Herb Peyerl wrote:
> >...
> 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.

but there is a senario where this doesn't work: if the kernel is loaded
from a path which is not accessible from the kernel itself (this is not
so uncommon, I think several of our port don't have a bootloader at
this time), then the kernel doesn't have an accessible path (or eventually no
path at all, depending on how the kernel is loaded) from where to find
the modules.

Maybe is this case a sysctl'able path would do the trick ...

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference

Home | Main Index | Thread Index | Old Index