powered by PmWiki
How To Mount a Drive using Fstab and AutoFS?
Mac has evolved over the years, to the most popular Snow Leopard 10.6.7. Now the new Lion is out, we feel the instructions will be much the same as below
YOUR_NAS:/YOUR_SHARE /Users/simon/Shares/Movies url automounted,url==afp://YOUR_LOGON:YOUR_PASS@YOUR_NAS/YOUR_SHARE 0 0
You need to replace YOUR_NAS, YOUR_SHARE, YOUR_LOGON, YOUR_PASS and /Users/[User_Name]/[Shares]/[Share_Name] with the name of your NAS, the name of your share, your logon, your password and the path to your mount point respectively.
YOUR_NAS:/YOUR_SHARE /Users/simon/Shares/Movies url automounted,url==cifs://YOUR_LOGON:YOUR_PASS@YOUR_NAS/YOUR_SHARE 0 0
sudo automount -vc
automount: /net updated
Plex- Howto automount AFP/SMB shares using autofs - Retrieved on 13 June 2011