I need to write an application that, upon connection of a flash drive, a file is copied to the drive. I'm building a CAN data logger running Ubuntu on a single board computer for logging the variables of an engine for tuning purposes. Anyone have any ideas on how to do this?