Hi all,<br><br><div><span class="gmail_quote">On 3/22/06, <b class="gmail_sendername">John Galloway</b> <<a href="mailto:jrg@dbengines.com">jrg@dbengines.com</a>> 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><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;"> <match key="storage.bus" string="usb"> <br> <merge key="
storage.policy.should_mount" type="bool">true</merge><br> <merge key="volume.policy.desired_mount_point" type="string">/media/usb</merge> <br> <merge key="
volume.policy.mount_filesystem" type="string">vfat</media><br> <merge key="volume.policy.mount_option.fscontext=system_u:object_r:removable_t" type="bool">true</merge>
<br> <merge key="volume.policy.mount_option.noatime" type="bool">true</merge><br> <merge key="volume.policy.mount_option.sync" type="bool">true</merge>
<br> <merge key="volume.policy.should_mount" type="bool">true</merge><br> </match><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.