Jump to content
10 posts in this topic

Recommended Posts

my second hdd is for windows only and i never use it under OSX. Even when i blacklist that HDD in spotlight piracy sometimes "grinding" and takes time awaking from sleep when i click finder after a while, so as at shutdown/restart. the only solution to unmount them in disk utility.

so i would like it to be unmounted at startup. i am not into scripting (last time i did it in DOS batch files:)

thanks

Here's a Perl script I whipped up.

 

Open it in TextEdit and change "Volume Name Here" to the name of the volume and save it.

 

Go to System Preferneces>Accounts>Login items. Drag the script into there.

 

 

http://cl.ly/270d3f3o3g272F2I422R

it doesn't work.

opens the script file at startup in textedit, thats all.

do i need any additional config i missed?

 

Right click the file and choose "Get info". Go to the section where it says "Open with" and choose terminal.

 

Applications>Utilities>Terminal.app

 

Also, I forgot to add a line of code. At the very bottom add the following.

 

system "killall Terminal";

 

That will close the terminal window when the job is complete.

×
×
  • Create New...