Automount AFP shares in OSX

So I’ve finally got around to building my NAS. It’s a pretty 12TB FreeNAS using RAIDZ…she runs very nicely 🙂 At first, I was using SMB, but found the performance from AFP better, that’s for another post though. For the life of me, I couldn’t find the “Mac” way of auto mounting an AFP share. So being the sysadmin ninja that I am, I just went along and did it my own way.

Luckily for us, the pretty OSX frontend sits on top of a UNIX backend. In short, I ended up using autofs, and it works rather well. Below is how to get it working.
Continue reading