Hotplug2 0.9 review

Download
by rbytes.net on

Hotplug2 project is a trivial replacement of some of the UDev functionality in a tiny pack, intended for Linux early userspace: Init

License: GPL (GNU General Public License)
File size: 0K
Developer: iSteve
0 stars award from rbytes.net

Hotplug2 project is a trivial replacement of some of the UDev functionality in a tiny pack, intended for Linux early userspace: Init RAM FS and InitRD. The binary is (x86, dynamically linked against glibc) 15 KiB with -Os (v0.7).

Yet it includes ability to parse rules and execute actions accordingly. It basically takes the best from both worlds -- the flexibility of udev with the distributing events design of hotplug. It can be used to create devices or to just load modules (which is it's primary goal).

I have to re-emphasize that this is not an udev replacement for desktop boxes. This is udev replacement for specific cases, that is early userspace and possibly embedded devices. That's it.

Requirements:
A recent Linux kernel (apparently 2.6.15 or greater) is necesary for Hotplug2.
Binary 'udevtrigger' for udev is necessary for initial devices detection, however, using --no-udevtrigger parameter, it can be switched off.

What's New in This Release:
This release uses signals to handle children (implies cleanup in the event loop).
It has separate info and debugging output.
There are minor cleanups.

Hotplug2 0.9 keywords