From owner-freebsd-current Sun Jun 14 16:08:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA23536 for freebsd-current-outgoing; Sun, 14 Jun 1998 16:08:03 -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 QAA23519 for ; Sun, 14 Jun 1998 16:08:00 -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 BAA02267; Mon, 15 Jun 1998 01:05:51 +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 14:44:23 PDT." Date: Mon, 15 Jun 1998 01:05:51 +0200 Message-ID: <2265.897865551@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. -- 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