[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

HAL and custom mount options for vfat



I'd like to set mount options codepage=852,utf8 for my FAT based
removable devices. I tried to modify file

/usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi

(well, not a good idea, but I wasn't sure where to put my
custom definitions)

where I added following

<match key="volume.fstype" string="vfat">
<merge key="volume.policy.mount_option.utf8" type="bool">true</merge>
<merge key="volume.policy.mount_option.codepage=852"
type="bool">true</merge>
</match>

When I try to mount the device, these settings are ignored:

# mount
...
/dev/sdg1 on /media/HT203 type vfat
(rw,nosuid,nodev,shortname=lower,uid=1000)

What am I doing wrong? Thanks for any feedback,

Vit



Reply to: