what is Hot plug in Linux
Just like windows Plug n Play ,
"Hotplugging" today is mainly "dispatch device events from the kernel to
userland" and not only loading modules. If you only need to autoload
modules, you can do this with one damn simple generic binary or script
pluggged into /sbin/hotplug.
But if you need to hook into event to notify system daemons or run
programs for specific devices, forget the whole old hotplug package
and /sbin/hotplug and run the udev daemon and specify rules to plug into
the device events.
"Hotplugging" today is mainly "dispatch device events from the kernel to
userland" and not only loading modules. If you only need to autoload
modules, you can do this with one damn simple generic binary or script
pluggged into /sbin/hotplug.
But if you need to hook into event to notify system daemons or run
programs for specific devices, forget the whole old hotplug package
and /sbin/hotplug and run the udev daemon and specify rules to plug into
the device events.
Comments
Post a Comment