> 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/man8/autounmountd.8.md).

# autounmountd.8

`autounmountd` — 卸载自动挂载文件系统的守护进程

## 名称

`autounmountd`

## 概要

`autounmountd [-d] [-r time] [-t time] [-v]`

## 描述

`autounmountd` 守护进程负责卸载由 automountd(8) 挂载的文件系统。启动时，`autounmountd` 会获取设置了 `automounted` 挂载选项的文件系统列表。每当有文件系统被挂载或卸载时，该列表都会更新。经过指定时间后，`autounmountd` 会尝试卸载文件系统，如有必要会在一段时间后重试。

可用选项如下：

**`-d`** 调试模式：增加详细输出且不转入后台运行。

**`-r`** 上一次卸载尝试失败（可能因文件系统繁忙）后，再次尝试卸载过期文件系统前等待的秒数。默认值为 600，即十分钟。

**`-t`** 尝试卸载文件系统前等待的秒数。默认值为 600，即十分钟。

**`-v`** 增加详细输出。

## 退出状态

`autounmountd` 工具成功时返回 0，发生错误时返回值大于 0。

## 参见

auto\_master(5), autofs(5), automount(8), automountd(8)

## 历史

`autounmountd` 守护进程首次出现在 FreeBSD 10.1 中。

## 作者

`autounmountd` 由 Edward Tomasz Napierala <trasz@FreeBSD.org> 在 FreeBSD 基金会赞助下开发。


---

# 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/man8/autounmountd.8.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.
