version 1, including all changes.
.
| Rev |
Author |
# |
Line |
| 1 |
perry |
1 |
MODINFO |
| |
|
2 |
!!!MODINFO |
| |
|
3 |
NAME |
| |
|
4 |
SYNOPSIS |
| |
|
5 |
DESCRIPTION |
| |
|
6 |
SEE ALSO |
| |
|
7 |
---- |
| |
|
8 |
!!NAME |
| |
|
9 |
|
| |
|
10 |
|
| |
|
11 |
modinfo - display information about a kernel module |
| |
|
12 |
!!SYNOPSIS |
| |
|
13 |
|
| |
|
14 |
|
| |
|
15 |
__modinfo__ [[ options ] __ |
| |
|
16 |
!!DESCRIPTION |
| |
|
17 |
|
| |
|
18 |
|
| |
|
19 |
The __modinfo__ utility examines the object file |
| |
|
20 |
''module_file'' associated with a kernel module and |
| |
|
21 |
displays any information that it can glean. |
| |
|
22 |
|
| |
|
23 |
|
| |
|
24 |
__OPTIONS__ |
| |
|
25 |
|
| |
|
26 |
|
| |
|
27 |
__-a__, __--author__ |
| |
|
28 |
|
| |
|
29 |
|
| |
|
30 |
Display the module's author. |
| |
|
31 |
|
| |
|
32 |
|
| |
|
33 |
__-d__, __--description__ |
| |
|
34 |
|
| |
|
35 |
|
| |
|
36 |
Display the module's description. |
| |
|
37 |
|
| |
|
38 |
|
| |
|
39 |
__-f__''format_string''__, --format__ |
| |
|
40 |
''format_string'' |
| |
|
41 |
|
| |
|
42 |
|
| |
|
43 |
Let the user specify an arbitrary format string which can |
| |
|
44 |
extract values from the ELF section in ''module_file'' |
| |
|
45 |
which contains the module information. Replacements consist |
| |
|
46 |
of a percent sign followed by a tag name in curly braces. A |
| |
|
47 |
tagname of ''%{filename}'' is always supported, even if |
| |
|
48 |
the module has no modinfo section. ''%{kernel_version}'' |
| |
|
49 |
shows the version of the kernel the module was compiled for. |
| |
|
50 |
''%{using_checksums}'' expands to 1 is the module has |
| |
|
51 |
versioned symbols and to 0 or |
| |
|
52 |
'' |
| |
|
53 |
|
| |
|
54 |
|
| |
|
55 |
A tagname of ''%{parm}'' is special: the format string |
| |
|
56 |
line is repeated for each known module parameter (which may |
| |
|
57 |
be zero times) and ''%{parm}'' is then replaced by |
| |
|
58 |
descriptions of module parameters (one parameter on each |
| |
|
59 |
repeated line). |
| |
|
60 |
|
| |
|
61 |
|
| |
|
62 |
Alternatively, ''%a'', ''%d'', ''%l'', ''%n'' |
| |
|
63 |
and ''%p'' can be used instead of ''%{author}'', |
| |
|
64 |
''%{description}'', ''%{filename}'', ''%{license}'' |
| |
|
65 |
and ''%{parm}'', respectively. |
| |
|
66 |
|
| |
|
67 |
|
| |
|
68 |
__-h__, __--help__ |
| |
|
69 |
|
| |
|
70 |
|
| |
|
71 |
Display a summary of options and immediately |
| |
|
72 |
exit. |
| |
|
73 |
|
| |
|
74 |
|
| |
|
75 |
__-l__, __--license__ |
| |
|
76 |
|
| |
|
77 |
|
| |
|
78 |
Display the module's license. |
| |
|
79 |
|
| |
|
80 |
|
| |
|
81 |
__-n__, __--filename__ |
| |
|
82 |
|
| |
|
83 |
|
| |
|
84 |
Display the module's filename. |
| |
|
85 |
|
| |
|
86 |
|
| |
|
87 |
__-p__, __--parameters__ |
| |
|
88 |
|
| |
|
89 |
|
| |
|
90 |
Display the typed parameters that a module may |
| |
|
91 |
support. |
| |
|
92 |
|
| |
|
93 |
|
| |
|
94 |
__-V__, __--version__ |
| |
|
95 |
|
| |
|
96 |
|
| |
|
97 |
Display the version of __modinfo__. |
| |
|
98 |
|
| |
|
99 |
|
| |
|
100 |
If no options are supplied, the default is filename, |
| |
|
101 |
description, author, license and parameters. |
| |
|
102 |
!!SEE ALSO |
| |
|
103 |
|
| |
|
104 |
|
| |
|
105 |
insmod(8), modprobe(8), depmod(8), |
| |
|
106 |
rmmod(8), lsmod(8), ksyms(8), |
| |
|
107 |
modules(2) |
| |
|
108 |
---- |