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

Yves-Alexis Perez corsac at debian.org
Mon Sep 29 12:48:41 UTC 2008

On Mon, Sep 29, 2008 at 01:58:21PM +0200, Martin Kebert wrote:
> Package: thunar
> Version: 0.9.0-10
> Severity: normal
> Hi,
> some removable media cannot be unmounted from Thunar. Option "Unmount"
> is missing, there is only option "Eject".
> But for some removable media, like external HDD or non-USB card reader, it
> is wrong (it ends with error message "An unknown error occured" without
> unmount), for some removable media, like PNA Tomtom or cellphone
> SonyEricsson os possible both, Unmount and Eject, but only after Eject
> is device restarting to "normal" state, for some removable media like
> USB flashdiscs it do almost same action and on some media like USB card
> readers probably should be Eject for whole card reader and Unmount only
> for inserted card.

Basically, thunar asks hal for the “require_eject” property. If it's
present, then thunar will display “Eject”, else it'll propose to Umount.

I agree that, in certain cases, it would be better to provide both
options, but upstream kind of disagree (and doesn't have much time to
work on it, sadly).

> lshal from some removable medias (in Thunar have only "Eject" option now).
> Because it is big, I put here only links for them:
> http://www.kmarty.bluetone.cz/tst/thunar/can_be_unmounted_or_ejected/feiya_flashdisk_over_usb.lshal
> http://www.kmarty.bluetone.cz/tst/thunar/must_be_unmounted_because_eject_ends_with_error/prestigio_pocket_drive_over_usb.lshal
> http://www.kmarty.bluetone.cz/tst/thunar/must_be_unmounted_because_eject_ends_with_error/sdcard_in_non-usb_reader.lshal
> http://www.kmarty.bluetone.cz/tst/thunar/must_be_unmounted_because_eject_ends_with_error/wd_mybook_over_firewire.lshal
> http://www.kmarty.bluetone.cz/tst/thunar/must_be_unmounted_because_eject_ends_with_error/wd_mybook_over_usb.lshal

Hmhm, what puzzles me is that some of these have require_eject=false.

> 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?

Basically, you are asking about multiple issues, and I think you should
open one or multiple bugs directly on upstream bugzilla
(http://bugzilla.xfce.org, check for duplicates before). Provide the
logs, and be clear on the behavior observed and the behavior you think
should be used.


More information about the Pkg-xfce-devel mailing list