Re: module parameters versus kernel command line

From: Chris Friesen
Date: Thu Apr 03 2008 - 12:32:31 EST


Tom Horsley wrote:

I know that part, I'm just wondering if it would be nice to have
even dynamically loaded modules notice the kernel option
so that the "usbcore" module would see the "blinkenlights=1"
parameter from the kernel boot options when dynamically loaded?

What if the module is loaded with parameters, and parameters are also specified in the kernel command line?

I'd suggest that the dynamic parameter should probably take precedence, as that would allow the user to specify things that were not necessarily known at boot time, while still providing a boot-time fallback.

Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/