Re: misleading MODVERSIONS help

Snow Cat (snowcat@math.csufresno.edu)
Sun, 18 Feb 1996 16:17:47 -0800 (PST)


Jacques Gelinas once wrote:
>
> On Sun, 18 Feb 1996, Snow Cat wrote:
>
> > I believe this is somewhat misleading. insmod (instead of modprobe) can
> > get MODVERSION'ed modules in fine and PPP does work with 'Y' :)
>
> modprobe is just a front end to insmod. What is does is load the
> appropriate module (avoiding telling the path) and will load/unload
> a stack of module automagically calling insmod for each.
>
> You are right about insmod supporting MODVERSION'ed modules. modprobe just
> don't care about this issue and bases its decision on the depmod utility
> (which check inter module dependancies). depmod and modprobe are the same
> utility since they share most of the code.
>
> modprobe is still the prefered way to used module, mainly because it will
> load the appropriate one based on a configuration file, while insmod will
> only load the one you tell which is not as convenient.
>

Yeah, but is there any special reason for using modprobe with MODVERSION'ed
kernels only? I just think there must be a better way and place to describe
advantages of modprobe (such as modules manual pages) :)

> Given they are part of the same distribution (modprobe and insmod) I feel
> talking about modprobe is "fair". Already to many utilities are calling
> insmod directly, with the wrong path (ncp utilities for one). The purpose
> of modprobe is to avoid to spread knowledge about modules everywhere.

-- 
     Snow ^oo^ Cat <snowcat@math.CSUFresno.EDU>
      _  ->  <-    aka Oleg Kibirev <oleg@math.CSUFresno.EDU>
  ___(_)  _ _)_    
 /            _)   finger oleg@math.math.CSUFresno.EDU for PGP public key
 \_.-._
       |___/	Purr!