Device Manager: Difference between revisions

From Alpine Linux
(added category)
(added the current recommended device manager as Include:Setup Device Manager)
Line 7: Line 7:


'''udev''' is not available in Alpine Linux, since it depends on systemd which is not available. Use [[eudev]] instead.
'''udev''' is not available in Alpine Linux, since it depends on systemd which is not available. Use [[eudev]] instead.
{{:Include:Setup Device Manager}}


== Do I need a device manager? ==
== Do I need a device manager? ==
Line 13: Line 14:


== 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]
* [https://wiki.gentoo.org/wiki/Device_file Gentoo Wiki - Device file]


[[Category:Device Manager]]
[[Category:Device Manager]]

Revision as of 03:56, 2 June 2025

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.

udev is not available in Alpine Linux, since it depends on systemd which is not available. Use eudev instead. Setting up eudev as device manager on a desktop system is recommended. The alpine-conf package provides setup-devd script to easily install and setup device managers.

To set up eudev, issue the command:

# setup-devd udev

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