KDE mounted devices sometimes do clean /media

Uhm the correct topic title should be "KDE mounted devices sometimes do not clean /media". If a mod can fix this that would be cool

Okay so here’s the problem:

In opensuse 11.1 and 11.2, whenever I mount a usb drive or a internal hard drive through KDE (Dolphin or Device Notifier widget), it automatically creates a folder in /media to mount the device in (/media/disk for internal drives and /media/FreeDesktop for my usb external).

The problem I have is that sometimes these folders are not automatically removed when I shut down. The next time I mount these devices new folders are created with /media/disk-1 and /media/FreeDesktop-1 which throws off a lot of my programs like Deluge or Amarok. Also the folders that are not removed seem to have really strong permissions such that I can’t even browse into them in Dolphin. I have to manually clean the /media folder as super user so that when I mount the devices again, they are in /media/disk and /media/FreeDesktop.

When I just installed opensuse 11.2, I thought it was fixed because my internal drive was being mounted as /media/some random code and the folders were being removed properly. After some updates, the device mounter started to mount my internal as /media/disk again and that’s when the issues started to happen.

Does anyone know how to ensure that drives mounted through KDE (not /etc/fstab) remove their folders upon shutdown?

Sorry i have no solutions. But i can confirm i have the same problem with 11.1 .

I’ve checked the HAL, udev, autofs packages and all are the original packages from the oss repository. I have a feeling that it could be due to KDE but I am not sure.

I used to have the problem until updating to the GM of 11.2, BUT!!! it now seems that the directories while there (well the device shows up) it isn’t accessible from other applications (or really mounted) until i check the directory with dolphin or krusader.
I’m wondering if it has anything to do with using volume names and not another type of id, however in the update to 11.2 i didnt do and such entries to fstab, i let system handle it with its default settings for a usb mounted drive.

Yeah, that’s the way I am using it right now. I am accessing the device from dolphin, which mounts it. The problem is that if a device is mounted as /media/disk, restarting and mounting the device again will sometimes result in the device being mounted as /media/disk-1. It does not delete the previous folder as it should.

Okay so I don’t think its a KDE problem. Only when I mount it through a GNOME application does it do /media/somecode instead of /media/disk but I found out those folders sometimes still remain in /media after shutdown as well :(.