文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
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设备即可正确显示中文。
相关阅读 更多 +
排行榜 更多 +
卡通射击战场

卡通射击战场

飞行射击 下载
飞行汽车模拟器3d

飞行汽车模拟器3d

飞行射击 下载
弓箭手传奇魔法英雄免费版

弓箭手传奇魔法英雄免费版

休闲益智 下载