<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Mar 22, 2006, at 9:47 AM, Chakkaradeep C C wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Hi all,<BR><BR><DIV><SPAN class="gmail_quote">On 3/22/06, <B class="gmail_sendername">John Galloway</B> &lt;<A href="mailto:jrg@dbengines.com">jrg@dbengines.com</A>&gt; wrote:</SPAN><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <DIV style="direction: ltr;">Unless I'm completely confused about all this (always a possibility)<DIV>HAL doesn't actually mount devices at all.  it only produces a record</DIV><DIV>for the device that it can send out to processes (like say gnome-volume-manager) </DIV><DIV>that are interested in device adds/removes.  Gnome-volume-manager calls</DIV><DIV>pmount-hal which uses the hal data you have merged into the record for</DIV><DIV>this new usb device to mount them (if you have its configure params </DIV><DIV>set to do so of course, use gnome-volume-properties or GConf-editor).</DIV></DIV></BLOCKQUOTE><DIV><BR>thanks John for the reply :). Ok, so you  mean to say, that i can write a python dbus service,listen to HAL add,remove devices and grab those signals and achieve what i want? <BR></DIV></DIV></BLOCKQUOTE>yes you could do that.  Or just use gnome-volume-manager to do so for you.</DIV><DIV>does Yoper include the gnome desktop?  (gnome-volume-manager doesn't</DIV><DIV>itself have a UI component, it gets its settings from GConf, its just a daemon).</DIV><DIV> -jrg<BR><BLOCKQUOTE type="cite"><DIV><DIV></DIV><BR><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><DIV style="direction: ltr;"><DIV>  -jrg<BR><DIV></DIV><DIV style="direction: ltr;"> <SPAN class="e" id="q_10a23048ee020e1d_1"><DIV>On Mar 22, 2006, at 4:39 AM, Chakkaradeep C C wrote:</DIV><BR></SPAN></DIV><DIV style="direction: ltr;"><BLOCKQUOTE type="cite"></BLOCKQUOTE></DIV><DIV style="direction: ltr;"> <SPAN class="e" id="q_10a23048ee020e1d_3">hi all,<BR><BR>in my Yoper Distro, i have <SPAN style="font-weight: bold;">/usr/share/hal/fdi/policy/10osvendor/10-storage-policy.fdi</SPAN> where i see what should HAL do when it detects the devices. <BR><BR>In yoper, the usb gets detected but it does not get mounted and doesnt notify to the user. so , i thought that HAL should be informed where to mount, so i tried adding these lines to <SPAN style="font-weight: bold;"> /usr/share/hal/fdi/policy/10osvendor/10-storage-policy.fdi</SPAN> ,<BR><BR>****************<BR><SPAN style="font-weight: bold;">    &lt;match key="storage.bus" string="usb"&gt; <BR>        &lt;merge key=" storage.policy.should_mount" type="bool"&gt;true&lt;/merge&gt;<BR>        &lt;merge key="volume.policy.desired_mount_point" type="string"&gt;/media/usb&lt;/merge&gt; <BR>        &lt;merge key=" volume.policy.mount_filesystem" type="string"&gt;vfat&lt;/media&gt;<BR>        &lt;merge key="volume.policy.mount_option.fscontext=system_u:object_r:removable_t" type="bool"&gt;true&lt;/merge&gt; <BR>        &lt;merge key="volume.policy.mount_option.noatime" type="bool"&gt;true&lt;/merge&gt;<BR>        &lt;merge key="volume.policy.mount_option.sync" type="bool"&gt;true&lt;/merge&gt; <BR>        &lt;merge key="volume.policy.should_mount" type="bool"&gt;true&lt;/merge&gt;<BR>      &lt;/match&gt;<BR><SPAN style="font-weight: bold;"><BR></SPAN></SPAN>****************<BR><BR>i restarted hal service, plugged in my usb device, but it doesnt get mounted..... <BR><BR>i would be happy if somebody can help me....<BR><BR>thanks in advance....<BR><BR>-- <BR>Regards,<BR>Chaks,<BR>Yoper Ltd.<BR><A href="http://www.yoper.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.yoper.com</A><BR><A href="http://www.yoper.com/forum" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.yoper.com/forum</A><BR>--<BR>The main aim of communication is clarity and simplicity. Simplicity means focussed effort. </SPAN></DIV><DIV style="direction: ltr;"><DIV style="margin: 0px;">_______________________________________________</DIV><DIV style="margin: 0px;">hal mailing list</DIV><DIV style="margin: 0px;"><A href="mailto:hal@lists.freedesktop.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> hal@lists.freedesktop.org</A></DIV><DIV style="margin: 0px;"><A href="http://lists.freedesktop.org/mailman/listinfo/hal" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.freedesktop.org/mailman/listinfo/hal </A></DIV> </DIV><BR></DIV> </DIV></BLOCKQUOTE></DIV><BR><BR clear="all"><BR>-- <BR>Regards,<BR>Chaks,<BR>Yoper Ltd.<BR><A href="http://www.yoper.com">http://www.yoper.com</A><BR><A href="http://www.yoper.com/forum">http://www.yoper.com/forum</A><BR> --<BR>The main aim of communication is clarity and simplicity. Simplicity means focussed effort.</BLOCKQUOTE></DIV><BR></BODY></HTML>