浏览代码

Doc/kernel-parameters.txt: mention modinfo and sysfs

Doc/kernel-parameters.txt: mention modinfo and sysfs

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Stefan Richter 19 年之前
父节点
当前提交
a901ebb907
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      Documentation/kernel-parameters.txt

+ 7 - 0
Documentation/kernel-parameters.txt

@@ -17,6 +17,13 @@ are specified on the kernel command line with the module name plus
 
 	usbcore.blinkenlights=1
 
+This document may not be entirely up to date and comprehensive. The command
+"modinfo -p ${modulename}" shows a current list of all parameters of a loadable
+module. Loadable modules, after being loaded into the running kernel, also
+reveal their parameters in /sys/module/${modulename}/parameters/. Some of these
+parameters may be changed at runtime by the command
+"echo -n ${value} > /sys/module/${modulename}/parameters/${parm}".
+
 The text in square brackets at the beginning of the description states the
 restrictions on the kernel for the said kernel parameter to be valid. The
 restrictions referred to are that the relevant option is valid if: