Mdevd
![]() This is almost complete but needs testing that it works when followed as a step by step guide. |
Mdevd is a device manager that is compatible with mdev. For configuration and other things please look at the mdev article.
Installation
The easy way to setup mdevd is throught the setup script. For custom installation see the manually section. Note that this is only recommended for advanced users.
Setup Script
The alpine-conf package privides setup-devd to easily install and setup device managers.
Install alpine-conf if not already.
# apk add alpine-conf
Setup mdevd.
# setup-devd mdevd
Manually
You first need to install the mdevd package.
# apk add mdevd
If you already have a device manager installed you need to remove it before you start mdevd.
Then enable the services.
# rc-update add mdevd sysinit # rc-update add mdevd-init sysinit # rc-update add hwdrivers sysinit
If you are not running in a chroot you will also want to start mdevd.
# rc-service mdevd start # rc-service hwdrivers start
If /dev hasn't been initialized by another device manager you need to do that manually.
# rc-service mdevd-init start
Remove
![](/images/d/d8/Tango-dialog-warning.png)
To remove mdevd you need to stop it first. This step can be skipped if you are running in a chroot.
# rc-service hwdrivers stop # rc-service mdevd stop
Then disable the services.
# rc-update delete hwdrivers sysinit # rc-update delete mdevd-init sysinit # rc-update delete mdevd default
You might also want to uninstall the mdevd package since they are not used anymore.
# apk del mdevd
See also
+ mdev