[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] Modules



In message <3AA53899.5216AC97@radar.mcgill.ca> you wrote:
> 
> is there a way to check from a user space program if a module is
> installed or not ?

You mean,  something  like  reading  /proc/modules?  Or  running  the
/sbin/lsmod program?

"man execv popen" might give some more information.

> And if my module is mot installed how to do it inside the program ?

For instance, by running the /sbin/insmod program.

"man execv popen system" might give some more information.

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
"May your future be limited only by your dreams."
- Christa McAuliffe