automount(8)

automount8

Mount autofs on the appropriate mount points

Usage

automount [-v] [-c] [-u] [-t timeout]

Overview

automount reads the /etc/auto_master file, and any local or network maps it includes, and mounts autofs on the appropriate mount points to cause mounts to be triggered. If the auto_master file does not exist or is empty and a Directory Service is configured, the service will be queried for an auto_master map. It will also attempt to unmount any top-level autofs mounts that correspond to maps no longer found.

Options

-v

Print more detailed information about actions taken by automount.

-c

Tell automountd(8) to flush any cached information it has.

-u

Unmount all non-busy automounted mounts. Top-level triggers are preserved.

-t timeout

Set to timeout seconds the time after which an automounted file system will be unmounted if it hasn't been referred to within that period of time. The default is 1 hour (3600 seconds).

Files

/etc/autofs.conf

configuration file for automount and automountd.

/etc/auto_master

The master map contains a list of directories to be controlled by autofs and their associated direct map or indirect maps.

Releases

163 releases since Mac OS X 10.0; the text changed 4 times.

  1. 10.0–10.3.9
  2. 10.4–10.4.11
  3. 10.5–10.6.8
  4. 10.7–14.6
  5. 15.0–26.5

-c since Mac OS X 10.5; -t since Mac OS X 10.5; -u since Mac OS X 10.7; -v since Mac OS X 10.5.

-1 until Mac OS X 10.4.11.x86; -D until Mac OS X 10.4.11.x86; -V until Mac OS X 10.4.11.x86; -d until Mac OS X 10.4.11.x86; -s until Mac OS X 10.4.11.x86; -tcp until Mac OS X 10.4.11.x86; -tl until Mac OS X 10.4.11.x86; -tm until Mac OS X 10.4.11.x86.

From autofs 322 in macOS 26.5. Parsed by carta from the page's mdoc source.