From owner-cvs-all Fri Aug 13 16:27:41 1999 Delivered-To: cvs-all@freebsd.org Received: from awfulhak.org (dynamic-53.max1-du-ws.dialnetwork.pavilion.co.uk [212.74.8.53]) by hub.freebsd.org (Postfix) with ESMTP id DC1C914F7A; Fri, 13 Aug 1999 16:27:29 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (root@keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id XAA04224; Fri, 13 Aug 1999 23:38:54 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id XAA02596; Fri, 13 Aug 1999 23:41:07 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199908132241.XAA02596@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Julian Elischer Cc: Poul-Henning Kamp , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/miscfs/specfs spec_vnops.c src/sys/sys conf.h In-reply-to: Your message of "Fri, 13 Aug 1999 12:51:48 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 13 Aug 1999 23:41:07 +0100 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > > > On Fri, 13 Aug 1999, Poul-Henning Kamp wrote: > > > > > I'm not sure I copy you here, (actually I very sure I don't :-) > > > > Could you explain what it is that the driver wants to know here ? > > The driver in one system I was playing with, needed to know when the last > writer releasd the device so that the driver could downgrade the device to > read-only mode. The reason for this was that when this happenned, the > device would complete an internal back-up of the data, and label the > backup as 'stable'. > > Unless you keep track of all closes and mode changes, you can't do this. > Also Justin was saying he wnated to do this for some of his own reasons as > well. > > The simplest way to do it would be to add an advisory entrypoint > that was called for ALL closes, not just the last one, and also when a > fork happenned as you now have more users. I wasn't too fussed about that > one, but Justin had some good reasons at the time... [.....] One possibility would be to support generic devices - /dev/tun for example rather than /dev/tun*. It'd be amazing to have /dev/pty too :-) -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message