Monday, February 2, 2015 [Tweets] [Favorites]

How to Mount a Disk on Startup

Ovidiu Predescu:

MacOS X Yosemite removed few capabilities that existed in previous versions of MacOS X. Notably the StartupItems feature which allowed you to run scripts when the system boots up.

On my machine I want to be able to mount an internal disk as soon as the machine boots up, but before a user logs in. A common solution in the past involved a custom StartupItems script, but this no longer works on Yosemite.

He shows how to do this with a launchd file in the LaunchDaemons folder.

1 Comment

Incidentally, if you're okay with waiting until you've logged in before you mount the disk automatically, the old trick of simply mounting the disk manually once, then dragging it into your "Login Items" in the "Users & Groups" preference pane still works fine on Yosemite.

Stay up-to-date by subscribing to the Comments RSS Feed for this post.

Leave a Comment