1 |
2008/12/31 Christian Franke <cfchris6@×××××.de>: |
2 |
> On 12/29/2008 02:32 PM, Marc Blumentritt wrote: |
3 |
>> is there a general way to test, if a kernel module was loaded with a |
4 |
>> module option and which module options were used? |
5 |
> |
6 |
> There is at least /sys/module/<modulname>/parameters/<parametername> |
7 |
> If there is nothing else, one could at least compare each parameter to |
8 |
> its default value or something like that. Attention, not everything in |
9 |
> /sys/module _is_ a module, seems more like everything that is or _could_ |
10 |
> be a module is there. |
11 |
> |
12 |
> If the moduleoption was set when booting, one could of course use |
13 |
> /proc/cmdline, but I think that might be not exactly what you want. |
14 |
> |
15 |
> -cf |
16 |
> |
17 |
> |
18 |
|
19 |
|
20 |
|
21 |
-- |
22 |
Julien Porschen |