Also if you have a folder named DCIM on the flash drive, the Mac may be treating it like a digital camera. To prevent iPhoto and Image Capture from launching if that is the case you need to go to Image Capture preferences and change the option for "When a camera is connected, open:" to No Application.