You are not logged in.

#1 2008-06-05 05:22:26

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 532

Hal messed up my policy?

Hi there,

Latest upgrade got me to fix some policy to mount USB-HD formatted on ntfs.
I found the solution, sorry this is Italian [url]http://www.stenoweb.it/node/129 only[/url]

I english translation you should write a new policy in order to mount the external Hard Disk whit ntfs-3g (which let us write/read operations).

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<!--
    Montaggio unità esterne NTFS in lettura/scrittura con ntfs-3g.
    /usr/share/hal/fdi/policy/10osvendor/
-->
<deviceinfo version="0.2">
  <device>
    <match key="volume.fstype" string="ntfs">
      <match key="@block.storage_device:storage.hotpluggable" bool="true">
          <merge key="volume.fstype" type="string">ntfs-3g</merge>
          <merge key="volume.policy.mount_filesystem" type="string">ntfs-3g</merge>
          <append key="volume.mount.valid_options" type="strlist">locale=</append>
      </match>
    </match>
  </device>
</deviceinfo>

and save it as /usr/share/hal/fdi/policy/10osvendor/20-ntfs-config-write-policy.fdi
after restart hal

 /etc/rc.d/hal restart

I'd like to point out to the HAL packager to have a care of this. I supposed I got the policy that I has modified overwritten by last update, without any backup sad

F


do it good first, it will be faster than do it twice

Offline

#2 2008-06-05 09:33:42

sirocco
Member
Registered: 2008-03-10
Posts: 127

Re: Hal messed up my policy?

http://wiki.archlinux.org/index.php/HAL
Policies
NOTE: this is deprecated from hal => 0.5.10

Offline

#3 2008-06-05 16:06:18

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 532

Re: Hal messed up my policy?

I've noted that deprecation and I see that even the wiki had tried a chunk of patches.
Mine went fine when I putted in /usr/share/hal/fdi/policy/10osvendor/13-myrule.fdi
This solved my problem, but honestly I saw a lot of rules HAL's laying around.
Want it not be a help if hwdetect will purge those unnecessary rules?

F


do it good first, it will be faster than do it twice

Offline

Board footer

Powered by FluxBB