[PATCH] string options in *.policy.mount_option

Anton Farygin rider at altlinux.com
Thu Sep 1 23:05:14 PDT 2005


Hello,

On Thu, 01 Sep 2005 16:54:20 -0400, David Zeuthen wrote:

> 1. You can do this already, for example
> 
>     <merge key="volume.policy.mount_option.umask=0002"
>     type="bool">true</merge>
> 
>     should do the trick.
> 
>     See the spec for details:
>     http://cvs.freedesktop.org/*checkout*/hal/hal/doc/spec/hal-spec.html#device-properties-storage-policy-default

David, i did these changes for copy_property:

<match key="@block.storage_device:storage.policy.should_mount" bool="true">
       <merge key="volume.policy.mount_filesystem" type="string">subfs</merge>
       <merge key="volume.policy.mount_option.fs" type="copy_property">volume.fstype</merge>
</match>

How much i know, the current hal spec does not give an opportunity
to use copy_property for keys adress.

Rgds,
Anton




More information about the hal mailing list