From owner-freebsd-hackers Sat Dec 8 3: 4:57 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id D1F6737B405 for ; Sat, 8 Dec 2001 03:04:54 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 7869081D01; Sat, 8 Dec 2001 05:04:54 -0600 (CST) Date: Sat, 8 Dec 2001 05:04:54 -0600 From: Alfred Perlstein To: Poul-Henning Kamp Cc: Terry Lambert , Dave Rufino , freebsd-hackers@FreeBSD.ORG Subject: Re: statefulness in character device drivers Message-ID: <20011208050454.A92148@elvis.mu.org> References: <3C11E982.F50F2353@mindspring.com> <47779.1007808692@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <47779.1007808692@critter.freebsd.dk>; from phk@critter.freebsd.dk on Sat, Dec 08, 2001 at 11:51:32AM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Poul-Henning Kamp [011208 04:53] wrote: > > If you don't include dup/dup2/fnctl in your accounting, you > can only reliably tell "first open", "another open", "some close" > and "final close". You an modulate this with the pid, but you > still have no idea what is going on in any amount of detail. Does linux track dup/fcntl? One of the things is that a default VOP for this means that the underlying vnode doesn't care, hence we can make it nop-ish right? -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' http://www.morons.org/rants/gpl-harmful.php3 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message