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 05:11:58PM +0100, Christoph Egger wrote:
> Michael wrote:
> > Hello,
> > 
> > On Nov 12, 2008, at 10:52 AM, Hubert Feyrer wrote:
> > 
> >> On Wed, 12 Nov 2008, Andrew Doran wrote:
> >>>> Regarding the PR/38724, can we change the path to "/kmods/" or
> >>>> something
> >>>> like that? Would be good to have meaningful name before it gets used
> >>>> widely.
> >>>
> >>> /kernel?
> >>
> >> Prior art:
> >>
> >> Solaris:             /kernel,
> >> Linux (OpenSuSE 10.2 here):     /lib/modules/$(uname -r)
> >>
> >> I don't know about other systems, but checking on FreeBSD and Mac OS X
> >> may be worthwhile.
> > 
> > /System/Library/Extensions on OSX - I doubt we want that ;)
> > 
> >> My gut feeling tells me that to support easy switching/testing of
> >> kernels, the kernel version should be in the path.
> > 
> > I agree. Since we already mimic Solaris in other ways we may as well do
> > it here too.
> 
> the directory structure should at least allow different kernel
> version/types.
> 
> I sort of dual-boot NetBSD/amd64 and NetBSD/Xen (Dom0) with the same
> userland. Sometimes it happens, that the kernels have a different
> uname -r.

Why do the kernel modules need to be different?  That doesn't appear
necessary to me, but maybe I'm missing something.

-- 
Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.

Attachment: pgp1bxz3dHsjT.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index