# 10.1.概述

内核是 FreeBSD 操作系统的核心。它负责管理内存、执行安全控制、网络通信、磁盘访问等众多任务。虽然 FreeBSD 的大部分内容是动态可配置的，但一些用户可能希望配置并编译自定义内核。

阅读本章后，你将了解：

* 何时构建自定义内核。
* 如何进行硬件清单盘点。
* 如何自定义内核配置文件。
* 如何使用内核配置文件创建并构建新内核。
* 如何安装新内核。
* 如果出现问题，如何进行故障排除。

本章中的所有示例命令都应以 `root` 用户身份执行。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://handbook.bsdcn.org/di-10-zhang-pei-zhi-freebsd-nei-he/10.1.-gai-shu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
