1 The /sys/module tree consists of the following !! 1 What: /sys/module 2 << 3 What: /sys/module/<MODULENAME> << 4 Description: 2 Description: 5 The name of the module that is !! 3 The /sys/module tree consists of the following structure: 6 module name will always show u << 7 dynamic module. If it is buil << 8 will only show up if it has a << 9 parameter. << 10 4 11 Note: The conditions of creati !! 5 /sys/module/MODULENAME 12 by design and may be removed i !! 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. 13 10 14 What: /sys/module/<MODULENAME>/param !! 11 /sys/module/MODULENAME/parameters 15 Description: << 16 This directory contains indivi 12 This directory contains individual files that are each 17 individual parameters of the m 13 individual parameters of the module that are able to be 18 changed at runtime. See the i 14 changed at runtime. See the individual module 19 documentation as to the conten 15 documentation as to the contents of these parameters and 20 what they accomplish. 16 what they accomplish. 21 17 22 Note: The individual parameter 18 Note: The individual parameter names and values are not 23 considered stable, only the fa 19 considered stable, only the fact that they will be 24 placed in this location within 20 placed in this location within sysfs. See the 25 individual driver documentatio 21 individual driver documentation for details as to the 26 stability of the different par 22 stability of the different parameters. 27 23 28 What: /sys/module/<MODULENAME>/refcn !! 24 /sys/module/MODULENAME/refcnt 29 Description: << 30 If the module is able to be un 25 If the module is able to be unloaded from the kernel, this file 31 will contain the current refer 26 will contain the current reference count of the module. 32 27 33 Note: If the module is built i 28 Note: If the module is built into the kernel, or if the 34 CONFIG_MODULE_UNLOAD kernel co 29 CONFIG_MODULE_UNLOAD kernel configuration value is not enabled, 35 this file will not be present. 30 this file will not be present. 36 << 37 What: /sys/module/<MODULENAME>/srcve << 38 Date: Jun 2005 << 39 Description: << 40 If the module source has MODUL << 41 the checksum of the source cod << 42 << 43 What: /sys/module/<MODULENAME>/versi << 44 Date: Jun 2005 << 45 Description: << 46 If the module source has MODUL << 47 the version of the source code <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.