[kde-linux] KDE +hal: "unable to eject" message with USB sticks

Anne Wilson cannewilson at googlemail.com
Thu Jul 12 17:01:56 UTC 2007


On Thursday 12 July 2007 15:48:39 Jens Stroebel wrote:
> Rod Butcher wrote:
> > Anne Wilson wrote:
> >> On Thursday 12 July 2007 06:01:08 Norberto Bensa wrote:
> >>> Jens Stroebel wrote:
> >>>> I'm using kde-3.5.7 here; after updating from a previous version to
> >>>> this one, I had to realize that an umount of USB sticks (via the
> >>>> dektop icon) nowadays spawns a window (and creating a
> >>>> glass-break-sound) and complains that it has successfully umounted but
> >>>> couldn't eject the USB stick.
> >>>
> >>> Me too.
> >>>
> >>> I'm using Gentoo.
> >>>
> >>> Kubuntu on the other hand seems to handle this right, and it also has a
> >>> nice feature: it shows a progress bar showing how much time left to
> >>> umount/sync your usb stick.
>
> Hm... does Kubuntu use KDE-3.5.7 for sure? I'm asking because we didn't
> see the behavior of
>
>   "The device was successfully unmounted, but could not be ejected"
>
> before ... hm .. before 3.5.7 I think.
>
> >> Is it possible that something is hanging on to the device?  Can you see
> >> any possible cause in ksysguard?
> >
> > I seem to remember Konqueror having a habit of hanging on to devices I
> > had mounted and then accessed with it; I had to kill Konqueror to free
> > them.
>
> I don't think this is the case. I can do a "plug, mount by cursor,
> umount by cursor" and the effect occurs, w.o. any further usage of the
> stick.
>
> While talking this behavior through with cow-orker, we wondered if this
> could have something to do with ejectable vs. not-ejectable devices...
>
> Is there some info KDE should get to decide the difference (maybe from
> udev/hal) w. regards to the attributes of the appearing device so that
> it wouldn't try to eject at umount time?
>
> Something that perhaps Kubuntu has implemented but is missing in our setup?
>
> Just poking in the fog, here ....
>
I can't say that I've ever tried Eject for a usb device.  In both Fedora and 
Mandriva there is a Safely Remove option which appears to simply umount.  I 
use that, always waiting a few seconds, just in case a buffer is being 
flushed.

Anne


-- 
Registered Linux User No.293302 (http://counter.li.org/)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20070712/770010c4/attachment.sig>


More information about the kde-linux mailing list