Version: ��� (using KDE 3.2.2, (testing/unstable))
Compiler: gcc version 3.3.3 (Debian 20040401)
OS: Linux (i686) release 2.4.25-1-686
(This was originally reported as Debian bug 255010, see
I had a device icon on my KDE desktop for a removable HD (USB stick)
partition, /dev/sda1 on /keycard, user mount available.
Eventually, the system /etc/fstab was changed so that /keycard was
now associated with /dev/sda5:
/dev/sda5 /keycard ext3 rw,user,noauto,nosuid 0 0
After that, attempt to mount the fs using the icon caused /keycard to
be mounted from /dev/sda5, yet no mount indication was shown on the
icon, and it was impossible to umount the disk via the icon. Changing
the device in the icon properties/device tab from sda1 to sda5 restored
the icon back to normal. This had to be repeated for all users that had
such an icon on their desktop.
I find this behavior inconsistent. Either mount should not proceed at
all (because there is no /dev/sda1 on /keycard user mount available
any more), or, if what matters is just the mount point (i.e. the icon
is following /etc/fstab), there should be no device association stored
with the icon, just the mount point, and the device should be looked up
from /etc/fstab. Personally, I would prefer the latter behavior as it
is more consistent with the centralized mountpoint to device mapping via
Try adding the following to your /etc/fstab:
/dev/sda1 /mnt/pendrive vfat noauto,users 0 0
The 'noauto' argument, at least in KDE version 3.3.1 (slackware 10), solves this problem.
As you can see in my original report, noauto is present in my case as well. Are you sure you recreated the same test scenario (first log in and use the icon to mount and unmount, observe the graphical mount indication; then log out; then change fstab to associate the user mount with another device; then try using the mount option off the icon and observe the problem)?
Also your fstab line seems suspicious to me as it has "users" not "user".
Does this still happen in recent KDE versions?
> Does this still happen in recent KDE versions?
I don't know. The original submission contains a 100%-repeatable howto on
re-creating the scenario, so one can try and see.
Currently, I switched completely to udev-based solutions, so that the
fstab contains things like /dev/keycard and it's udev that's responsible
for managing the symlink creation in /dev, from keycard to sda1 or sda5 or
whatever. Best thing is that previously, if I plugged in my USB digital
still camera in before the keycard, then it got mapped /dev/sda instead of
the usb memory stick, and if I plugged in keycard together with it, it got
/dev/sdb, with udev it happens no more. So udev is the way to go.
KDE works fine over this, so for me it makes a good workaround
of the original problem, even if it is still present.
Kdesktop is no more mantained. Moreover mount/umount has been improved a lot in KDE 4. This bug can be closed.