What is a device manager in the context of Linux? That is, what is it that a device manager actually does?
https://en.wikipedia.org/wiki/Udev says
udev (userspace /dev) is a device manager for the Linux kernel.
What does that mean?
Wikipedia continues:
As the successor of devfsd and hotplug, udev primarily manages device nodes in the
/dev
directory. At the same time, udev also handles all user space events raised when hardware devices are added into the system or removed from it, including firmware loading as required by certain devices.
This sentence doesn't make any sense to me.
Firstly, what does "manages device nodes in the /dev
directory" mean?
It's a piece of software that automatically enable or disable device drivers. The "automatic" part is usually done by detecting that a new device has been attached to the machine. In addition to activating device drivers, it also automatically configures the device (for example, it automatically mounts a USB drive when it detects it, instead of you needing to open a disk manager or run a command to mount the drive).
"automatically enable or disable device drivers" for what purpose? so the kernel can talk to the devices or the program? so the devices can operate in user space or kernel space?