Mac OS X automatic network disk mount after boot or login

5

1

Every day I need to connect/mount an externel drive from a linux samba machine.
How can I setup Mac OS X (10.5.8 on a G5) to let him do this automatically after login or boot?

user19783

Posted 2009-12-01T07:25:31.640

Reputation:

Answers

10

If it is a network share just drag the mounted disk to the Login Items tab of the Accounts System Preference pane under the account of your user. The disk will then be automatically mounted on the next login.

cOle2

Posted 2009-12-01T07:25:31.640

Reputation: 356

This has 2 problems: 1) it opens Finder and shows the contents of the network share when the user logs in, and 2) if the share goes away temporarily for any reason while the user is logged in it is never remounted. You can use automator to fix problem 1, but it won't fix 2. Create a script that mounts the drive and use launchd to run it to fix both. To mount a network drive in a script use "mount -t afp afp://@<backup_disk_name>.local/<share_name> /Volumes/<share_name>". – Samuel – 2015-03-01T13:59:20.743

perfect, this works fine – None – 2009-12-02T07:17:33.107

0

Second hit on Google

http://www.macosxhints.com/article.php?story=20031022164821984

Tried anything like that yet?

Hasaan Chop

Posted 2009-12-01T07:25:31.640

Reputation: 4 224

and where i have to put this urls? sry but google wasn't helpful for me this time – None – 2009-12-01T07:58:35.877

1As previously mentioned Google it is not acceptable answers on SU. – BinaryMisfit – 2009-12-01T08:20:57.003