FreeBSD 5/6/7 kernel emulator for NetBSD 2.x

2005-10-24 Thread Hans Petter Selasky
Hi, I have made an effort on making a FreeBSD 5/6/7 kernel emulator for NetBSD 2.x. Many device drivers are shared between these two operating systems, and I think a lot of work can be saved when it comes to porting code and patches forth and back. Currently this emulator makes my FreeBSD PCI

Re: FreeBSD 5/6/7 kernel emulator for NetBSD 2.x

2005-10-26 Thread Lennart Augustsson
have some clutter. Personally, I prefer the macros. -- Lennart Hans Petter Selasky wrote: Hi, I have made an effort on making a FreeBSD 5/6/7 kernel emulator for NetBSD 2.x. Many device drivers are shared between these two operating systems, and I think a lot of work can be saved when i

Re: FreeBSD 5/6/7 kernel emulator for NetBSD 2.x

2005-10-27 Thread Steven M. Bellovin
In message <[EMAIL PROTECTED]>, Jason Thorpe writes: > >FWIW, I think a devfs based on our new tmpfs would be better for NetBSD. > I was under the impression that each i-node in tmpfs consumed a fair amount of space, making it a bad match for things like /dev which have very many i-nodes but n

Re: FreeBSD 5/6/7 kernel emulator for NetBSD 2.x

2005-10-27 Thread Jason Thorpe
On Oct 26, 2005, at 10:22 AM, Bill Studenmund wrote: In the past, we (NetBSD folks) have talked about a devfs. One issue that has come up (I'll be honest, I've raised it a lot) is a desire to retain permission changes across boots, and to tie devices (when possible) to a device-specific a

Re: FreeBSD 5/6/7 kernel emulator for NetBSD 2.x

2005-10-27 Thread Bill Studenmund
On Mon, Oct 24, 2005 at 10:35:47PM +0200, Hans Petter Selasky wrote: > > Main features: > > - Implements FreeBSD's devfs on NetBSD. In the past, we (NetBSD folks) have talked about a devfs. One issue that has come up (I'll be honest, I've raised it a lot) is a desire to retain permission chang

Re: FreeBSD 5/6/7 kernel emulator for NetBSD 2.x

2005-10-27 Thread Freddie Cash
On October 26, 2005 10:22 am, Bill Studenmund wrote: > On Mon, Oct 24, 2005 at 10:35:47PM +0200, Hans Petter Selasky wrote: > > Main features: > > - Implements FreeBSD's devfs on NetBSD. > In the past, we (NetBSD folks) have talked about a devfs. One issue > that has come up (I'll be honest, I've

Re: FreeBSD 5/6/7 kernel emulator for NetBSD 2.x

2005-10-27 Thread John-Mark Gurney
Bill Studenmund wrote this message on Wed, Oct 26, 2005 at 10:22 -0700: > On Mon, Oct 24, 2005 at 10:35:47PM +0200, Hans Petter Selasky wrote: > > > > Main features: > > > > - Implements FreeBSD's devfs on NetBSD. > > In the past, we (NetBSD folks) have talked about a devfs. One issue that > ha

Re: FreeBSD 5/6/7 kernel emulator for NetBSD 2.x

2005-10-27 Thread Hans Petter Selasky
On Thursday 27 October 2005 18:10, Bill Studenmund wrote: > On Thu, Oct 27, 2005 at 09:29:52AM +0200, [EMAIL PROTECTED] wrote: > > On Wed, Oct 26, 2005 at 05:48:06PM -0700, Bill Studenmund wrote: > > > The reason I'm interested in locators is so that if devices renumber > > > themselves, the permi

Re: FreeBSD 5/6/7 kernel emulator for NetBSD 2.x

2005-10-28 Thread Bill Studenmund
On Thu, Oct 27, 2005 at 04:53:35PM -0400, der Mouse wrote: > >>> - Implements FreeBSD's devfs on NetBSD. > >> In the past, we (NetBSD folks) have talked about a devfs. > >> [...persistence...] > > FreeBSD 5+ has /etc/devfs.conf and /etc/devfs.rules [...]. Is that > > what you're looking for? > >

Re: FreeBSD 5/6/7 kernel emulator for NetBSD 2.x

2005-10-28 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Rui Paulo <[EMAIL PROTECTED]> writes: : On 2005.10.26 10:22:52 -0700, Bill Studenmund wrote: : | On Mon, Oct 24, 2005 at 10:35:47PM +0200, Hans Petter Selasky wrote: : | > : | > Main features: : | > : | > - Implements FreeBSD's devfs on NetBSD. : | : |

Re: FreeBSD 5/6/7 kernel emulator for NetBSD 2.x

2005-10-29 Thread Rui Paulo
On 2005.10.29 00:01:42 -0600, M. Warner Losh wrote: | In message: <[EMAIL PROTECTED]> | Rui Paulo <[EMAIL PROTECTED]> writes: | : On 2005.10.26 10:22:52 -0700, Bill Studenmund wrote: | : | On Mon, Oct 24, 2005 at 10:35:47PM +0200, Hans Petter Selasky wrote: | : | > | : | > Main feature

Re: FreeBSD 5/6/7 kernel emulator for NetBSD 2.x

2005-10-31 Thread John Baldwin
On Saturday 29 October 2005 06:59 am, Rui Paulo wrote: > On 2005.10.29 00:01:42 -0600, M. Warner Losh wrote: > | In message: <[EMAIL PROTECTED]> > | > | Rui Paulo <[EMAIL PROTECTED]> writes: > | : On 2005.10.26 10:22:52 -0700, Bill Studenmund wrote: > | : | On Mon, Oct 24, 2005 at 10:35