Category:Device Manager: Difference between revisions

From Alpine Linux
(add todo for "Do I need a device manager?")
(mention that udev is not available)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
A device manager is a program that manages [https://en.wikipedia.org/wiki/Device_node device nodes] in the [https://en.wikipedia.org/wiki/Devfs /dev] directory. It is responsible for things like hot-plugging usb devices.
A device manager is a program that manages [https://en.wikipedia.org/wiki/Device_file device files] in the [https://en.wikipedia.org/wiki/Devfs /dev] directory. Permissions and changes in {{path|/dev}} are handled by it.


Alpine linux has several device managers available:
Alpine linux has several device managers available:
* '''[[mdev]]''' (from {{pkg|busybox}}) is the default.
* '''[[mdev]]''' (from {{pkg|busybox}}) is the default.
* '''[[mdevd]]''' is standalone, compatible with mdev, more efficient.
* '''[[mdevd]]''' is standalone, compatible with mdev, more efficient.
* '''[[eudev]]''' is the complex, full-featured one.
* '''[[eudev]]''' is a complex, full-featured one.
 
Not available is udev since it depends on systemd which is not available on alpine. Use [[eudev]] instead.


== Do I need a device manager? ==
== Do I need a device manager? ==
{{todo}}
 
'''Yes!''' Even for very specific use cases you would most likely just create a custom device manager.


== See Also ==
== See Also ==
* [[Mdev#libudev_replacement|libudev replacement]]
* [[Mdev#libudev_replacement|libudev replacement]]
* [https://wiki.gentoo.org/wiki/Device_file Gentoo Wiki - Device file]

Latest revision as of 23:17, 10 November 2023

A device manager is a program that manages device files in the /dev directory. Permissions and changes in /dev are handled by it.

Alpine linux has several device managers available:

  • mdev (from busybox) is the default.
  • mdevd is standalone, compatible with mdev, more efficient.
  • eudev is a complex, full-featured one.

Not available is udev since it depends on systemd which is not available on alpine. Use eudev instead.

Do I need a device manager?

Yes! Even for very specific use cases you would most likely just create a custom device manager.

See Also

Pages in category "Device Manager"

The following 3 pages are in this category, out of 3 total.