[hardy] Underscore character is appended to mount directory name

Bug #212278 reported by Daniel Botelho
30
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu
Confirmed
Undecided
Unassigned
Nominated for Jaunty by Xero Xenith

Bug Description

Hello!

Today I've used update manager to update my hardy version, and now every time that I mount my hard drive it will be created a new mount point with the HD name appended by an underscore(_). This only happens every time that I restart my computer. So I've one HD called "ARMAZEM" and the first time that I've mounted it, it was created under "/media/ARMAZEM"; then I've rebooted, and I went to "Places" in nautilus, and double clicked in "ARMAZEM", and it was created another mount point called "/media/ARMAZEM_".
Now I've in the /media directory "/media/ARMAZEM" and "/media/ARMAZEM_", but I can only use "/media/ARMAZEM_" because I don't have permissions to use the other...
I've managed to solve this by unmounting "/media/ARMAZEM_" and "sudo rm -R /media/ARMAZEM". After this I went again to "Places" in nautilus, and double clicked in "ARMAZEM" and it has created the "/media/ARMAZEM" correctly!

Sorry for my bad English :P

Revision history for this message
Alex Bruce (alexbruce7) wrote :

I can confirm this bug. I have loaded Ubuntu in a partition alongside Windows. When mounting the NTFS volumes a new mount location is created under /media with an appended _. I have added my music from one of the NTFS partitions to Rhythmbox and now, after a restart, it is going through the library finding every file missing because of this bug.

Checking the /media folder reviels that all my mounted volumes have duplicate mount folders with an appended underscore including my portable USB drive that has some 6 duplications eg ExtHDD, ExtHDD_, ExtHDD__, ExtHDD___, ExtHDD____, ExtHDD_____

as demonstrated by the above user case with music on a Windows NTFS volume this is quite a problem. of course this could be worked around by having a static mount point in FSTAB but this seriously undermines the point of mounting volumes via the GUI.

Revision history for this message
zoby (mlouro) wrote :

I can confirm this aswell. Each a volume, even an ex3 one, is mounted another directory is created for that media with one more underscore.

Revision history for this message
Alex Bruce (alexbruce7) wrote :

The problem does not occur if you unmount volumes before restarting the PC so this points to the need for a line or two added to the shutdown script to unmount all volumes before shutdown.

also a check if underscore folders etc have been created to ensure even after a unexpected shutdown (power cut etc) that normal operations continue.

Revision history for this message
giovanni (carver55) wrote :

i can confirm this as well. I have an external Maxtor 250Gb, Usb, powered, labelled Winusb, NTFS filesystem. After the last upgrade every time i switch it on system creates a new mount point with the HD name appended by an underscore. ( now i have in /media /Winsub, /Winusb_ and /Winusb__). I switch it on only when i have something to save, then unmount it and switch it off . I don't like having a static mount point in fstab.
Thanks

Revision history for this message
Fred (eldmannen+launchpad) wrote :

I have this problem too...
I have 2 disk on my computer.
Disk 1 - Linux
Disk 2 - Windows
It make /media/Windows/ then /media/Windows_/ then /media/Windows__/ then /media/Windows___/

Very annoying...

Revision history for this message
Mark Grandi (markgrandi) wrote :

I get this too. See my duplicate bug report for info ;)

Revision history for this message
Peng Deng (d6g) wrote :

I can confirm this too. I upgraded my gutsy to hardy two days ago and ever after the mount point is not removed upon unmounting and an underscore is appended when mounting the same disk the next time.

Revision history for this message
kosmoz (kosmoz) wrote :

Very irritating indeed... Music not found because of it, and I have to reconfigure Unison every time I use it. It only happens to my fat32 partitions and my (fat32 as well) USB stick and HD.

Revision history for this message
Helmut Januschka (helmut-januschka) wrote :

can confirm it, happens to me too

for major show-stopper to re-order/re-config my programs because of path changes

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.