From owner-freebsd-current@FreeBSD.ORG Thu Dec 1 14:53:01 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22964106564A; Thu, 1 Dec 2011 14:53:01 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id EE9C68FC25; Thu, 1 Dec 2011 14:53:00 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id A692C46B0A; Thu, 1 Dec 2011 09:53:00 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 3D61CB943; Thu, 1 Dec 2011 09:53:00 -0500 (EST) From: John Baldwin To: freebsd-current@freebsd.org Date: Thu, 1 Dec 2011 09:52:59 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p8; KDE/4.5.5; amd64; ; ) References: <20111130124320.GA1449@azathoth.lan> <201111301741.25734.hselasky@c2i.net> In-Reply-To: <201111301741.25734.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201112010952.59680.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 01 Dec 2011 09:53:00 -0500 (EST) Cc: Baptiste Daroussin , Hans Petter Selasky Subject: Re: [patch] turning devctl into a "multiple openable" device X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2011 14:53:01 -0000 On Wednesday, November 30, 2011 11:41:25 am Hans Petter Selasky wrote: > On Wednesday 30 November 2011 13:43:20 Baptiste Daroussin wrote: > > Hi all, > > > > With the help of cognet, I wrote a patch to turn devctl into a multiple > > openable device, that mean that it will allow to open /dev/devctl in > > multiple programs, for example hald and everythings that want to receive > > notification from the device won't need to depend on haveing devd running. > > > > here is the patch: > > http://people.freebsd.org/~bapt/devctl_multi_open.diff > > > > regards, > > bapt > > Comment: > > Is the track-close flag set for the devfs sw? Not, it uses the far-superior devfs_set_cdevpriv(). -- John Baldwin