Skip to contentSkip to conversation

passing arguments to module

DISCUSSION Anil Kumar Prasad 2 participants 2 messages Nov 18, 2000

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines
Quoted 2 lines

can anybody tell how to pass argument to modules?

RTFM. man modprobe. man insmod. man modules.conf.

sorry i didn't ask the question properly. I need to know how does kernel modules accept run time arguments from user?
Thanks
Anil

__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw
Quoted 3 lines · Anil Kumar Prasad

sorry i didn't ask the question properly. I need to know how does kernel modules accept run time arguments from user?

MODULE_PARM(variable, type) in the code. It defines which variables can be set on the insmod command and what type of data to accept.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/