📄 modutils.html
字号:
<HTML><HEAD><TITLE>Modutils</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.63"><LINKREL="HOME"TITLE="Linux From Scratch"HREF="../index.html"><LINKREL="UP"TITLE="Package descriptions"HREF="../appendixa/appendixa.html"><LINKREL="PREVIOUS"TITLE="Lilo"HREF="../appendixa/lilo.html"><LINKREL="NEXT"TITLE="Procinfo"HREF="../appendixa/procinfo.html"></HEAD><BODYCLASS="sect1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">Linux From Scratch: Version 3.1</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="../appendixa/lilo.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Appendix A. Package descriptions</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="../appendixa/procinfo.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="sect1"><H1CLASS="sect1"><ANAME="aa-modutils">A.42. Modutils</A></H1><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN5634">A.42.1. Contents</A></H2><P>The Modutils package contains the depmod, genksyms, insmod,insmod_ksymoops_clean, kerneld, kernelversion, ksyms, lsmod, modinfo,modprobe and rmmod programs.</P></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN5637">A.42.2. Description</A></H2><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5639">A.42.2.1. depmod</A></H3><P>depmod handles dependency descriptions for loadable kernel modules.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5642">A.42.2.2. genksyms</A></H3><P>genksyms reads (on standard input) the output from gcc -E source.c and generates a file containing version information.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5645">A.42.2.3. insmod</A></H3><P>insmod installs a loadable module in the running kernel.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5648">A.42.2.4. insmod_ksymoops_clean</A></H3><P>insmod_ksymoops_clean deletes saved ksyms and modules not accessed in 2 days.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5651">A.42.2.5. kerneld</A></H3><P>kerneld performs kernel action in user space (such as on-demand loading of modules)</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5654">A.42.2.6. kernelversion</A></H3><P>kernelversion reports the major version of the running kernel.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5657">A.42.2.7. ksyms</A></H3><P>ksyms displays exported kernel symbols.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5660">A.42.2.8. lsmod</A></H3><P>lsmod shows information about all loaded modules.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5663">A.42.2.9. modinfo</A></H3><P>modinfo examines an object file associated with a kernel module and displays any information that it can glean.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5666">A.42.2.10. modprobe</A></H3><P>Modprobe uses a Makefile-like dependency file, created by depmod, to automatically load the relevant module(s) from the set of modules available in predefined directory trees.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN5669">A.42.2.11. rmmod</A></H3><P>rmmod unloads loadable modules from the running kernel.</P></DIV></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="../appendixa/lilo.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="../index.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="../appendixa/procinfo.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Lilo</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="../appendixa/appendixa.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Procinfo</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -