I have been working on the home network in an effort to attain seamless integration with the Macs. I use a ReadyNAS NV+ with 4x 500GB drives as the network backup/media/storage device. Media sharing is done via a Mac mini to the Xbox 360, Squeezebox and the Mac laptops. When I was running on Tiger I configured automount AFP shares using the NetInfo Manager application. Well, as of the upgrade to Leopard, this application is gone.
I was digging around a bit this morning on how to go about a proper automount under Leopard. I wasn't interested in any sort of kludgey AppleScript that would be setup as some sort of login or startup item. AppleScript will work of course but it wasn't good enough, this *is* UNIX right? A couple of queries into Google and I found a great blog article detailing autofs in Leopard. There are lots of different options, but I was primarily concerned with AFP automounts. This is detailed in part two of the referenced article.
Here is what I ended up with and it works great, as of 10.5.1 that is. I dropped the net option as I wanted a more direct way to access the mounts from the Finder. I created /etc/fstab and added the following.
# -------------------------------------------------------------------------------------
# Mount AFP shares from the ReadyNAS
# servername:/path mount_point url auto,url==afp://username:password@server/path 0 0
# -------------------------------------------------------------------------------------
mynas:/Backup /Network/Backup url auto,url==afp://username:password@mynas/Backup 0 0
mynas:/Media /Network/Media url auto,url==afp://username:password@mynas/Media 0 0
mynas:/Storage /Network/Storage url auto,url==afp://username:password@mynas/Storage 0 0
# -------------------------------------------------------------------------------------
These will be auto-mounted on boot but you can easily refresh the automount config after making changes using sudo automount -cv. You can guess that, via a terminal, you can find the configured mounts under /Network. From the Finder, this is accessible in the Sidebar from either Devices -> Computer -> Network or Shared -> All... Depending on your Finder preferences, you my need enable visibility in the Sidebar.
So really that is it. Easy right?
