Currently Being ModeratedMay 22, 2012 1:42 PM (in response to mavric1298)
Perhaps because Eject doesn't dismount the drive. Need ot use "diskutil unmountDisk | umountDisk [force] device" according to man page.
Currently Being ModeratedMay 22, 2012 2:43 PM (in response to mavric1298)
eject works on volumes (partitions/file systems, not the actual drives). it will unmount the drive if there's only one mounted volume, otherwise it will just detach the volume.
Currently Being ModeratedMay 22, 2012 3:17 PM (in response to twtwtw)
which is why im confused, there is only 1 volume....
Currently Being ModeratedMay 22, 2012 10:27 PM (in response to mavric1298)
is OptiBay the name of the volume that gets mounted (as it appears in the Finder), or the name of the drive (as it appears in Disk Utility)? It needs to be the former for the Finder to recognize it.
Currently Being ModeratedJun 2, 2012 8:09 PM (in response to mavric1298)
Did you resolve this issue?
I am looking for a script that will completely "eject" a drive (with two partitions) int he Superdrive bay. The result I want is for the HDD there to spin down completely. Your solutions looks like it might do the trick... although I'd have to get it to "eject" one drive with two petitions.
Currently Being ModeratedJun 7, 2012 12:53 PM (in response to InspiredLife)
I did not, I cannot get it to "eject" either.
Its the name in finder, if it were having trouble with the name then it wouldn't mount the disk, which it does fine.