Read the
/etc/auto_master
file and mountautofs
on the appropriate mount points to trigger the on-demand mounting of directories. Essentially, it's a way to manually initiate the system's automounting process. Note: You'll most likely need to run withsudo
if you don't have the necessary permissions. More information: https://keith.github.io/xcode-man-pages/automount.8.html.
-c
) beforehand, and be verbose(-v
) about it (most common use):automount -cv
automount -t 300
/etc/auto_master
:automount -u