Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 1998 01:05:51 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Julian Elischer <julian@whistle.com>
Cc:        Brian Somers <brian@awfulhak.org>, current@FreeBSD.ORG
Subject:   Re: RFC: Change to the device interface 
Message-ID:  <2265.897865551@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 14 Jun 1998 14:44:23 PDT." <Pine.BSF.3.95.980614143541.6528A-100000@current1.whistle.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.3.95.980614143541.6528A-100000@current1.whistle.com>, Juli

Julian, I think this is needless generality.

Just add one new entrypoint to the devsw structure "openclose"
which receives as argument the number of currently open R/O and
R/W opens, as well as the delta which is causing this call, and
the credentials of the process affecting the change.

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
"ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal

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



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