[Thunar-dev] Unmount removable devices systemtray app

Brian J. Tarricone bjt23 at cornell.edu
Fri Feb 2 20:27:00 CET 2007

Hash: RIPEMD160

Harold Aling wrote:

> Looking good already!

Thanks ^_^

> Another brain storm item: I have an external hard disk which contains
> multiple partitions. Before I can remove the device, I must find out
> which partitions are on that specific disk and unmount all partitions
> separately from an alphabetical ordered list...

Yeah, I've thought about that in conjunction with thunar: if you unmount
one partition on a removable drive with multiple, it'll pop up a
notification that it's "safe to remove", which, if any of the other
partitions are mounted, it's not.

> Utopia: If a device has only one volume, only display that volume and if
> there are more than one display the Manufacturer+device name (or any
> other udev variable which makes sense) and unmount all volumes present
> on that device...

The problem is in the dependencies.  Right now it's a *very* simple app
that just uses thunar-vfs.  Working with HAL and figuring out what
volumes go with what drives increases the complexity quite a bit, and I
may not even be able to use thunar-vfs anymore, which would be a shame
(thunar-vfs makes a lot of things trivially easy).  Though I suppose
using the new exo-hal stuff might help matters, but the easy async
notification in thunar-vfs would be lost, and I'd have to reimplement
that using HAL directly (i.e., copy/paste from thunar-vfs).

I'll look into it...

> This is step 2 in the application, but it might be interesting to keep
> such a feature in mind while writing the core functions...

Heh, core functions?  They were done yesterday.


Version: GnuPG v1.4.3 (GNU/Linux)


More information about the Thunar-dev mailing list