thunar-volman: application for porable music players starts for each USB storage device
Tino Keitel
tino.keitel+xfce at tikei.de
Tue Jul 31 11:16:14 CEST 2007
On Fri, Jul 27, 2007 at 08:42:20 +0200, Yves-Alexis Perez wrote:
> On jeu, 2007-07-26 at 15:07 -0700, Kok, Auke wrote:
> > for memory/flash media, "eject" is the equivalent of "umount". Only
> > devices
> > which have a "tray" do something else -> open it up.
>
> Some mp3 players or external hard drives shutdown themselves when
> receiving "eject" too.
It looks like hal sets a "storage.requires_eject" capability for
certain devices, e.g. for iPods:
<match key="storage.vendor" contains="Apple">
<match key="storage.model" contains="iPod">
[...]
<merge key="storage.requires_eject" type="bool">true</merge>
</match>
</match>
So maybe Thunar could use this information to decide if an eject is
desired of if a simple umount is enough.
More information about the Xfce
mailing list