<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">hi,<br>can anyone tell me where is the code written for finding the moint point(point where the device needs to b mounted). for eg /media/usbdisk?
</blockquote><div><br>the moutpoints are not hard coded as they are different for different devices<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;">
is it written in hald or udev .</blockquote><div><br>they are stored in fdi files...<br>here is an e.g.<br><p>
suppose u wanna change the degfault position where ur device is mounted
from the default /media/usbdisk to /media/celunite, it can be done as
follows. it can be done by modifying
/etc/hal/fdi/policy/preferences.fdi </p><pre><device><br> <match key="info.udi" string="/org/freedesktop/Hal/devices/volume_uuid_E265_5E6A"><br> <merge key="volume.policy.desired_mount_point
" type="string">celeunite</merge><br> <merge key="volume.policy.mount_option.iocharset=iso8859-15" type="bool">true</merge><br> <merge key="volume.policy.mount_option.sync
" type="bool">true</merge><br> </match><br> </device><br><br></pre>i guess that should work...<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;">
thanks,<br>samata<br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Regards<br> ARviND AyyangaR<br><br> "Success is not measured by what a man accomplishes, but by the opposition he has encountered, and the courage with which he maintained the struggle against overwhelming odds."