Regarding USB
Chakkaradeep C C
chaks.yoper at gmail.com
Wed Mar 22 09:47:48 PST 2006
Hi all,
On 3/22/06, John Galloway <jrg at dbengines.com> wrote:
>
> 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).
>
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?
-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
>
>
--
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/1f657640/attachment.html
More information about the hal
mailing list