When mounting a volume with the Finder, it’ll be no permanent mount. Upon restart or even after logout the mount points are lost.

We’ll use automount to get it done in seconds.

I’ll assume your server is named myserver, and has two shares MyShare1 and MyShare2, which are located under /exported/path/ on the remote server.

It’s easy as adding a descriptor to /etc/auto_master:

/myserver	auto_myserver

Save and create a file named /etc/auto_myserver.

Add the following lines to this file:

MyShare1	myserver.local:/exported/path/MyShare1
MyShare2	myserver.local:/exported/path/MyShare2

To check if mounting works, run:

sudo automount -vc

The shares should have been mounted now under /myserver/MyShare1 and /myserver/MyShare2, and get mounted each time, you restart your Mac. Et voilĂ !

Benjamin Wiedmann

Benjamin Wiedmann is an IT Professional, Software Developer, Photograph and Musician. Read more...

More Posts - Website

Follow Me:
TwitterLinkedInGoogle Plus


Benjamin Wiedmann

Benjamin Wiedmann is an IT Professional, Software Developer, Photograph and Musician. Read more...

0 Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.