* What is the difference between modprobe and insmod?
@ 2002-12-20 7:11 bobo
2002-12-20 8:20 ` Joel Newkirk
2002-12-20 11:50 ` Dharmendra.T
0 siblings, 2 replies; 3+ messages in thread
From: bobo @ 2002-12-20 7:11 UTC (permalink / raw)
To: netfilter, netfilter; +Cc: bobowd, bobowd
While writing IPtables scripts,there are two command: modprobe and insmod.
In some example,some use : modprobe ip_tables,but others use: insmod ip_tables.
Why? Is there difference between them?
Thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: What is the difference between modprobe and insmod?
2002-12-20 7:11 What is the difference between modprobe and insmod? bobo
@ 2002-12-20 8:20 ` Joel Newkirk
2002-12-20 11:50 ` Dharmendra.T
1 sibling, 0 replies; 3+ messages in thread
From: Joel Newkirk @ 2002-12-20 8:20 UTC (permalink / raw)
To: bobo, netfilter@lists.netfilter.org; +Cc: bobowd@sohu.com
On Friday 20 December 2002 02:11 am, bobo wrote:
> While writing IPtables scripts,there are two command:
> modprobe and insmod.
>
> In some example,some use : modprobe ip_tables,but others use:
> insmod ip_tables.
>
> Why? Is there difference between them?
For the purpose of loading specified modules you can consider them the
same. Modprobe is a higher-level interface that will call insmod. I
personally use modprobe since it succeeds silently. IE, if it
successfully loads the module, or if the module is already loaded,
insmod will report this, while modprobe will not output anything in
these situations. They will both, by default, report failure to
find/load a module, and the -q option tells them both to be quiet about
errors, but insmod will /still/ report success even with -q.
For full details see "man insmod" and "man modprobe"... :^)
(under KDE, the default IIRC with RedHat 7.2, using alt-F2 then #insmod
in the dialog, or #insmod as a URL in konquerer works nicely)
j
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: What is the difference between modprobe and insmod?
2002-12-20 7:11 What is the difference between modprobe and insmod? bobo
2002-12-20 8:20 ` Joel Newkirk
@ 2002-12-20 11:50 ` Dharmendra.T
1 sibling, 0 replies; 3+ messages in thread
From: Dharmendra.T @ 2002-12-20 11:50 UTC (permalink / raw)
To: bobo; +Cc: netfilter, bobowd
The difference is that lsmod won't insert the dependent modules whereas
the modprobe does.
Dharmendra.T
Linux Security Expert
On Fri, 2002-12-20 at 12:41, bobo wrote:
>
>
> While writing IPtables scripts,there are two command: modprobe and insmod.
>
> In some example,some use : modprobe ip_tables,but others use: insmod ip_tables.
>
> Why? Is there difference between them?
>
>
> Thanks
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-12-20 11:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-20 7:11 What is the difference between modprobe and insmod? bobo
2002-12-20 8:20 ` Joel Newkirk
2002-12-20 11:50 ` Dharmendra.T
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.