Are /sbin/hotplug script and scripts under /etc/hotplug.d/ directory not used now?
Hi,
In the Linux Device Driver 3rd edition book by Jonathan Corbet, Allessandro Rubini and Greg Kroah-Hartman I see like on any kobject event and after some filtering and environment information stuff added as argument to /sbin/hotplug script which will again invoke the required scripts under /etc/hotplug.d/ directory based on the environment data passed as arguments previously for hot plug mechanism. But I could not see both /sbin/hotplug or /etc/hotplug.d/ directory in my laptop. Are those not used now and replaced with some other mechanisms? I am using ubuntu 14.04 LTS. Please reply. Thanks, Ayyappan |
Quote:
Refer https://en.wikipedia.org/wiki/Udev Quote:
|
Hi Ferrari,
After exploring with udev, I came to know mdev, another light weight utility used in embedded systems. Please let me know any other alternatives currently in use for embedded systems as well as desktops/high end servers like that. Thanks a lot in advance. |
Google might be your friend here. I have no need to use anything other than udev.
A quick search turned out these... https://core.suckless.org/smdev/ https://core.suckless.org/nldev/ Gentoo and friends offer eudev which is a fork of udev for those using alternative init systems. https://wiki.gentoo.org/wiki/Eudev YMMV. |
All times are GMT -5. The time now is 04:19 PM. |