brintos

brintos / linux-shallow public Read only

0
0
Text · 1.7 KiB · 41b1f16 Raw
48 lines · plain
1The /sys/module tree consists of the following structure:2 3What:		/sys/module/<MODULENAME>4Description:5		The name of the module that is in the kernel.  This6		module name will always show up if the module is loaded as a7		dynamic module.  If it is built directly into the kernel, it8		will only show up if it has a version or at least one9		parameter.10 11		Note: The conditions of creation in the built-in case are not12		by design and may be removed in the future.13 14What:		/sys/module/<MODULENAME>/parameters15Description:16		This directory contains individual files that are each17		individual parameters of the module that are able to be18		changed at runtime.  See the individual module19		documentation as to the contents of these parameters and20		what they accomplish.21 22		Note: The individual parameter names and values are not23		considered stable, only the fact that they will be24		placed in this location within sysfs.  See the25		individual driver documentation for details as to the26		stability of the different parameters.27 28What:		/sys/module/<MODULENAME>/refcnt29Description:30		If the module is able to be unloaded from the kernel, this file31		will contain the current reference count of the module.32 33		Note: If the module is built into the kernel, or if the34		CONFIG_MODULE_UNLOAD kernel configuration value is not enabled,35		this file will not be present.36 37What:		/sys/module/<MODULENAME>/srcversion38Date:		Jun 200539Description:40		If the module source has MODULE_VERSION, this file will contain41		the checksum of the source code.42 43What:		/sys/module/<MODULENAME>/version44Date:		Jun 200545Description:46		If the module source has MODULE_VERSION, this file will contain47		the version of the source code.48