Regarding USB
John Galloway
jrg at dbengines.com
Wed Mar 22 09:30:41 PST 2006
Unless I'm completely confused about all this (always a possibility)
HAL doesn't actually mount devices at all. it only produces a record
for the device that it can send out to processes (like say gnome-
volume-manager)
that are interested in device adds/removes. Gnome-volume-manager calls
pmount-hal which uses the hal data you have merged into the record for
this new usb device to mount them (if you have its configure params
set to do so of course, use gnome-volume-properties or GConf-editor).
-jrg
On Mar 22, 2006, at 4:39 AM, Chakkaradeep C C wrote:
> hi all,
>
> in my Yoper Distro, i have /usr/share/hal/fdi/policy/10osvendor/10-
> storage-policy.fdi where i see what should HAL do when it detects
> the devices.
>
> 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 /usr/
> share/hal/fdi/policy/10osvendor/10-storage-policy.fdi ,
>
> ****************
> <match key="storage.bus" string="usb">
> <merge key="storage.policy.should_mount" type="bool">true</
> merge>
> <merge key="volume.policy.desired_mount_point"
> type="string">/media/usb</merge>
> <merge key="volume.policy.mount_filesystem"
> type="string">vfat</media>
> <merge
> key="volume.policy.mount_option.fscontext=system_u:object_r:removable_
> t" type="bool">true</merge>
> <merge key="volume.policy.mount_option.noatime"
> type="bool">true</merge>
> <merge key="volume.policy.mount_option.sync"
> type="bool">true</merge>
> <merge key="volume.policy.should_mount" type="bool">true</
> merge>
> </match>
>
> ****************
>
> i restarted hal service, plugged in my usb device, but it doesnt
> get mounted.....
>
> i would be happy if somebody can help me....
>
> thanks in advance....
>
> --
> Regards,
> Chaks,
> Yoper Ltd.
> http://www.yoper.com
> http://www.yoper.com/forum
> --
> The main aim of communication is clarity and simplicity. Simplicity
> means focussed effort.
> _______________________________________________
> hal mailing list
> hal at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/hal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/hal/attachments/20060322/fb877965/attachment.html
More information about the hal
mailing list