First version of kmod released

libkmod

kmod-*

modprobe

In a recent Linux Desktop (and also several embedded systems) when computer is booting up, udev is responsible for checking available hardware, creating device nodes under /dev (or at least configuring their permissions) and loading kernel modules for the available hardware. In a kernel from a distribution it's pretty common to put most of the things as modules. Udev reads the /sys filesystem to check the available hardware and tries to load the necessary modules. This translates in hundreds of calls to the modprobe binary, and in several of them just to know the module is already loaded, or it's in-kernel. With libkmod it's possible for udev with a few lines of code to do all the job, benefiting from the configurations and indexes already opened and parsed.

insmod

lsmod

rmmod

modprobe

libkmod

A new libraryand set of tools () for handling kernel modules has been announced . The idea is to give early boot tools, installers, udev, and others an easy way to query and control kernel modules via a library, rather than using. "" The project also provides work-alike programs for, and an incomplete version ofthat use, with plans to complete the set. (Thanks to Luis Felipe Strano Moraes.) Log in to post comments)