Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Dec 2011 09:52:59 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Baptiste Daroussin <bapt@freebsd.org>, Hans Petter Selasky <hselasky@c2i.net>
Subject:   Re: [patch] turning devctl into a "multiple openable" device
Message-ID:  <201112010952.59680.jhb@freebsd.org>
In-Reply-To: <201111301741.25734.hselasky@c2i.net>
References:  <20111130124320.GA1449@azathoth.lan> <201111301741.25734.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112010952.59680.jhb>