On macOS I am attempting to set up an automount for a mount point with spaces.
/etc/auto_master
contains:
#
# Automounter master map
#
+auto_master # Use directory service
/net -hosts -nobrowse,hidefromfinder,nosuid
/home auto_home -nobrowse,hidefromfinder
/Network/Servers -fstab
/- -static
/- auto_afp -nosuid
and /etc/auto_afp
contains:
'/mnt/mount point' -fstype=afp 'afp://username:passwd@hostname/share%20name`
When I execute: sudo automount -vc
, I get the error noted:
automount: dir '/mnt/mount point' must start with '/'
automount: /net updated
automount: /home updated
automount: /Network/Servers updated
automount: no unmounts
It has also failed if I use %20
without quoting (in that case it includes %20
in the mount point name).
How does one properly add spaces in a mount point?