I can add the share to the login startup items, but it always pops open Finder. I want the AFP share to mount silently. This is in a Mac computer lab with the Macs joined to AD.
I was looking for the same answer and I found a cleaner way to do that using the automounter daemon.
In short you should create a
You should replace values between parentheses with your values and then you have to restart the automounter daemon with
from Terminal.app. Alternatively you can reboot to activate new settings. If you did it in the shell way the previous command should respond with something like
After that you should find your mounted folder in the Finder automatically.
Some references I found:
P.S. If you're not a Terminal.app fan you can use this GUI app to automount filesystems, I haven't tried it because it's not free, but if you need that is pretty cheap.
You just tick the "Hide"-button in the Start Objects-screen on System Preferences>Accounts, and it shouldn't show a Finder for it.
I've done this with smb shares and will double check tonight when i get home but iirc you need to write some simple applescript to mount the volume
IIRC the following will work
Compile it into an application and add that to the login items