---

KernelTrap: hotplug-ng, Tiny Binaries for Autoloading Modules

“Greg KH announced his new hotplug based userspace project known
as hotplug-ng. He explains, ‘this collection of code replaces the
existing linux-hotplug package with very tiny, compiled executable
programs, instead of the existing bash scripts.’ He goes on to
add:

“‘But why redo this all in .c code? What’s wrong with shell
scripts? Nothing is wrong with shell scripts, unless you don’t want
to have an interpreter in your initramfs/initrd and you want to
provide /sbin/hotplug and autoload module functionality. Or if you
have a huge box that spawns a zillion hotplug events all at once,
and you need to be able to handle all of that with the minimum
amount of processing time and memory…'”

Complete Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis