<br><br><div class="gmail_quote">On Mon, Apr 14, 2008 at 11:26 AM, Tino Keitel &lt;<a href="mailto:tino.keitel%2Bxfce@tikei.de">tino.keitel+xfce@tikei.de</a>&gt; 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>
&gt; Hi,<br>
&gt;<br>
&gt; I&#39;m trying to understand about mounting and what role XFCE/thunar plays in<br>
&gt; it and how to control it.<br>
&gt;<br>
&gt; 1) Who does what? What does HAL do, what does thunar (volman) do? And I take<br>
&gt; it that the Places panel-plugin is just a shortcut for the thunar<br>
&gt; 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>
&gt; 2) Is there a way to control the (auto)mounting of external filesystems same<br>
&gt; way as /etc/fstab controls those mounted at boot? (i.e mountpoint, owner,<br>
&gt; 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>
&gt; 3) I&#39;d like to be able to control some simple mounting/unmounting operations<br>
&gt; by way of shortcut keys and incorporate some functionality into scripts,<br>
&gt; e.g. toggle mount status for drive X, mount-if-not-currently-mounted, drop<br>
&gt; all external mounts etc. Using umount and mount just doesn&#39;t seem to<br>
&gt; integrate well with thunar&#39;s mounting: manually mounting a drive that is<br>
&gt; registered as a drive in the places plugin seems to confuse it (directing<br>
&gt; thunar to the mount point results in a neverending load). Also, I can<br>
&gt; unmount whatever thunar has (auto)mounted using umount, but umount requires<br>
&gt; root privileges and the places plugin doesn&#39;t. So is there a way to do these<br>
&gt; operations by sending commands to thunar/places/HAL (as I said in the first<br>
&gt; question, I&#39;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>