<br><br><div class="gmail_quote">On Mon, Apr 14, 2008 at 11:26 AM, Tino Keitel <<a href="mailto:tino.keitel%2Bxfce@tikei.de">tino.keitel+xfce@tikei.de</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Thu, Apr 10, 2008 at 20:04:11 +0200, Mads Michelsen wrote:<br>
> Hi,<br>
><br>
> I'm trying to understand about mounting and what role XFCE/thunar plays in<br>
> it and how to control it.<br>
><br>
> 1) Who does what? What does HAL do, what does thunar (volman) do? And I take<br>
> it that the Places panel-plugin is just a shortcut for the thunar<br>
> functionality?<br>
<br>
</div>AFAIK HAL detects new devices, and generates a dbus message. The dbus<br>
session of the user that is logged in processes the dbus message, and<br>
sends it to Thunar. Thunar then uses libexo to mount/umount/eject<br>
devices (see the exo-mount manpage).<br>
<div class="Ih2E3d"><br>
> 2) Is there a way to control the (auto)mounting of external filesystems same<br>
> way as /etc/fstab controls those mounted at boot? (i.e mountpoint, owner,<br>
> options, etc.)?<br>
<br>
</div>You can create own fdi files for HAL, but exo is somewhat limited when<br>
it comes to the usage of HAL properties.<br>
<div class="Ih2E3d"><br>
> 3) I'd like to be able to control some simple mounting/unmounting operations<br>
> by way of shortcut keys and incorporate some functionality into scripts,<br>
> e.g. toggle mount status for drive X, mount-if-not-currently-mounted, drop<br>
> all external mounts etc. Using umount and mount just doesn't seem to<br>
> integrate well with thunar's mounting: manually mounting a drive that is<br>
> registered as a drive in the places plugin seems to confuse it (directing<br>
> thunar to the mount point results in a neverending load). Also, I can<br>
> unmount whatever thunar has (auto)mounted using umount, but umount requires<br>
> root privileges and the places plugin doesn't. So is there a way to do these<br>
> operations by sending commands to thunar/places/HAL (as I said in the first<br>
> question, I'm really not sure what does what)?<br>
<br>
</div>Just use exo-mount in your scripts.<br>
<br>
Regards,<br>
<font color="#888888">Tino<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
Xfce mailing list<br>
<a href="mailto:Xfce@xfce.org">Xfce@xfce.org</a><br>
<a href="http://foo-projects.org/mailman/listinfo/xfce" target="_blank">http://foo-projects.org/mailman/listinfo/xfce</a><br>
<a href="http://www.xfce.org" target="_blank">http://www.xfce.org</a><br>
</div></div></blockquote></div><br><br>Thanks fot the replies. A couple of new concepts there, but at least I know where to look now. Thanks again.<br>