Ubuntu – Underscore being appended to mounted disk name after Ubuntu upgrade

mountpathUbuntuubuntu-10.04

I have Upgraded Ubuntu from version 9.10 to 10.04. Now when I mount any of my extra hard disks the drive name gets an underscore appended to it, as shown below. Which obviously messes up all my pahts. How do I prevent\correct this?

/media/<drivename>_

Best Answer

Look through your /media folder. My guess is that even when no drive is plugged in, its mountpoint exists. remove this (empty) directory (with the drive unplugged, just to be safe), with sudo rm -r /media/drivename. Hopefully that will fix it.

Related Question