Subject: Re: FreeBSD's /dev on NetBSD
To: Hans Petter Selasky <email@example.com>
From: Tonnerre <firstname.lastname@example.org>
Date: 08/13/2005 14:25:04
Content-Type: text/plain; charset=iso-8859-1
On Sat, Aug 13, 2005 at 03:45:03AM +0200, Hans Petter Selasky wrote:
> I'm working on porting a driver from FreeBSD to NetBSD and have found the=
> kernel API for creating devices in /dev/ very difficult to use.
> I want to be able to clone, create and delete devices. Therefore I want t=
> implement a file system similar to FreeBSD's "devfs".
Doesn't everyone want to get rid of that?
Anyway, you just get a major number, and then you can do with your
cdevsw/bdevsw whatever you want - just copy/insert/delete/clone devices
as you like, and have them everywhere.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)
-----END PGP SIGNATURE-----