Kernel Modules 101:: What modprobe does?
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
modprobe dominates them all due to various reasons.
modprobe offers the following features:
an ability to make more intuitive decisions about which modules to load
an awareness of module dependencies, so that when requested to load a module, modprobe adds other required modules first
the resolution of recursive module dependencies as required
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.