From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Sun, 02 Apr 2006 20:24:17 +0000 Subject: Re: Hotplug and udev - a question Message-Id: <20060402202417.GA28614@kroah.com> 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 Sun, Apr 02, 2006 at 05:04:30PM +0300, John Que wrote: > Hello, > > Thanks for the link! > I read it carefully; all of it , except of the last 2 > paragraphs, deal mainly with hotplug and improvements that > were made in hotplug-ng. > > Now, to the last 2 paragrapghs: > > >With the release of the 050 release of udev, if /sbin/udevsend is the kernel > >hotplug program (it can be changed by modifying the value of the > >/proc/sys/kernel/hotplug file), then it operates like the original > >/etc/hotplug.d multiplexer program as well as handling all of the udev device > >node generation. This ensures that the /etc/hotplug.d/ invocations > happen in the > >proper order, and in sequence for the same device. Gentoo Linux > already supports > >this mode of operation. > > >However, not every user wants to use udev. Because of that, the hotplug-ng > >project is continuing, even if it seems like they are competing against each > >other in implementing the same functionality. As the same developers are doing > >the work in both programs, all users of Linux benefit with a faster module > >loading process, and further advancements in hotplug functionality. > > > What I don't get from here is what is exactly the advantage > of using udev solely over using udev with hotplug and what > is the exact reason that hotplug is deprecated. > Is it because there is some functionality which is duplicated > in udev and in hotplug ? or some other reason ? Turns out you can do everything that hotplug did with just about 1 udev rule. So that makes the hotplug package obsolete. Now the hotplug package did do a few other odd things (firmware loading, etc.) that has been moved over to udev with external scripts for those systems that only use udev instead of hotplug. So if you do this, please be aware of this. thanks, greg k-h ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ 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