I'm running Ubuntu 14.10 on my netbook, and connect my iPhone via USB cable so that it tethers and I can access the internet. This all works as expected.
The issue is that when the iPhone is unplugged from the USB cable, it doesn't unmount properly, so when the iPhone is next plugged in, a message box appears with the following text:
Unable to mount iPhone
Location is already mounted
Unplugging and replugging my iPhone throughout the day results in lots of these message boxes appearing.
The output of mount when the iPhone is plugged in includes the following:
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse
This line is still there after the iPhone is unplugged. If I manually umount that location, then the message does NOT appear when the iPhone is next plugged in:
sudo umount /run/user/1000/gvfs
Is there any way (maybe through udev) to automate this?