View Single Post
  #3  
Old November 28th, 2007, 10:20 PM
jbarley's Avatar
jbarley jbarley is offline
One more, for the road!
 
Join Date: Jul 2005
Location: An Island called Vancouver
Posts: 438
Thanks: 0
Thanked 11 Times in 10 Posts
jbarley will become famous soon enough
in a terminal window type and run

"diskutil list" without the quotes.

from this list, note the name of the drive you want to unmount (in my case it is disk1s3)

Now write yourself a little shell script like this
--------------------
#!/bin/bash
diskutil umount disk1s3
--------------------
save it as a text file with a name such as "unmount.sh"
finally to make it executable
in a Terminal window type
chmod +x unmount.sh.

This leaves you with an tiny app that you can put in your Login Items, this will unmount your drive each time you login.

jb.
__________________
ROFL: (Rolling on the floor laughing.) Typically used by people who are too lazy to press the rest of the keys on their keyboard needed to communicate in English.
Reply With Quote