usb mounted dir persist after logout

Bug #213331 reported by lanzen
6
Affects Status Importance Assigned to Milestone
Ubuntu
Confirmed
Undecided
Unassigned

Bug Description

release: Ubuntu Hardy
kernel used is 2.6.24-15-generic but it might have started before.

At one point I've found that a mounted usb disk was not mounted in /media/disk, but on /media/disk___ so I had a look at /media and found other similarly named directories like:

/media/disk
/media/disk_
/media/disk__
/media/disk___

Of all these the first three were empty and only the last one contained the actual disk an data.

I have noticed that this happens when logging out and then in again while the usb-disk is still connected to the usb connector.

I have managed to restart the whole thing over after umounting the disk(s) and deleting all the relevant /media dirs and noticed that if the disks get umounted before logging out there will be no increase in the number of added dirs and the last one used will be picked up, so I reckon that the cause is that any automount created dir does not get cancelled during log out.

A similar thing happens in Kubuntu (I'm testing KDE 4), the only difference being the dir naming, typically disk-1, disk-2, and so on.

This happens with usb-HD, and usb sticks, but I guess it might affect anything that gets automounted

Revision history for this message
Lydia Pintscher (lydia-pintscher) wrote :

I can confirm this on Hardy KDE 4.

Revision history for this message
Jonathan Jesse (jjesse) wrote :

Can confirm this with Hardy w/ KDE4 and complete updates. I am seeing the USB drives as /media/disk-1, /media/disk-2, /media/disk, /media/disk-3..... I think I am up to /media/disk-6

Jonathan

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.