📄 kernelconfig.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta name="generator" content="HTML Tidy, see www.w3.org" /><title>Configuring the FreeBSD Kernel</title><meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.7" /><link rel="HOME" title="FreeBSD Handbook" href="index.html" /><link rel="UP" title="Common Tasks" href="common-tasks.html" /><link rel="PREVIOUS" title="Image Scanners" href="scanners.html" /><link rel="NEXT" title="Why Build a Custom Kernel?"href="kernelconfig-custom-kernel.html" /><link rel="STYLESHEET" type="text/css" href="docbook.css" /></head><body class="CHAPTER" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084"alink="#0000FF"><div class="NAVHEADER"><table summary="Header navigation table" width="100%" border="0" cellpadding="0"cellspacing="0"><tr><th colspan="3" align="center">FreeBSD Handbook</th></tr><tr><td width="10%" align="left" valign="bottom"><a href="scanners.html"accesskey="P">Prev</a></td><td width="80%" align="center" valign="bottom"></td><td width="10%" align="right" valign="bottom"><a href="kernelconfig-custom-kernel.html"accesskey="N">Next</a></td></tr></table><hr align="LEFT" width="100%" /></div><div class="CHAPTER"><h1><a id="KERNELCONFIG" name="KERNELCONFIG"></a>Chapter 8 Configuring the FreeBSDKernel</h1><div class="TOC"><dl><dt><b>Table of Contents</b></dt><dt>8.1 <a href="kernelconfig.html#KERNELCONFIG-SYNOPSIS">Synopsis</a></dt><dt>8.2 <a href="kernelconfig-custom-kernel.html">Why Build a Custom Kernel?</a></dt><dt>8.3 <a href="kernelconfig-building.html">Building and Installing a CustomKernel</a></dt><dt>8.4 <a href="kernelconfig-config.html">The Configuration File</a></dt><dt>8.5 <a href="kernelconfig-nodes.html">Making Device Nodes</a></dt><dt>8.6 <a href="kernelconfig-trouble.html">If Something Goes Wrong</a></dt></dl></div><i class="AUTHORGROUP"><span class="CONTRIB">Updated and restructured by</span> JimMock.</i> <i class="AUTHORGROUP"><span class="CONTRIB">Originally contributed by</span>Jake Hamby.</i> <div class="SECT1"><h1 class="SECT1"><a id="KERNELCONFIG-SYNOPSIS" name="KERNELCONFIG-SYNOPSIS">8.1Synopsis</a></h1><p>The kernel is the core of the FreeBSD operating system. It is responsible for managingmemory, enforcing security controls, networking, disk access, and much more. While moreand more of FreeBSD becomes dynamically configurable it is still occasionally necessaryto reconfigure and recompile your kernel.</p><p>After reading this chapter, you will know:</p><ul><li><p>Why you might need to build a custom kernel.</p></li><li><p>How to write a kernel configuration file, or alter an existing configuration file.</p></li><li><p>How to use the kernel configuration file to create and build a new kernel.</p></li><li><p>How to install the new kernel.</p></li><li><p>How to create any entries in <tt class="FILENAME">/dev</tt> that may be required.</p></li><li><p>How to troubleshoot if things go wrong.</p></li></ul><p>All of the commands listed within this chapter by way of example should be executed as<tt class="USERNAME">root</tt> in order to succeed.</p></div></div><div class="NAVFOOTER"><hr align="LEFT" width="100%" /><table summary="Footer navigation table" width="100%" border="0" cellpadding="0"cellspacing="0"><tr><td width="33%" align="left" valign="top"><a href="scanners.html"accesskey="P">Prev</a></td><td width="34%" align="center" valign="top"><a href="index.html"accesskey="H">Home</a></td><td width="33%" align="right" valign="top"><a href="kernelconfig-custom-kernel.html"accesskey="N">Next</a></td></tr><tr><td width="33%" align="left" valign="top">Image Scanners</td><td width="34%" align="center" valign="top"><a href="common-tasks.html"accesskey="U">Up</a></td><td width="33%" align="right" valign="top">Why Build a Custom Kernel?</td></tr></table></div><p align="center"><small>This, and other documents, can be downloaded from <ahref="ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/">ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/</a>.</small></p><p align="center"><small>For questions about FreeBSD, read the <ahref="http://www.FreeBSD.org/docs.html">documentation</a> before contacting <<ahref="mailto:questions@FreeBSD.org">questions@FreeBSD.org</a>>.<br />For questions about this documentation, e-mail <<ahref="mailto:doc@FreeBSD.org">doc@FreeBSD.org</a>>.</small></p></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -