Name
autodiskmount
Synopsis
autodiskmount [-d] [-v] [-a]
Automatically mounts filesystems from connected storage devices. Also
performs consistency checks before mounting, and registers mounts
with the Disk Arbitration framework to notify applications. If mount
points are configured in /etc/fstab,
autodiskmount uses those; otherwise, it mounts
filesystems under /Volumes, on mount points
named after the volume labels.
autodiskmount runs as a daemon, mounting
filesystems as devices are added to the system. It stores its process
ID in /var/run/autodiskmount.pid, and responds
to a SIGHUP by refreshing the Disk Arbitration tables, similar to
running disktool -r.
Options
-
-a Mounts filesystems from removable, as well as fixed, media.
-
-d Enables debugging output, and prevents daemonization.
-
-v After performing mounts, prints a list of all mounted filesystems to standard error, then exits.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access