如何查看tkernel模块加载的选项?


0

如何在加载时查看传递给内核的选项/参数?

modinfo -p <modulename>

不适合这个问题,因为它显示似乎所有可用的参数。

Linux 4.4

Answers:


2

用途/sys/module/<name>/parameters

$ tree / sys / module / * /参数
/ SYS /模块/ 8250 /参数
├──nr_uarts
├──project_rsa
├──Share_irqs
└──skip_txen_test
/ SYS /模块/ acpiphp /参数
└──禁用
/ SYS /模块/ AHCI /参数
└──marvell_enable
/ SYS /模块/ amdgpu /参数
├──aspm
├──音响
├──bapm
...
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.