On Friday 27 March 2009 19:32:13 James Harrison wrote:
When removing a USB key, I use:
sync ; sync ; umount {/Path/to/USB/key}
Just "eject /dev/whatever" works well in my experience, and causes e.g. my phone
to display "USB connection ended" as well, i.e. equivalent to "Safely
remove".