Modprobe and Insmod

Kaushal Shriyan kaushalshriyan at gmail.com
Wed Jul 26 11:17:58 UTC 2006


On 7/26/06, Kaushal Shriyan <kaushalshriyan at gmail.com> wrote:
> On 7/26/06, Andy Green <andy at warmcat.com> 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 at redhat.com
> > 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




More information about the fedora-list mailing list