From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Mon, 08 Dec 2003 19:40:09 +0000 Subject: Re: D-BUS patch for udev-008 Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, Dec 08, 2003 at 12:01:01AM +0100, David Zeuthen wrote: > Hi, > > Attached is a patch against udev-008 to send out a D-BUS message when a > device node is added or removed. Very nice. I've applied your patch, and then made the following changes: - fixed the formatting to use tabs instead of spaces - removed all of the #ifdef USE_DBUS statments out of the code (I've been writing kernel code too long, #ifdef within .c files looks ugly to me...) and created a new file udev_dbus.c to hold these functions. - changed the Makefile variable to DBUS instead of USE_DBUS - turned the default option to not build the DBUS support as I can't get it to link properly on a number of different OSs. How did you test this? I get lots of errors at link time using a Fedora 1 machine. And I can't even build DBUS on an old Red Hat 7.3 box due to automake issues :( I've checked all of this into the bk tree if anyone else wants to play with it. thanks, greg k-h ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel