Category:Device Manager: Difference between revisions

From Alpine Linux
(strongly recommend using device manager)
(link manually creating nodes)
Line 11: Line 11:
A device manager is strongly recommended unless you know what you are doing. It is needed if the devices (like disk or keyboard) change after the system is booted. If this is not needed at all you might consider removing the device manager.
A device manager is strongly recommended unless you know what you are doing. It is needed if the devices (like disk or keyboard) change after the system is booted. If this is not needed at all you might consider removing the device manager.


Device files can also be manually added using <code>mknod</code>. See <code>[https://man.archlinux.org/man/mknod.1 man 1 mknod]</code> and <code>[https://man.archlinux.org/man/partprobe.8 man 8 partprobe]</code>.
Device files can also be manually added using <code>mknod</code>. See <code>[https://man.archlinux.org/man/mknod.1 man 1 mknod]</code> and <code>[https://man.archlinux.org/man/partprobe.8 man 8 partprobe]</code> and [[Alpine_Linux_in_a_chroot#Method_1.b_Manual_way:_Creating_needed_nodes|manually create nodes]].


== See Also ==
== See Also ==
* [[Mdev#libudev_replacement|libudev replacement]]
* [[Mdev#libudev_replacement|libudev replacement]]

Revision as of 13:10, 29 September 2023

A device manager is a program that manages device nodes in the /dev directory. It is responsible for things hot-plugging devices such as usb-sticks.

Alpine linux has several device managers available:

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

Do I need a device manager?

This material is work-in-progress ...

this needs to be tested on actual hardware
(Last edited by Sertonix on 29 Sep 2023.)

A device manager is strongly recommended unless you know what you are doing. It is needed if the devices (like disk or keyboard) change after the system is booted. If this is not needed at all you might consider removing the device manager.

Device files can also be manually added using mknod. See man 1 mknod and man 8 partprobe and manually create nodes.

See Also

Pages in category "Device Manager"

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