From: Lucas De Marchi <lucas.de.marchi@gmail.com>
To: Honggang LI <honli@redhat.com>
Cc: linux-modules <linux-modules@vger.kernel.org>
Subject: Re: kmod documentation issue -- module parameters must after modulename
Date: Sat, 4 Jun 2016 11:07:14 -0300 [thread overview]
Message-ID: <CAKi4VALSHSvvXRGSsAL-34SRn9Nh0rqW7xFHpGJL1Kn88_1YCw@mail.gmail.com> (raw)
In-Reply-To: <20160601111207.GB28228@dhcp-13-42.nay.redhat.com>
On Wed, Jun 1, 2016 at 8:12 AM, Honggang LI <honli@redhat.com> wrote:
> 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
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
next prev parent reply other threads:[~2016-06-04 14:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-01 11:12 kmod documentation issue -- module parameters must after modulename Honggang LI
2016-06-04 14:07 ` Lucas De Marchi [this message]
2016-06-06 3:06 ` Honggang LI
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKi4VALSHSvvXRGSsAL-34SRn9Nh0rqW7xFHpGJL1Kn88_1YCw@mail.gmail.com \
--to=lucas.de.marchi@gmail.com \
--cc=honli@redhat.com \
--cc=linux-modules@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).