On Tue, Dec 8, 2009 at 10:44 AM, Owain Ainsworth <zer...@googlemail.com>
wrote:
>> The way devices work, you can't reliably tell who has it open.  open
>> and close are only called for two events, the first open and the last
>> close.  In between, all sorts of things can happen.
>
> I was sure it was *every* open, and the *last* close only. looking at
> miscfs/specfs confirms this to me. It makes these things somewhat
> fiddly, still.

Oops, yes, sorry for the misinformation.  You do get an open call for
every open, but not for dup or fork.

Reply via email to