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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux