mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-09 07:24:04 +08:00
30 lines
1.3 KiB
HTML
30 lines
1.3 KiB
HTML
<h1 id="bmodinfo">bmodinfo</h1>
|
||
<p>显示给定模块的详细信息</p>
|
||
<h2 id="补充说明">补充说明</h2>
|
||
<p><strong>bmodinfo命令</strong> 用于显示给定模块的详细信息。</p>
|
||
<h3 id="语法">语法</h3>
|
||
<pre><code class="language-bash">bmodinfo(选项)(参数)</code></pre>
|
||
<h3 id="选项">选项</h3>
|
||
<pre><code class="language-bash">-a:显示模块作者;
|
||
-d:显示模块的描述信息;
|
||
-l:显示模块的许可信息;
|
||
-p:显示模块的参数信息;
|
||
-n:显示模块对应的文字信息;
|
||
-0:用ASCII码的0字符分割字段值,而不使用新行。</code></pre>
|
||
<h3 id="参数">参数</h3>
|
||
<p>模块名:要显示详细信息的模块名称。</p>
|
||
<h3 id="实例">实例</h3>
|
||
<p>显示sg模块的信息:</p>
|
||
<pre><code class="language-bash">[root@localhost ~]# modinfo sg
|
||
filename: /lib/modules/2.6.9-42.ELsmp/kernel/drivers/scsi/sg.ko
|
||
author: Douglas Gilbert
|
||
description: SCSI generic (sg) driver
|
||
license: GPL
|
||
version: 3.5.31 B0B0CB1BB59F0669A1F0D6B
|
||
parm: def_reserved_size:size of buffer reserved for each fd
|
||
parm: allow_dio:allow direct I/O (default: 0 (disallow))
|
||
alias: char-major-21-*
|
||
vermagic: 2.6.9-42.ELsmp SMP 686 REGPARM 4KSTACKS gcc-3.4
|
||
depends: scsi_mod</code></pre>
|
||
<!-- Linux命令行搜索引擎:https://jaywcjlove.github.io/linux-command/ -->
|