|
用hal自动加载系统上的其它vfat分区,结果发现加载时没有使用utf8选项,造成无法显示中文.我在网上找了一下,说是要把这些加到配置文件里面
- <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
- <deviceinfo version="0.2">
- <device>
- <match key="block.is_volume" bool="true">
- <match key="volume.fsusage" string="filesystem">
- <match key="volume.fstype" string="vfat">
- <merge key="volume.policy.mount_option.fmask=111" type="bool">true</merge>
- <merge key="volume.policy.mount_option.dmask=0" type="bool">true</merge>
- <merge key="volume.policy.mount_option.users" type="bool">true</merge>
- <merge key="volume.policy.mount_option.utf8" type="bool">true</merge>
- </match>
- </match>
- </match>
- </device>
- </deviceinfo>
复制代码
但是我不知道archlinux应该如何改?archlinux的hal配置目录如下
- hal /usr/share/hal/fdi/policy/
- hal /usr/share/hal/fdi/policy/10osvendor/
- hal /usr/share/hal/fdi/policy/10osvendor/10-keyboard-policy.fdi
- hal /usr/share/hal/fdi/policy/10osvendor/10-laptop-panel-mgmt-policy.fdi
- hal /usr/share/hal/fdi/policy/10osvendor/10-power-mgmt-policy.fdi
- hal /usr/share/hal/fdi/policy/10osvendor/10-toshiba-buttons.fdi
- hal /usr/share/hal/fdi/policy/10osvendor/15-storage-luks.fdi
- hal /usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi
- hal /usr/share/hal/fdi/policy/20thirdparty/
复制代码
我试着将上面的配置放到20thirdparty里面,可是没有起作用,放到10osvendor里面,命名为25-vfat.fdi也是不行.
请教各位是如何做到的? |
|