[LCP]command line arguments

S.Rangarajan rangar20 at eth.net
Thu Jul 26 22:55:11 UTC 2001


hi ,

i was writing a module and it required use of command 
line arguments

so in the init_module method i used 
MODULE_PARM (varname,"s") to fetch the arguments
i then compiled the module

but i am not able to insert the variables into environment
i tried 

insmod param varname="value"      --- cannot insert module param
insmod  varname="value"               --- cannot insernt module varname="value"

the above statements are giving error. how do i insert the 
variables into environment

Thanks & Regards,
Srinath Thiruvengadam


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux.org.au/pipermail/linuxcprogramming/attachments/20010726/b3b90dd6/attachment.htm 


More information about the linuxCprogramming mailing list