[Thunar-dev] 'Eject' USB drives

Brian J. Tarricone bjt23 at cornell.edu
Mon Oct 15 00:49:57 CEST 2007


On Sun, 14 Oct 2007 23:50:21 +0200 Stephan Arts wrote:

> I just noticed my cellphone (the sony-ericsson walkman phone) can
> detect whether or not it is mounted to the computer. And when it has
> been ejected (using the eject cli command) it tells me I can safely
> remove it.
> 
> It does not do so when I just unmount it (from cli, thunar or even
> windows at work), is it possible to make thunar 'eject' usb-drives?

I'm pretty sure Thunar doesn't ever eject a device, even when its HAL
'storage.requires_eject' property is true, since, after you eject it,
you can't remount it without an unplug/replug.  It'd be really nice for
Thunar to include an 'Eject' option for devices that claim to require
it, but I feel like there was discussion about this, and Benny didn't
want it (though I could be thinking about something else).

Note that my xfce4-volstatus-icon will indeed do an eject on the device
if it's required, so you could use that if you're ok with running an
extra app.

At any rate, I'm not aware of any device that will actually have a
problem with being unplugged as long as all it's volumes are unmounted,
so, really, it doesn't matter so much in practice.  Not seeing the
'ok to disconnect' message on the device can cause user confusion,
though.

	-brian



More information about the Thunar-dev mailing list