您的位置:首页 > 其它

ivman does not mount usb hard drives

2013-09-26 09:04 246 查看
Bydefault ivman does not mount usb hard drives, because they are notconsidered "removeable". I believe that this is to be fixed in a futureversion of ivman, but for now it will not mount. This can be fixed bycreating "/etc/hal/fdi/policy/mountpolicies.fdi" and put this in it:<?xml version="1.0" encoding="ISO-8859-1"?><!-- -*- SGML -*- --><deviceinfo version="0.2"><device><match key="info.category" string="storage"><match key="storage.hotpluggable" bool="true"><merge key="storage.policy.should_mount" type="bool">true</merge></match></match></device></deviceinfo>Edit /etc/ivman/IvmConfigBase.xml, add the following before the
</ivm:BaseConfig>
line:
<ivm:Option name="mountcommand" value="pmount -u 002 '$hal.block.device$' '$hal.volume.label$'" />
<ivm:Option name="umountcommand" value="pumount '$hal.block.device$'" />

Check if HAL detects

Run
hal-device
or
lshal -m
to obtain debugging information on what hal/ivman sees.

Run Ivman in debug mode

Instead of running
/etc/rc.d/ivman start
, run
ivman -d --nofork
to view debugging output.
阅读(266) | 评论(0) | 转发(0) |0上一篇:ubuntu本地源创建下一篇:让 ubuntu 也支持 gb-2312相关热门文章linux 常见服务端口【ROOTFS搭建】busybox的httpd...什么是shelllinux socket的bug??linux的线程是否受到了保护?...关于enqueue 的dump 文件帮看...tar  --newer 05/12/2013 这个...请教nginx代理tomcat作为子目... LDAP安装 bus error是什么问...select语句不修改sql,如何优...给主人留下些什么吧!~~评论热议
                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐