[Pkg-xfce-devel] Bug#500561: Bug#500561: Bug#500561: thunar: Unmount problem with removable media

Yves-Alexis Perez corsac at debian.org
Mon Sep 29 13:27:10 UTC 2008

On Mon, Sep 29, 2008 at 03:21:49PM +0200, Kmarty wrote:
> 2008/9/29 Yves-Alexis Perez <corsac at debian.org>:
> > Basically, thunar asks hal for the "require_eject" property. If it's
> > present, then thunar will display "Eject", else it'll propose to Umount.
> Maybe I looking wrong, but thunar_vfs_volume_hal_is_ejectable() return
> TRUE also for
> ( is_volume && is_removable ).
> And it have all presented media.

Yeah, I noticed this.
> >> http://www.kmarty.bluetone.cz/tst/thunar/eject_affects_different_device_than_drive_itself/usb_card_reader_with_card.lshal
> >> http://www.kmarty.bluetone.cz/tst/thunar/eject_affects_different_device_than_drive_itself/usb_card_reader_without_card.lshal
> >
> > Do you mean that with all those device, when you ask for "eject" it's
> > the card which is ejected and not the card reader, or the opposite?
> OK, forget for this card_reader. It was for completness about "eject
> or unmount" problem.
> I thought to say about situations where both, Eject and Unmount, is needed.
> This need someone who know better english than me.

Yeah, agreed, but that's a hal problem too, I guess. And basically, even
from the user pov, it's not that easy.
> Important is "Eject" for external HDD (or SDcard) which don't work
> with eject, only with unmount. Don't work with eject just because
> there is nothing to eject.

That's wrong. For an external hdd eject is not the same as umount. Well,
you umount a filesystem, and you eject a device. Ejecting an external hd
will power it down. And it's required in quite some cases.

What would be nice is a way to choose if one wants to umount a partition
or eject the device holding it. But even with that case, their are
tricky ones (for example cryptofs and stuff like that).


More information about the Pkg-xfce-devel mailing list