Re: /sbin/hotplug or udev ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux