Regarding USB

Chakkaradeep C C chaks.yoper at gmail.com
Wed Mar 22 04:39:50 PST 2006


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/hal/attachments/20060322/2ecaa0aa/attachment.htm


More information about the hal mailing list