Re: Path to kernel modules (second attempt)

2012-07-07 Thread Matthew Mondor
On Sat, 7 Jul 2012 20:54:12 -0600 Warner Losh wrote: > But it kinda fails with multiple kernels. On FreeBSD, we went with > /boot/$KERNNAME/kernel for the kernel, with all the modules associated with > it in /boot/$KERNNAME. By default, we load /boot/kernel/kernel and the loader > may also ch

Re: Path to kernel modules (second attempt)

2012-07-07 Thread Warner Losh
On Jul 7, 2012, at 4:17 PM, Matthew Mondor wrote: > On Sat, 07 Jul 2012 22:46:50 +0200 > Jean-Yves Migeon wrote: > >> On 07.07.2012 21:57, Mindaugas Rasiukevicius wrote: >>> Hello, >>> >>> Regarding the PR/38724, I propose to change the path to "/kernel/". >>> Can we reach some consensus quick

Re: Path to kernel modules (second attempt)

2012-07-07 Thread Matthew Mondor
On Sat, 07 Jul 2012 22:46:50 +0200 Jean-Yves Migeon wrote: > On 07.07.2012 21:57, Mindaugas Rasiukevicius wrote: > > Hello, > > > > Regarding the PR/38724, I propose to change the path to "/kernel/". > > Can we reach some consensus quickly for netbsd-6? > > /kernel is way to close to /kern, and

cache_enter test for MAKEENTRY

2012-07-07 Thread Mindaugas Rasiukevicius
Hi, I am thinking to move the test for MAKEENTRY into the cache_enter(9): http://www.netbsd.org/~rmind/cache_enter.diff Comments? -- Mindaugas

Re: Path to kernel modules (second attempt)

2012-07-07 Thread Mindaugas Rasiukevicius
Jukka Ruohonen wrote: > On Sat, Jul 07, 2012 at 08:57:10PM +0100, Mindaugas Rasiukevicius wrote: > > Regarding the PR/38724, I propose to change the path to "/kernel/". > > Can we reach some consensus quickly for netbsd-6? > > I'd vote for "/lib/modules" noted in the PR (or maybe under /libdata?)

Re: Path to kernel modules (second attempt)

2012-07-07 Thread David Holland
On Sat, Jul 07, 2012 at 08:57:10PM +0100, Mindaugas Rasiukevicius wrote: > Regarding the PR/38724, I propose to change the path to "/kernel/". > Can we reach some consensus quickly for netbsd-6? If it's going to be a new toplevel directory, it should probably be /modules. (I know there's an arg

Re: Path to kernel modules (second attempt)

2012-07-07 Thread Jean-Yves Migeon
On 07.07.2012 21:57, Mindaugas Rasiukevicius wrote: > Hello, > > Regarding the PR/38724, I propose to change the path to "/kernel/". > Can we reach some consensus quickly for netbsd-6? /kernel is way to close to /kern, and they serve different purposes. IMHO that will raise confusion. Technicall

Re: Path to kernel modules (second attempt)

2012-07-07 Thread Jukka Ruohonen
On Sat, Jul 07, 2012 at 08:57:10PM +0100, Mindaugas Rasiukevicius wrote: > Regarding the PR/38724, I propose to change the path to "/kernel/". > Can we reach some consensus quickly for netbsd-6? I'd vote for "/lib/modules" noted in the PR (or maybe under /libdata?) simply because in my opinion the

Path to kernel modules (second attempt)

2012-07-07 Thread Mindaugas Rasiukevicius
Hello, Regarding the PR/38724, I propose to change the path to "/kernel/". Can we reach some consensus quickly for netbsd-6? Thanks. -- Mindaugas