Skip to content

Instantly share code, notes, and snippets.

View Cyber-Neuron's full-sized avatar
💭
unset PYTHONPATH

Cyber-Neuron

💭
unset PYTHONPATH
View GitHub Profile
@Cyber-Neuron
Cyber-Neuron / autofs.md
Created March 29, 2022 02:34 — forked from rudelm/autofs.md
Use autofs on Mac OS X to mount network shares automatically during access

Autofs on Mac OS X

With autofs you can easily mount network volumes upon first access to the folder where you want to mount the volume. 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.

Prepare autofs to use a separate configuration file

autofs needs to be configured so that it knows where to gets its configuration. Edit the file /etc/auto_master and add the last line:

#
# Automounter master map
#

+auto_master # Use directory service