On Thu, Sep 4, 2008 at 3:30 PM, Jeremy Katz <katzj(a)redhat.com> 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, it seemed like a nice win overall. I originally tried to hack
rc.sysinit to create a temporary file in /etc/modprobe.d from
/proc/cmdline, but it didn't work because or readonly /. This is
cleaner, anyways. Hope to see it in a module-init-tools release soon.
--
Dan