Either use lsmod within a system call or check /proc/modules (correct spot?)
insmod will insert the module. Just again by a system call
(....system("/<path>/insmod <module>");....)

Unfortunately I am on windows so I can't proof it.

Heinz


----- Original Message -----
From: "Frederic Cazenave" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 06, 2001 2:20 PM
Subject: [rtl] Modules


> Hi,
>
> is there a way to check from a user space program if a module is
> installed or not ?
> And if my module is mot installed how to do it inside the program ?
>
> Fred
>
> --
>  _________________________________________________________
> |                                                          |
> |               Frederic CAZENAVE                          |
> |    _/\_  /^=  McGill Radar                               |
> | \_/    \//    Box 198, MacDonald College                 |
> |   | /-\ |     Ste Anne de Bellevue                       |
> |   ||   ||     Quebec, Canada   H9X 3V9                   |
> |               Tel (514) 398 7733 fax (514) 398 7755      |
> |               mailto:[EMAIL PROTECTED]       |
> |               http://www.mpl.orstom.fr/hydrologie/catch/ |
> |__________________________________________________________|
>
>
>
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
>

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to