[PATCH] modprobe: Read module options from kernel command line
Pete Zaitcev
zaitcev at redhat.com
Thu Sep 4 21:29:51 UTC 2008
On Thu, 4 Sep 2008 14:22:46 -0700, "Dan Nicholson" <dbn.lists at gmail.com> wrote:
> > I see two of them. You didn't add it into insmod by any chance?
> > If so, there has to be a way to override this.
>
> I didn't add it into insmod. The first call to read_kcmdline() is
> during the dump_only (-c) fast path. There's an exit(0) on the next
> line after this hunk. The second call is during the normal loop over
> the module names supplied. Later in that loop is where the actual
> insmod/rmmod is performed in handle_module(). Is that what you're
> asking?
Yes, thanks. Looks like a good idea to me. Although personally I'm
used to modifying both grub.conf and modprobe.conf simultaneously.
-- Pete
More information about the Fedora-kernel-list
mailing list