I want to stop a USB device from automounting in Ubuntu 13.04. For example, when I connect my iPhone 5 to my desktop I am consistently prompted for what I want to do (whether or not I want to erase the "iPod" connected to my machine, etc). Since I don't use the computer as anything more than a way to charge the device, is there a way to prevent the device from mounting and still allow the device to draw current from the machine?