Friday, 27 March 2009

Mac foo I learned today

Long time no post! Ho hum, been busy as ever.

Anyhow, for my own benefit just wanted to write down some Mac foo I learned today.

I was searching for the Mac equivalent of the Linux "eject" command. Lots of people online are spouting off about needing to reboot their macs and hold down keys to eject disks that aren't recognised, but what you really need is:

hdiutil eject /dev/disk1