Re: [SLUG] Loading a driver permanently

From: Mario Lombardo (mario@alienscience.com)
Date: Fri Aug 30 2002 - 09:25:07 EDT


Ok, now I'm very confused. My output looks exactly like yours below,
yet I get better results with insmod. How does that make any sense?

What's "value of $0?" An "echo $0" returns "-bash."

/mario

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Thursday 29 August 2002 17:13, Mario Lombardo wrote:
>> Glen, modprobe and insmod in RH7.1 seem not be the same file.
>
>Did you look? (BTW- this is Mdk, not RH so YMMV)...
>
> $ which insmod
> /sbin/insmod
> $ which modprobe
> /sbin/modprobe
>
> $ ls -l /sbin/insmod /sbin/modprobe
> -rwxr-xr-x 1 root root 93660 Sep 11 2001 /sbin/insmod
> lrwxrwxrwx 1 root root 6 Sep 23 2001
>/sbin/modprobe ->
>insmod
>
>
>> When I
>> run modprobe alone it returns with the shell prompt. When I run
>> insmod, it sends all kinds of toplevel information to the console,
>> stdout whatever, and it loads the driver successfully.
>
>insmod performs differently based on the value of $0 (the program name).
>modprobe will read the /etc/modules.conf file to load any dependancies.
>
>man modprobe and insmod for gory details...
>
>
>- --
>If you're not living on the edge, you're taking up too much space...
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.0.6 (GNU/Linux)
>Comment: For info see http://www.gnupg.org
>
>iD8DBQE9bpuQER3MuHUncBsRAvHbAJsGSNuiD7vN/aFZzmuSxDUJoLz3WwCdFgTD
>INue5SEtvLbGRd6rkN2DV8c=
>=cobG
>-----END PGP SIGNATURE-----



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 17:25:51 EDT