文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>CentOS4.3 UTF8编码下hal自动挂载USB设备乱码问题..

CentOS4.3 UTF8编码下hal自动挂载USB设备乱码问题..

时间:2006-05-13  来源:JJCH

CentOS4.3 UTF8编码下hal自动挂载USB设备乱码问题解决方案:

以root用户登录,执行
vi /usr/share/hal/fdi/90defaultpolicy/storage-policy.fdi

  <device>
    <match key="info.udi" string="/org/freedesktop/Hal/devices/computer">
      <merge key="storage.policy.default.mount_root" type="string">/media</merge>
      <merge key="storage.policy.default.use_managed_keyword" type="bool">true</merge>
      <merge key="storage.policy.default.managed_keyword.primary" type="string">managed</merge>
      <merge key="storage.policy.default.managed_keyword.secondary"
       ...
       ...
    </match>
  </device>
的<match>...</match>中添加
      <merge key="storage.policy.default.mount_option.utf8" type="bool">true</merge>
保存。
然后执行/etc/init.d/haldaemon restart,再插上USB设备即可正确显示中文。
相关阅读 更多 +
排行榜 更多 +
城市公交模拟器2019

城市公交模拟器2019

模拟经营 下载
假面骑士魂骑模拟器

假面骑士魂骑模拟器

模拟经营 下载
市政工程模拟器

市政工程模拟器

模拟经营 下载