I know insmod
and modprobe
are used to insert module into the kernel.
But, what\'s the difference between them?
And, why is it dangerous to ins
insmod: Used to load a module
modprobe: Much same way as insmod, but also loads any other modules that are required by the module that you want to load.
Although you’ll still need insmod when loading your own modules from the current
directory, because modprobe looks only in the standard installed module directories.
Reference:https://lwn.net/Kernel/LDD3/