I used to automount on OSX by sudo vifs
and adding a line like vault.local:/backup /Volumes/backup url auto,url==afp://;AUTH=No%20User%[email protected]/backup 0 0
. But that no longer works on Maverick because the system deletes everything in /Volumes on wake/restart/something-or-other.
Use this
The Fix Under-the-Hood