186 lines
4.1 KiB
HTML
186 lines
4.1 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of MODINFO</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>MODINFO</H1>
|
|
Section: modinfo (8)<BR>Updated: 03/12/2020<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
modinfo - Show information about a Linux Kernel module
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1">
|
|
<B>modinfo</B> [<B>-0</B>] [<B>-F </B><B></B><I>field</I>] [<B>-k </B><B></B><I>kernel</I>] [modulename|filename...]
|
|
<DT id="2">
|
|
<B>modinfo -V</B>
|
|
<DT id="3">
|
|
<B>modinfo -h</B>
|
|
</DL>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
<B>modinfo</B>
|
|
<DD>extracts information from the Linux Kernel modules given on the command line. If the module name is not a filename, then the
|
|
/lib/modules/<I>version</I>
|
|
directory is searched, as is also done by
|
|
<B><A HREF="/cgi-bin/man/man2html?8+modprobe">modprobe</A></B>(8)
|
|
when loading kernel modules.
|
|
<P>
|
|
|
|
<B>modinfo</B>
|
|
by default lists each attribute of the module in form
|
|
<I>fieldname</I>
|
|
:
|
|
<I>value</I>, for easy reading. The filename is listed the same way (although it's not really an attribute).
|
|
<P>
|
|
|
|
This version of
|
|
<B>modinfo</B>
|
|
can understand modules of any Linux Kernel architecture.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<P>
|
|
|
|
<B>-V</B>, <B>--version</B>
|
|
<DL COMPACT><DT id="4"><DD>
|
|
Print the modinfo version.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-F</B>, <B>--field</B>
|
|
<DL COMPACT><DT id="5"><DD>
|
|
Only print this field value, one per line. This is most useful for scripts. Field names are case-insensitive. Common fields (which may not be in every module) include
|
|
author,
|
|
description,
|
|
license,
|
|
parm,
|
|
depends, and
|
|
alias. There are often multiple
|
|
parm,
|
|
alias
|
|
and
|
|
depends
|
|
fields. The special field
|
|
filename
|
|
lists the filename of the module.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-b </B><B></B><I>basedir</I>, <B>--basedir </B><B></B><I>basedir</I>
|
|
<DL COMPACT><DT id="6"><DD>
|
|
Root directory for modules,
|
|
/
|
|
by default.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-k </B><B></B><I>kernel</I>
|
|
<DL COMPACT><DT id="7"><DD>
|
|
Provide information about a kernel other than the running one. This is particularly useful for distributions needing to extract information from a newly installed (but not yet running) set of kernel modules. For example, you wish to find which firmware files are needed by various modules in a new kernel for which you must make an initrd/initramfs image prior to booting.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-0</B>, <B>--null</B>
|
|
<DL COMPACT><DT id="8"><DD>
|
|
Use the ASCII zero character to separate field values, instead of a new line. This is useful for scripts, since a new line can theoretically appear inside a field.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-a</B> <B>--author</B>, <B>-d</B> <B>--description</B>, <B>-l</B> <B>--license</B>, <B>-p</B> <B>--parameters</B>, <B>-n</B> <B>--filename</B>
|
|
<DL COMPACT><DT id="9"><DD>
|
|
These are shortcuts for the
|
|
<B>--field</B>
|
|
flag's
|
|
author,
|
|
description,
|
|
license,
|
|
parm
|
|
and
|
|
filename
|
|
arguments, to ease the transition from the old modutils
|
|
<B>modinfo</B>.
|
|
</DL>
|
|
|
|
<A NAME="lbAF"> </A>
|
|
<H2>COPYRIGHT</H2>
|
|
|
|
<P>
|
|
|
|
This manual page originally Copyright 2003, Rusty Russell, IBM Corporation. Maintained by Jon Masters and others.
|
|
<A NAME="lbAG"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<P>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+modprobe">modprobe</A></B>(8)
|
|
<A NAME="lbAH"> </A>
|
|
<H2>AUTHORS</H2>
|
|
|
|
<P>
|
|
|
|
<B>Jon Masters</B> <<A HREF="mailto:jcm@jonmasters.org">jcm@jonmasters.org</A>>
|
|
<DL COMPACT><DT id="10"><DD>
|
|
Developer
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>Lucas De Marchi</B> <<A HREF="mailto:lucas.de.marchi@gmail.com">lucas.de.marchi@gmail.com</A>>
|
|
<DL COMPACT><DT id="11"><DD>
|
|
Developer
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="12"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="13"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="14"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="15"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="16"><A HREF="#lbAF">COPYRIGHT</A><DD>
|
|
<DT id="17"><A HREF="#lbAG">SEE ALSO</A><DD>
|
|
<DT id="18"><A HREF="#lbAH">AUTHORS</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:13 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|