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