Hi there,
I'm trying to script disktool to unmount (not eject) an audio cd. The problem being, the names of audio cds always change thanks to iTunes getting the CDDB info (which I still need to happen), and the device number always changes because I've got a few external drives.
I was thinking that the best way to work out the device number would be by using mount to work out which drive was read only, then taking that and piping the number into disktool to unmount.
Only problem is, I have no idea how to do it
Any help much appreciated!
-- james