Auto mounting drives at boot under OSX

I keep losing this nugget of information and after having just re IP addressed my network, this is now needed

OSX runs stuff using /etc/auto_master

Mine looks like this

hopenet-mac-mini:etc tim$ cat auto_master
# Automounter master map
+auto_master # Use directory service
/net -hosts -nobrowse,hidefromfinder,nosuid
/home auto_home -nobrowse,hidefromfinder
/Network/Servers -fstab
/- -static
/- auto_smb
hopenet-mac-mini:etc tim$

The last line points to a file


hopenet-mac-mini:etc tim$ cat auto_smb
/mount/media_server -fstype=smbfs ://guest:guest@
/mount/movies -fstype=smbfs ://guest:guest@
/mount/music -fstype=smbfs ://guest:guest@
/mount/mp3 -fstype=smbfs ://guest:guest@
/mount/pictures -fstype=smbfs ://guest:guest@
hopenet-mac-mini:etc tim$

These links provide guest access to the server and persist…


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s