Re: Modprobe and Insmod

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

 



On 7/26/06, Kaushal Shriyan <kaushalshriyan@xxxxxxxxx> wrote:
On 7/26/06, Andy Green <andy@xxxxxxxxxxx> wrote:
> 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
>
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
>
>
Hi Andy

Thanks for the quick turnaround
so the steps as what you mentioned are as below

#depmod
#modprobe test (if test is the name of the module)

Correct me if I am wrong

Thanks and Regards

Kaushal


Hi ALL

Thanks for the quick turnaround
so the steps as what you mentioned are as below

#depmod
#modprobe test (if test is the name of the module)

Correct me if I am wrong

Thanks and Regards

Kaushal


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

  Powered by Linux