From owner-freebsd-current Sun Jun 14 21:34:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA07847 for freebsd-current-outgoing; Sun, 14 Jun 1998 21:34:00 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from critter.freebsd.dk (critter.freebsd.dk [195.8.129.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA07836 for ; Sun, 14 Jun 1998 21:33:57 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.5) with ESMTP id GAA03415; Mon, 15 Jun 1998 06:32:09 +0200 (CEST) To: Julian Elischer cc: Brian Somers , current@FreeBSD.ORG Subject: Re: RFC: Change to the device interface In-reply-to: Your message of "Sun, 14 Jun 1998 17:14:30 PDT." Date: Mon, 15 Jun 1998 06:32:09 +0200 Message-ID: <3413.897885129@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message , Juli an Elischer writes: > > >On Mon, 15 Jun 1998, Poul-Henning Kamp wrote: > >> In message , 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. >> > >Ok, so you need to keep the opens counted somewhere else.. >where? In the vnode? Wouldn't that be the logical place ? -- 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