> 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/zfs/shou-ce-ye/xi-tong-guan-li-ming-ling-system-administration-8/mount.zfs.8.md).

# mount.zfs(8)

## 名称

`mount.zfs` — 挂载 ZFS 文件系统

## 概述

```sh
mount.zfs [-sfnvh] [-o 选项] 数据集 挂载点
```

## 说明

`mount.zfs` 辅助程序被 mount(8) 用于挂载文件系统快照和 `mountpoint=legacy` 的 ZFS 文件系统；在未设置 `ZFS_MOUNT_HELPER` 环境变量时，也被 zfs(8) 使用。在大多数情况下，你应当调用 mount(8) 或 zfs(8)。

`options` 依据 zfsprops(7) 的“临时挂载点属性”一节处理，下文所述的选项除外。

如果 `/etc/mtab` 是普通文件且未指定 `-n`，则它会通过 libmount 更新。

## 选项

### `-s`

忽略未知的挂载选项（宽松处理）。

### `-f`

执行除实际调用系统调用之外的全部操作。

### `-n`

从不更新 `/etc/mtab`。

### `-v`

打印已解析的挂载选项与解析器状态。

### `-h`

打印用法说明。

### `-o zfsutil`

此私有标志表示 mount(8) 正由 zfs(8) 命令调用。

## 参考文献

fstab(5)、mount(8)、zfs-mount(8)

2021 年 5 月 24 日


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://book.bsdcn.org/zfs/shou-ce-ye/xi-tong-guan-li-ming-ling-system-administration-8/mount.zfs.8.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
