|
|
| (8 intermediate revisions by one other 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 hot-plugging devices such as usb-sticks.
| |
|
| |
|
| Alpine linux has several device managers available:
| |
| * '''[[mdev]]''' (from {{pkg|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? ==
| |
|
| |
| {{draft|this needs to be tested on actual hardware}}
| |
| In general a device manager is recommended unless you know what you are doing.
| |
| A device manager 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>.
| |
|
| |
| == See Also ==
| |
| * [[Mdev#libudev_replacement|libudev replacement]]
| |