Marco d'Itri wrote:
> ------- Comment #1 from [EMAIL PROTECTED]  2006-12-20 15:55 -------
> Tried to reproduce this and got no problem, my steps to reproduce were:
> 
> 1. Created a file in '/etc/modprobe.d/' with the following contents:
> 
> """
> install no-param-module modprobe --ignore-install no-param-module 
> $CMDLINE_OPTS
> install param-module modprobe --ignore-install param-module $CMDLINE_OPTS
> """
> 
> 2. Moved no-param-module (just prints hello) and 'param-module' (prints hello
> and accepts an optional parameter) to /lib/modules/$(uname -r)/kernel/lcapit
> 
> 3. Ran:
> 
> # modprobe param-module whom=blah
> 
> and it works. Am I missing something?


Yes.  To make your experiment look like the case I reported,
param-module should depend on no-param-module.  Then you should
find that the "whom" parameter gets passed both to param-module
and to no-param-module.

-- 
Thomas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to