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:24:21PM -0500, Greg A. Woods; Planix, Inc. wrote:
> >And what if you load 'netbsd.old' or 'netbsd.test' from the boot
> >loader ?
> As he said, "if we change /netbsd to a directory"...  :-)
> The final-stage boot loader need only check if the path given is a  
> directory or a normal file -- if it's not a directory then everything  
> works as before.
> Otherwise the boot loader could append "/kernel" or something similar  
> to the path given and then load that as the first "module".

But how does the kernel finds the right set of modules after that ?
The kernel may not even be on a filesystem accessible from the kernel !

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

Home | Main Index | Thread Index | Old Index