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

Freddie Cash fcash at ocis.net
Thu Oct 27 08:45:36 PDT 2005


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 raised it a lot) is a desire to
> retain permission changes across boots, and to tie devices (when
> possible) to a device-specific attribute rather than a probe order.

FreeBSD 5+ has /etc/devfs.conf and /etc/devfs.rules which include 
information regarding permissions and ownership for device nodes 
under /dev.  These files can even be used for creating fancy names for 
devices using symlinks (like /dev/burner for CD-RW devices, 
or /dev/floppy and so on).  At boot time, /etc/devfs.conf is read, 
and /etc/devfs.rules is read whenever new devices are attached to the 
system (I believe that's how it works, anyway).  Is that what you're 
looking for?

> Does FreeBSD's devfs support locators and persistent information? Are
> there plans to support something like that, if not?

-- 
Freddie Cash
fcash at ocis.net


More information about the freebsd-hackers mailing list