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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 4, 2008 at 3:30 PM, Jeremy Katz <katzj@xxxxxxxxxx> 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

_______________________________________________
Fedora-kernel-list mailing list
Fedora-kernel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-kernel-list

[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux