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>_
link|improve this question

69% accept rate
feedback

3 Answers

up vote 4 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.

link|improve this answer
2  
...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
feedback

i used to have this problem before and there was no solution on the internet. it automatically went away by upgrading to the latest kernel (2.6.32-23-generic). hope that helps!

link|improve this answer
feedback

I tested this and it is indeed the case. I just did a umount (un-mount) on the partitions in question. I then deleted the folder in /media and then clicked on the partions in the places menu, and "wala", issue resolved.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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