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.
Get Mac OS X in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.