> For the complete documentation index, see [llms.txt](https://book.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.bsdcn.org/man/man4/ext2fs.4.md).

# ext2fs.4

`ext2fs` — ext2/ext3/ext4 文件系统

## 名称

`ext2fs`

## 概要

`链接进内核：`

> options EXT2FS

`作为可加载内核模块加载：`

```sh
kldload ext2fs
```

## 描述

`ext2fs` 驱动程序允许 FreeBSD 内核访问 ext2 文件系统及其衍生文件系统。目前实现了 *ext3* 和 *ext4* 文件系统所需的大部分功能。*ext4* 中的扩展属性支持为实验性质。当前不支持日志和加密。

## 实例

挂载位于 **/dev/ada1s1** 的 `ext2fs` 卷：

```sh
mount -t ext2fs /dev/ada1s1 /mnt
```

## 参见

nmount(2), unmount(2), [fstab(5)](/man/man5/fstab.5.md), [mount(8)](/man/man8/mount.8.md)

## 历史

`ext2fs` 驱动程序首次出现于 FreeBSD 2.2。

## 作者

`ext2fs` 内核实现派生自 Godmar Back 编写或修改的代码，这些代码基于 CMU Mach 的 UFS CSRG 源码。

John Dyson 完成了到 FreeBSD 的初始移植。Aditya Sarawgi 从 NetBSD 的纯净实现中合并了分配代码的重要部分。Zheng Liu 和 Fedor Uporov 分别实现了 *ext4* 文件系统的读写支持。FreeBSD 社区贡献了大量修改。

本手册页的初始版本由 Craig Rodrigues <rodrigc@FreeBSD.org> 编写。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://book.bsdcn.org/man/man4/ext2fs.4.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
