Re: Re: driver option create ttyUSB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2014-08-07 at 20:31 -0700, Greg KH wrote:
> On Fri, Aug 08, 2014 at 10:56:57AM +0800, w wrote:
> > 
> > If use symlinks it can work well.
> > 
> > But why program in userspace can prevent driver release the node?
> > The program just open the node, nothing else.
> 
> If it holds the node open, of course the kernel can't release it, the
> resource is still in use.  That's the way it is supposed to be, don't
> you agree?

Actually on second thought, why? While the device is open there's an
obvious reason to not throw away an fd and its associated baggage.
But why the device node?
That would be necessary only if you were to use the number as an
index.

	Regards
		Oliver


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux