Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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>_
share|improve this question
add comment

1 Answer

up vote 7 down vote accepted

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.

share|improve this answer
3  
...because the Gnome automounter creates a new /media/drivename mount point for stuff it automounts (and deletes it when unmounted). so if the default exists, the automounter will append the underscore to get a mount point that doesn't exist. (i suspect the existing mountpoint will be used if there's a corresponding /etc/fstab entry for it. but i haven't tested this theory.) –  quack quixote May 4 '10 at 21:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.