[Toybox] Newtoy: modinfo
Andre Renaud
andre at bluewatersys.com
Sun Jul 8 22:24:18 PDT 2012
Hi,
Attached is a simple implementation of modinfo. Assuming this is ok,
it lends itself pretty closely to the depmod (and possibly modprobe)
tool as well, in that they basically involve scanning /lib/modules for
.ko files and processing them.
Regards,
Andre
--
Bluewater Systems - An Aiotec Company
Andre Renaud
andre at bluewatersys.com 5 Amuri Park, 404 Barbadoes St
www.bluewatersys.com PO Box 13 889, Christchurch 8013
www.aiotec.co.nz New Zealand
Phone: +64 3 3779127 Freecall: Australia 1800 148 751
Fax: +64 3 3779135 USA 1800 261 2934
-------------- next part --------------
A non-text attachment was scrubbed...
Name: modinfo.c
Type: text/x-csrc
Size: 2290 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20120709/bc96ba34/attachment-0006.c>
More information about the Toybox
mailing list