11

I'm just beginning to dive into the internals of Linux, and I was wondering what the difference is between udev and the hal daemon. From what I gather, both seem to be responsible for managing hot pluggable devices... is hald used by udev to listen, or are they two separate things?

  • 4
    I could be wrong, but I think udev is newer and trying to take over. See the wikipedia entries on them. – Kevin Nov 2 '11 at 0:16
5

One important difference is that HAL is deprecated.

2

hald is responsible for providing a unified interface to the current hardware configuration of the machine. udev is responsible for managing the various operations required when the hardware configuration changes while the system is live.

  • 1
    From hal-spec: HAL can notify other peers on the message-bus when devices are added and removed as well as when properties on a device are changing. – Shawn J. Goff Nov 2 '11 at 1:43
1

HAL is responsible for Abstraction information a bout hard-ware devices. i mean it's not important that you knows all information a bout what you plug-in for example you are using some wireless card and the models of it is TP-link hal is responsible to make additional information shorter if you use "ifconfig" you saw wlan0 not TP-LINK

the udev is responsible to move devices in regular way and set some rules on them. for example you can tell udev: when i plug-in my blue flash you should copy my backups to flash

sorry if i have typos or relevment mistake have nice day.

  • Have you read Teddy's answer ? And that was five years ago... – don_crissti Jun 3 '16 at 23:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.