Re: kmod documentation issue -- module parameters must after modulename
From: Honggang LI <hidden>
Date: 2016-06-06 03:06:27
On Sat, Jun 04, 2016 at 11:07:14AM -0300, Lucas De Marchi wrote:
On Wed, Jun 1, 2016 at 8:12 AM, Honggang LI [off-list ref] wrote:quoted
upstream-git]$ git clone https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git upstream-git]$ cd kmod kmod]$ grep -w -n fred -r . ./man/modprobe.d.xml:144: This can be useful because users expect "modprobe fred opt=1" to ^^^^^^^^^^^^^^^^^^^ ./man/modprobe.d.xml:148: --ignore-install fred $CMDLINE_OPTS" ^^^^^^^^^^^^^^^^^^ "modprobe fred opt=1" should be "modprobe opt=1 fred" "fred $CMDLINE_OPTS" should be "$CMDLINE_OPTS fred"Have you tried that? The doc is actually correct that the options
Sorry, it is my bad.
should be after the module name, not before. And it *is* the modprobe behavior: https://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/tree/tools/modprobe.c#n591 Lucas De Marchi