资源占用有点,为了节约可以关闭
下面方法redhat5.4测试可用
/bin/vi /etc/hal/fdi/policy/99-custom.fdi
- <?xml version="1.0" encoding="UTF-8"?>
-
-
<deviceinfo version="0.2">
-
<device>
-
<match key="storage.removable" bool="true">
-
<remove key="info.addons" type="strlist">hald-addon-storage</remove>
-
</match>
-
</device>
-
</deviceinfo>
- ~
改完重启haldaemon进程
/etc/init.d/haldaemon restart