You are free to choose a different name and can also use afp/cifs/nfs etc.īe aware that macOS updates can overwrite this file! Make sure you'll check the content of this file after you've updated. In this case I want to create a configuration for automatically mount SMB volumes. This will tell autofs to look for a file in the '/etc' folder with name 'auto_smb'. net -hosts -nobrowse,hidefromfinder,nosuid Edit the file /etc/auto_master and add the last line: # Prepare autofs to use a separate configuration fileĪutofs needs to be configured so that it knows where to gets its configuration.
Autofs is available for many OS and is preinstalled on Mac OS X so I show you how I mounted my iTunes library folder using this method. With autofs you can easily mount network volumes upon first access to the folder where you want to mount the volume.