sysfs-module 1.1 KB

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