linux - Passing parameters to dependent kernel module during loading -
During a startup, some kernel modules are trying to see a way to pass parameter values. The problem is how do I pass a parameter
For example, my requirements 1. I want to pass the parameter param1 = value During a load time, for a module mod1 2. During the load time, you want to pass param2 = value a module mod2 parameter
We do modprobe mod1 param1 = value which takes care of the first requirement but < mod2 load as part of the command given above Is happening so I can not pass it to param2 .
Thanks Raj
Place the module parameters in
/etc/modprobe.d/ * conf as described in m. Odprobe.d (5) man page. option mod2 param2 = value
Comments
Post a Comment