About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / ABI / stable / sysfs-module

Based on kernel version 2.6.26. Page generated on 2008-07-16 21:12 EST.

1	What:		/sys/module
2	Description:
3		The /sys/module tree consists of the following structure:
4	
5		/sys/module/MODULENAME
6			The name of the module that is in the kernel.  This
7			module name will show up either if the module is built
8			directly into the kernel, or if it is loaded as a
9			dyanmic module.
10	
11		/sys/module/MODULENAME/parameters
12			This directory contains individual files that are each
13			individual parameters of the module that are able to be
14			changed at runtime.  See the individual module
15			documentation as to the contents of these parameters and
16			what they accomplish.
17	
18			Note: The individual parameter names and values are not
19			considered stable, only the fact that they will be
20			placed in this location within sysfs.  See the
21			individual driver documentation for details as to the
22			stability of the different parameters.
23	
24		/sys/module/MODULENAME/refcnt
25			If the module is able to be unloaded from the kernel, this file
26			will contain the current reference count of the module.
27	
28			Note: If the module is built into the kernel, or if the
29			CONFIG_MODULE_UNLOAD kernel configuration value is not enabled,
30			this file will not be present.
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.