Kernel Modules 101:: What modprobe does?

Tags: Kernel, OS, linux

What does modprobe do?

As we have discussed already, modprobe command loads or removes a loadable kernel module. It was previously used as 'modutils' and is now included in module-init-tools package in newer linux kernel versions. There are various similar commands like insmod and rmmode but modprobe dominates them all due to various reasons.

The modprobe offers the following features:

This makes modprobe unique and essential. The modprobe program also has more configuration features than other similar utilities. It is possible to define module aliases allowing for some automatic loading of modules. If you are interested to know more, read the man pages of module-init-tools and see for yourself what’s really going on.