Back to home page

OSCL-LXR

 
 

    


0001 The /sys/module tree consists of the following structure:
0002 
0003 What:           /sys/module/<MODULENAME>
0004 Description:
0005                 The name of the module that is in the kernel.  This
0006                 module name will always show up if the module is loaded as a
0007                 dynamic module.  If it is built directly into the kernel, it
0008                 will only show up if it has a version or at least one
0009                 parameter.
0010 
0011                 Note: The conditions of creation in the built-in case are not
0012                 by design and may be removed in the future.
0013 
0014 What:           /sys/module/<MODULENAME>/parameters
0015 Description:
0016                 This directory contains individual files that are each
0017                 individual parameters of the module that are able to be
0018                 changed at runtime.  See the individual module
0019                 documentation as to the contents of these parameters and
0020                 what they accomplish.
0021 
0022                 Note: The individual parameter names and values are not
0023                 considered stable, only the fact that they will be
0024                 placed in this location within sysfs.  See the
0025                 individual driver documentation for details as to the
0026                 stability of the different parameters.
0027 
0028 What:           /sys/module/<MODULENAME>/refcnt
0029 Description:
0030                 If the module is able to be unloaded from the kernel, this file
0031                 will contain the current reference count of the module.
0032 
0033                 Note: If the module is built into the kernel, or if the
0034                 CONFIG_MODULE_UNLOAD kernel configuration value is not enabled,
0035                 this file will not be present.
0036 
0037 What:           /sys/module/<MODULENAME>/srcversion
0038 Date:           Jun 2005
0039 Description:
0040                 If the module source has MODULE_VERSION, this file will contain
0041                 the checksum of the source code.
0042 
0043 What:           /sys/module/<MODULENAME>/version
0044 Date:           Jun 2005
0045 Description:
0046                 If the module source has MODULE_VERSION, this file will contain
0047                 the version of the source code.