mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Tom Horsley <tom.horsley@ccur.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: module parameters versus kernel command line
Date: Thu, 3 Apr 2008 08:39:53 -0700	[thread overview]
Message-ID: <20080403083953.42ea3f1d.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20080403090053.56f243df@tomh>

On Thu, 3 Apr 2008 09:00:53 -0400 Tom Horsley wrote:

> Just curious: Is there any reason even dynamically loaded
> modules shouldn't be able to find module parameters on
> the kernel command line? I haven't actually investigated
> the code involved (since I have no idea where it is :-),
> but it sure seems like it would be convenient to have
> a single place to put module parameters where they
> would always be found regardless of the module's static
> or dynamic build mode (especially when multi-booting
> different kernels built different ways).
> --

Does this answer your question?  from Documentation/kernel-parameters.txt:

Module parameters for loadable modules are specified only as the
parameter name with optional '=' and value as appropriate, such as:

	modprobe usbcore blinkenlights=1

Module parameters for modules that are built into the kernel image
are specified on the kernel command line with the module name plus
'.' plus parameter name, with '=' and value if appropriate, such as:

	usbcore.blinkenlights=1

---
~Randy

  reply	other threads:[~2008-04-03 15:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-03 13:00 Tom Horsley
2008-04-03 15:39 ` Randy Dunlap [this message]
2008-04-03 16:04   ` Tom Horsley
2008-04-03 16:14     ` Randy Dunlap
2008-04-03 23:09       ` Rusty Russell
2008-04-04 11:45         ` Marc Pignat
2008-04-04 22:29           ` Rusty Russell
2008-04-05 22:54             ` Tom Horsley
2008-04-06  3:08               ` Rusty Russell
2008-04-03 16:31     ` Chris Friesen

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=20080403083953.42ea3f1d.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tom.horsley@ccur.com \
    /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

Powered by JetHome