Subject: Re: How can I get more fss devices?
To: None <tech-kern@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 07/08/2007 11:20:27
On Sun, Jul 08, 2007 at 11:10:35AM +0200, Klaus Heinz wrote:
> Christos Zoulas wrote:
> 
> > You need to recompile the kernel bumping the number there unfortunately.
> > Someone should make this a cloner :-)
> 
> That's what I thought, when I read the original message yesterday. My
> search for specific information about cloning devices turned up several
> discussions on mail-index.NetBSD.org but I found no reference for 
> converting existing device drivers to the cloning method.

The methods used for clone opens in netbsd are rather horrid,
SVR4/solaris just require a char driver to return a new dev_t,
and the VOP_OPEN a new vnode.

Cloning drivers are one place where devfs makes sense, maybe as
a lower union for /dev ?

	David

-- 
David Laight: david@l8s.co.uk