Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Nov 2000 12:08:11 -0800
From:      bruno schwander <bschwand@dvart.com>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: close call in a device ?
Message-ID:  <3A0B042B.BAABCBDE@dvart.com>
References:  <200011091827.LAA22910@usr08.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank you infinitely for all this information.
It will take me a while to absorb and poke around in the right places but this is
definitely extremely useful, thank you.

I will most probably come back to you with more questions, in a near future
time...

bruno

Terry Lambert wrote:

> > > To add to this, the close calls can be forces; there is a flag
> > > in the device structure wich can force notification.  I'm not
> > > sure what it does over a fork(), though: I think you really want
> > > open notification.
> >
> > You mean that when I register my device/kernel module, I can
> > explicitely request that all close calls will notify my module?
> > That is exactly what I need.
>
> Add D_TRACKCLOSE to d_flags for your device.  When the d_close()
> of your device is call, the first arg is the dev.
>

snip ... much much more ....




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A0B042B.BAABCBDE>