On 12/29/2008 02:32 PM, Marc Blumentritt wrote:
> is there a general way to test, if a kernel module was loaded with a
> module option and which module options were used?

There is at least /sys/module/<modulname>/parameters/<parametername>
If there is nothing else, one could at least compare each parameter to
its default value or something like that. Attention, not everything in
/sys/module _is_ a module, seems more like everything that is or _could_
be a module is there.

If the moduleoption was set when booting, one could of course use
/proc/cmdline, but I think that might be not exactly what you want.

-cf

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to