Version: unspecified (using Devel) OS: Linux since KDE 4.6 RC 2 Reproducible: Didn't try
Created attachment 55679 [details] IOMEGA_HDD should be removed after unplugging 1. plug in external harddisk with windows and Linux partition 2. plug it out -> windows partition IOMEGA_HDD is not removed 3. try to display content of removed device
Did you just physically unplug it from the USB port, without pressing the unmount button? Or perhaps it was automounted?
The external hard disk is an ieee1394 iomega fire wire device. The device is not mounted anymore before pulling the electrical plug (no automount): > cat /proc/mounts ... The command > udisks --dump | gvim - doesn't show any ieee1394 devices anymore, but the device notifier still shows the invalid IOMEGA_HDD device (windows partition): picture 2. Picture 3 gives the correct error message: cannot be mounted. To correct the device notifier I have to restart plasma-desktop: > kbuildsycoca4 && kquitapp plasma-desktop && kstart plasma-desktop
Ok, can you check please if it still appears also in "solid-hardware --list" at that moment?
Comment #1, picture 1 (device plugged in, not mounted): > solid-hardware list 2>&1 | grep sdd udi = '/org/freedesktop/UDisks/devices/sdd1' udi = '/org/freedesktop/UDisks/devices/sdd2' udi = '/org/freedesktop/UDisks/devices/sdd' picture2 (device plugged out), windows partition still present in device notifier: > solid-hardware list 2>&1 | grep sdd (no output)
Then it's a bug in the device notifier itself, reassigning
Created attachment 56294 [details] dolphin:Places and device notifier in buggy action
KDE 4.6.0: After renaming kded_device_automounterrc to kded_device_automounterrc~ and restarting: [Devices][/org/freedesktop/UDisks/devices/sdd1] EverMounted=true Icon=drive-harddisk LastNameSeen=IOMEGA_HDD LastSeenMounted=false [Devices][/org/freedesktop/UDisks/devices/sdd2] EverMounted=true Icon=drive-harddisk LastNameSeen=18,6 GiB Wechselmedium LastSeenMounted=false Plugin drive sdd: IOMEGA_HDD shown in dolphin:Places (OK) not shown in device notifier (not OK) 18,6 GiB Wechselmedium: OK remove sdd: IOMEGA_HDD shown in dolphin:Places (not OK) not shown in device notifier as above 18,6 GiB Wechselmedium: OK restart dolphin: recognizes removal of sdd (OK) Conclusion: A restarted dolphin does something right what device notifier should do also. An open dolphin is not correctly informed of the removal of IOMEGA_HDD.