sysfs-module 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  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 always show up if the module is loaded as a
  7. dynamic module. If it is built directly into the kernel, it
  8. will only show up if it has a version or at least one
  9. parameter.
  10. Note: The conditions of creation in the built-in case are not
  11. by design and may be removed in the future.
  12. /sys/module/MODULENAME/parameters
  13. This directory contains individual files that are each
  14. individual parameters of the module that are able to be
  15. changed at runtime. See the individual module
  16. documentation as to the contents of these parameters and
  17. what they accomplish.
  18. Note: The individual parameter names and values are not
  19. considered stable, only the fact that they will be
  20. placed in this location within sysfs. See the
  21. individual driver documentation for details as to the
  22. stability of the different parameters.
  23. /sys/module/MODULENAME/refcnt
  24. If the module is able to be unloaded from the kernel, this file
  25. will contain the current reference count of the module.
  26. Note: If the module is built into the kernel, or if the
  27. CONFIG_MODULE_UNLOAD kernel configuration value is not enabled,
  28. this file will not be present.