On 1/17/07, Greg KH <greg@xxxxxxxxx> wrote:
On Wed, Jan 17, 2007 at 04:18:42PM +0200, Ramagudi Naziir wrote: > Hello. > > In 2.6.20-rc5 I see the following line: > char uevent_helper[UEVENT_HELPER_PATH_LEN] = "/sbin/hotplug"; > > But, in my distribution (fc6) there is no file /sbin/hotplug. > > How can It be ? It is not needed anymore by "modern distros" > Does the kernel still invoke /sbin/hotplug or does it invoke udev these > days ? It uses udevd to listen to the netlink socket that also spits out all hotplug events. > Is there a way to change the uevent_helper in runtime ? Yes, change the proc file (proc/sys/kernel/hotplug) to point to something else. > is there a way to see what does uevent_helper is set to in runtime ? 'cat /proc/sys/kernel/hotplug' For most modern distros, it is set to nothing because they are using udevd like I mention above. hope this helps,
yes, it does, as always :) Thank You naziir PS is there up-to-date documentation about udev ?
greg k-h
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/