How to mount one of two external drives on startup without login
I have a Mac Mini that runs as a server on my network. It has two external USB drives attached: one contains documents, and the other is a TimeMachine backup of the server. Neither disk mounts on a machine on the network until a user interactively logs in, but I would like one of them to be mounted at startup of a MacBook Pro on the network running OS X Mavericks 10.9.3.
The following script was suggested at <https://discussions.apple.com/thread/1200767?answerId=5770284022#5770284022> in response to a desire to mount all external FireWire drives running under OS X 10.5 Leopard:
You can do this with the following command (note: it will ask for your admin password):
sudo cat >/Library/Preferences/SystemConfiguration/autodiskmount.plist <<"EOF"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AutomountDisksWithoutUserLogin</key><true/>
</dict>
</plist>
EOF
I have two questions about this command:
1. Is it valid for OS X Mavericks 10.9.3?
2. Can it be modified to mount only one of the external disks attached to the server (the one containing documents)?
Thanks in advance for your kind assistance with these questions.
Best wishes,
Stuart
Stuart A. Forsyth
<Email Edited by Host>
MacBook Pro (Retina, 13-inch, Late 2012), OS X Mavericks (10.9.3)