hald进程 linux,centos hald 进程详解

hald进程 linux,centos hald 进程详解hald 是硬件访问层进程 运行的几个 hald 进程是为了跟踪系统安装的硬件 包括 usb 设备和热插拔设备的变化 引用原文如下 The Hardware Access Layer Daemon runs several processes in order to keep track of what hardware is

大家好,我是讯享网,很高兴认识大家。

hald 是硬件访问层进程,运行的几个hald进程是为了跟踪系统安装的硬件,包括usb设备和热插拔设备的变化 。

引用原文如下 :

The  – Hardware Access Layer Daemon – runs several processes in order to keep track of what hardware is installed on your system. This includes polling USB Drives and ‘hot-swap’ devices to check for changes along with a host of other tasks.

You might see it running on your system as follows:

2474 ?        S      0:00  \_ hald-runner

2481 ?        S      0:00      \_ hald-addon-acpi: listening on acpid socket /var/run/acpid.socket

2487 ?        S      0:00      \_ hald-addon-keyboard: listening on /dev/input/event0

2495 ?        S     41:47      \_ hald-addon-storage: polling /dev/hdc

If your system is static and the devices do not change, you can actually disable this service using a policy entry.

Create a file in your policy directory, for example /etc/hal/fdi/policy/99-custom.fdi. Add the text:

version="1.0" encoding="UTF-8"?>


讯享网

version="0.2">

>

key="storage.removable" bool="true">

key="info.addons" type="strlist">hald-addon-storage>

>

>

>

Save and reload the hald using /etc/init.d/haldaemon restart.

And you will find that service no longer is polling your hardware.

Of course to turn it back on, remove that policy entry and restart the haldaemon again, it will be back in service.

- See more at:

小讯
上一篇 2025-01-18 08:20
下一篇 2025-01-12 14:28

相关推荐

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/85515.html