Subject: Re: Getting file descriptor in driver ioctl method
To: None <tech-kern@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 05/09/2002 11:54:03
On Thu, May 09, 2002 at 09:58:16AM +0200, Emmanuel Dreyfus wrote:
>
> How would you do the different vnode per open trick? Would just removing
> the vnode from spec hashchain be enough?
I'd look at the recent changes for clone devices....
I've not looked at how this has been done in netbsd,
solaris and SVR4 do it by returning a different vnode
from VOP_OPEN.
David
--
David Laight: david@l8s.co.uk