Gentoo Archives: gentoo-user

From: Christian Franke <cfchris6@×××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] test, if module was loaded with module option?
Date: Wed, 31 Dec 2008 09:34:54
Message-Id: 495B3CAA.2080209@yahoo.de
In Reply to: [gentoo-user] [OT] test, if module was loaded with module option? by Marc Blumentritt
1 On 12/29/2008 02:32 PM, Marc Blumentritt wrote:
2 > is there a general way to test, if a kernel module was loaded with a
3 > module option and which module options were used?
4
5 There is at least /sys/module/<modulname>/parameters/<parametername>
6 If there is nothing else, one could at least compare each parameter to
7 its default value or something like that. Attention, not everything in
8 /sys/module _is_ a module, seems more like everything that is or _could_
9 be a module is there.
10
11 If the moduleoption was set when booting, one could of course use
12 /proc/cmdline, but I think that might be not exactly what you want.
13
14 -cf

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] [OT] test, if module was loaded with module option? Julien Porschen <julien.porschen@×××××.com>
[gentoo-user] Re: [OT] test, if module was loaded with module option? Marc Blumentritt <marc.blumentritt@×××××.de>