⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 modutils.html

📁 lfs3.1 从源代码构建linux。html版本。
💻 HTML
字号:
<HTML><HEAD><TITLE>Installing Modutils-2.4.12</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.63"><LINKREL="HOME"TITLE="Linux From Scratch"HREF="../index.html"><LINKREL="UP"TITLE="Installing basic system software"HREF="../chapter06/chapter06.html"><LINKREL="PREVIOUS"TITLE="Installing Make-3.79.1"HREF="../chapter06/make.html"><LINKREL="NEXT"TITLE="Installing Netkit-base-0.17"HREF="../chapter06/netkit-base.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="../chapter06/make.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Chapter 6. Installing basic system software</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="../chapter06/netkit-base.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="sect1"><H1CLASS="sect1"><ANAME="ch06-modutils">6.39. Installing Modutils-2.4.12</A></H1><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen">Estimated build time:           1 minuteEstimated required disk space:  2 MB</PRE></FONT></TD></TR></TABLE><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN3088">6.39.1. Installation of Modutils</A></H2><P>Install Modutils by running the following commands:</P><P><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen"><TTCLASS="userinput"><B>./configure &#38;&#38;make &#38;&#38;make install</B></TT></PRE></FONT></TD></TR></TABLE></P></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN3094">6.39.2. 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="AEN3097">6.39.3. Description</A></H2><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN3099">6.39.3.1. depmod</A></H3><P>depmod handles dependency descriptions for loadable kernel modules.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN3102">6.39.3.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="AEN3105">6.39.3.3. insmod</A></H3><P>insmod installs a loadable module in the running kernel.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN3108">6.39.3.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="AEN3111">6.39.3.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="AEN3114">6.39.3.6. kernelversion</A></H3><P>kernelversion reports the major version of the running kernel.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN3117">6.39.3.7. ksyms</A></H3><P>ksyms displays exported kernel symbols.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN3120">6.39.3.8. lsmod</A></H3><P>lsmod shows information about all loaded modules.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN3123">6.39.3.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="AEN3126">6.39.3.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="AEN3129">6.39.3.11. rmmod</A></H3><P>rmmod unloads loadable modules from the running kernel.</P></DIV></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN3132">6.39.4. Dependencies</A></H2><P>Modutils-2.4.7 needs the following to be installed:</P><PCLASS="literallayout"><br>sh&nbsp;from&nbsp;the&nbsp;bash&nbsp;package<br><br>ar&nbsp;from&nbsp;the&nbsp;binutils&nbsp;package<br>as&nbsp;from&nbsp;the&nbsp;binutils&nbsp;package<br>ld&nbsp;from&nbsp;the&nbsp;binutils&nbsp;package<br>strip&nbsp;from&nbsp;the&nbsp;binutils&nbsp;package<br><br>bison&nbsp;from&nbsp;the&nbsp;bison&nbsp;package<br><br>cmp&nbsp;from&nbsp;the&nbsp;diffutils&nbsp;package<br><br>chmod&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br>install	from&nbsp;the&nbsp;fileutils&nbsp;package<br>ln&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br>mkdir&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br>mv&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br>rm&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br><br>flex&nbsp;from&nbsp;the&nbsp;flex&nbsp;package<br><br>cc&nbsp;from&nbsp;the&nbsp;gcc&nbsp;package<br><br>egrep&nbsp;from&nbsp;the&nbsp;grep&nbsp;package<br>grep&nbsp;from&nbsp;the&nbsp;grep&nbsp;package<br><br>make&nbsp;from&nbsp;the&nbsp;make&nbsp;package<br><br>sed&nbsp;from&nbsp;the&nbsp;sed&nbsp;package<br><br>expr&nbsp;from&nbsp;the&nbsp;sh-utils&nbsp;package<br>uname&nbsp;from&nbsp;the&nbsp;sh-utils&nbsp;package<br><br>cat&nbsp;from&nbsp;the&nbsp;textutils&nbsp;package<br>tr&nbsp;from&nbsp;the&nbsp;textutils&nbsp;package<br></P></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="../chapter06/make.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="../index.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="../chapter06/netkit-base.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Installing Make-3.79.1</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="../chapter06/chapter06.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Installing Netkit-base-0.17</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -