<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">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>  -jrg<BR><DIV><DIV>On Mar 22, 2006, at 4:39 AM, Chakkaradeep C C wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">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">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.<DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">hal mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:hal@lists.freedesktop.org">hal@lists.freedesktop.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.freedesktop.org/mailman/listinfo/hal">http://lists.freedesktop.org/mailman/listinfo/hal</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>