It is often advantageous to pass parameters to built-in kernel modules
authorJon Masters <jcm@jcmlaptop.bos.redhat.com>
Tue, 9 Sep 2008 15:40:15 +0000 (11:40 -0400)
committerJon Masters <jcm@jcmlaptop.bos.redhat.com>
Tue, 9 Sep 2008 15:40:15 +0000 (11:40 -0400)
commit83a882728ee10282682e38c7f42007f465dd3361
treeda634d8aab16506d77b112d8c5675a8118c6bf2c
parent10f9ddf192ccd07f4b25cb901ce7053b076e147b
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.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Jon Masters <jcm@jonmasters.org>
doc/modprobe.sgml
modprobe.c