Re: Modprobe and Insmod

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



PFJ wrote:

whats the exact difference b/n Modprobe and Insmod, and which one is preferred

modprobe drags in any other modules required for it to run, insmod tries
to insert the mod, but not the others it may require.

Insmod takes a path to the module you want to insert, whereas modprobe has a little database of what modules are present in /lib/modules/<current kernel version> generated by running depmod. The little database captures the dependencies of what auxiliary modules are needed, eg, webcom module blah might demand various video and usb-video related modules. So it's very much like the difference between running rpm and yum.

Use modprobe.

Yes, modprobe works a lot better at the minor cost of having to stick new modules down /lib/modules/<current kernel version> and running depmod beforehand.

-Andy

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux