1 .\" $Header: /JM/JM/manual/module-init-tools/original/man8/modinfo.8,v 1.1 2005/07/10 14:15:02 nakano Exp $
3 .\" transcript compatibility for postscript use.
5 .\" synopsis: .P! <file.ps>
14 .fl \" force out current output buffer
15 \!!save /psv exch def currentpoint translate 0 0 moveto
18 .sy sed -e 's/^/!/' \\$1\" bring in postscript file
22 .ie
\a\\*(f1
\a\a .ds f1 \\n(.f
23 .el .ie
\a\\*(f2
\a\a .ds f2 \\n(.f
24 .el .ie
\a\\*(f3
\a\a .ds f3 \\n(.f
25 .el .ie
\a\\*(f4
\a\a .ds f4 \\n(.f
26 .el .tm ? font overflow
34 .el .ie !
\a\\*(f3
\a\a \{\
38 .el .ie !
\a\\*(f2
\a\a \{\
42 .el .ie !
\a\\*(f1
\a\a \{\
46 .el .tm ? font underflow
53 .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
56 modinfo \(em program to show information about a Linux Kernel module
59 \fBmodinfo\fR [\fB-0\fP] [\fB-F \fIfield\fR\fP] [modulename|filename \&...]
66 \fBmodinfo\fR extracts information from the Linux
67 Kernel modules given on the command line. If the module name is
68 not a filename, then the
69 \fB/lib/modules/\fP\fIversion\fR directory is searched, as done by
70 \fBmodprobe\fP\fB(8)\fP.
73 \fBmodinfo\fR by default lists each attribute
74 of the module in form \fIfieldname\fR :
75 \fIvalue\fR, for easy reading. The
76 filename is listed the same way (although it's not really an
80 This version of \fBmodinfo\fR can understand
81 modules of any Linux Kernel architecture.
83 .IP "\fB-V\fP \fB--version\fP " 10
84 Print the modinfo version. Note BACKWARDS COMPATIBILITY
85 below: you might be printing the version of
88 .IP "\fB-F\fP \fB--field\fP " 10
89 Only print this field value, one per line. This is most
90 useful for scripts. Field names are case-insenitive.
91 Common fields (which may not be in every module) include
92 \fBauthor\fP, \fBdescription\fP,
93 \fBlicense\fP, \fBparam\fP,
94 \fBdepends\fP, and \fBalias\fP.
95 There are often multiple \fBparam\fP,
96 \fBalias\fP and \fBdepends\fP fields. The special field \fBfilename\fP lists the filename of the module.
98 .IP "\fB-0\fP \fB--null\fP " 10
99 Use the ASCII zero character to separate field values,
100 instead of a new line. This is useful for scripts, since
101 a new line can theoretically appear inside a field.
103 .IP "\fB-a\fP \fB-d\fP \fB-l\fP \fB-p\fP \fB-n\fP " 10
104 These are shortcuts for \fBauthor\fP,
106 \fBlicense\fP. \fBparam\fP and
107 \fBfilename\fP respectively, to ease the
108 transition from the old modutils
111 .SH "BACKWARDS COMPATIBILITY"
113 This version of \fBmodinfo\fR is for kernel
114 modules \fB2.5.48\fP and above. If it detects a
115 kernel with support for old-style modules, it will attempt to
116 run \fBmodprobe.old\fR in its place, so it is
117 completely transparent to the user.
119 Note that the output of this version of
120 \fBmodinfo\fR is simpler and more regular than
121 the older version: scripts attempting to use the default
122 output may get confused with complex fields.
125 You can force the new \fBmodinfo\fR to always
126 be used, by setting the \fBNEW_MODINFO\fP environment variable.
130 This manual page Copyright 2003, Rusty Russell, IBM Corporation.
134 \fBmodprobe\fP\fB(8)\fP,
135 \fBmodinfo.old\fP\fB(8)\fP
136 .\" created by instant / docbook-to-man, Tue 09 Mar 2004, 08:43