From owner-freebsd-current@FreeBSD.ORG Wed Nov 30 12:43:24 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 40231106564A for ; Wed, 30 Nov 2011 12:43:24 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 29F268FC17 for ; Wed, 30 Nov 2011 12:43:24 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pAUChOIY055506 for ; Wed, 30 Nov 2011 12:43:24 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pAUChNL5055505 for freebsd-current@freebsd.org; Wed, 30 Nov 2011 12:43:23 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Wed, 30 Nov 2011 13:43:20 +0100 From: Baptiste Daroussin To: freebsd-current@FreeBSD.org Message-ID: <20111130124320.GA1449@azathoth.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: [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: Wed, 30 Nov 2011 12:43:24 -0000 --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, With the help of cognet, I wrote a patch to turn devctl into a multiple ope= nable device, that mean that it will allow to open /dev/devctl in multiple progra= ms, 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:=20 http://people.freebsd.org/~bapt/devctl_multi_open.diff regards, bapt --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk7WJOgACgkQ8kTtMUmk6EwPvwCdHgzdU94/XEZNc9cMlwGP8BJB XEsAnRvCX7tcquEY19n7FMU+lXzlmk0R =TA5L -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C--