As relates to an answer to a previous question, I'd like to unmount a built-in hard drive every time I boot up. (Or alternately arrange for it not to be mounted). How do I do this?
|
|
The following Hint on Mac OS X Hints details a way to do this. Basically you'll create (or modify) the file
The actual UUID will vary, you can find the UUID for your disk in
|
||||
|
|
|
Use a LaunchAgent (see Lingon) that runs at boot to unmount. If it runs too quickly, add a wait/pause/sleep. The action that unmounts can be in whatever you preferred scripting/automation language is (bash (hdiutil), Automator, AppleScript, etc.) |
|||
|
|