Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Automatically mount SMB shares on login' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Automatically mount SMB shares on login
Authored by: omnivector on May 11, '04 02:35:14AM

the correct way to do this is via the automount facilities in os x. this enables you to automatically mount shares on-demand, rather than on login. thus resources are not wasted when the shares aren't being used. the other advantage is this method doesn't produce the nasty can't-unmount-without-rebooting errors experienced in jaguar (although i think those in particular are fixed in panther). the last nice advantage is you can mount the partitions anywhere on the file system you please. aka, ~/Desktop, or /Volumes, or ~/Mounts (in my case). automount lets you automount nfs, smb, cifs, afp, webdav, ftp, or any other os x supported protocol. although only the ones with write support can write obviously (i.e. no write support for ftp via automount). if you want more info, check some of the other mac os x hints on this.

---
- Tristan



[ Reply to This | # ]
Manual mount vs. automount vs. startupitems
Authored by: Ptitboul on May 12, '04 05:25:08AM

I agree that it is yet another way to mount shares on login. But it has some advantages.

Automount needs administrator's rights to change the Netinfo database.

Startupitems works only when login with the GUI, not when login by ssh.



[ Reply to This | # ]
Automatically mount SMB shares on login
Authored by: xylo on Dec 10, '10 05:53:25AM

You can also use AutomountMaker

AutomounMaker is an easy to use GUI tool to create scripts that will mount an AFP, FTP, WebDAV(http), NFS or SMB network share You can use the script as a Startup Item in your user's session config to automatically mount the given share upon login (or even upon boot of the Mac). If you use always the same shared volume on your desktop, AutomountMaker is more easy than the classic Connect to Server... proposed by Apple.



[ Reply to This | # ]