[PATCH] modprobe: Read module options from kernel command line

Jon Masters jonathan at jonmasters.org
Wed Sep 10 13:44:39 UTC 2008


On Thu, 2008-09-04 at 23:56 -0400, Jon Masters wrote:
> On Thu, 2008-09-04 at 18:30 -0400, Jeremy Katz wrote:
> > On Thu, 2008-09-04 at 13:54 -0700, Dan Nicholson wrote:
> > > It is often advantageous to pass parameters to built-in kernel modules
> > > at boot time using the convention <module>.<option>. However, this does
> > > not work with loadable modules where modprobe reads its options from the
> > > config files. This patch adds support for modprobe to read /proc/cmdline
> > > and add any options it finds when inserting the modules.
> > 
> > This is really nice and will allow us to drop some code both from the
> > livecd boot path and the installer, both of which read things
> > from /proc/cmdline and drop them into modprobe.conf if relevant
> 
> Yeah, this is what we were talking about on IRC the other day and then
> Dan happened to randomly send my way - I tried forwarding the patch the
> other day but a Red Hat internal systems glitch dropped the attached
> patch from my email. Anyway, a timely idea.

This patch is in upstream and built for Fedora in today's rawhide.

Jon.





More information about the Fedora-kernel-list mailing list