Eudev: Difference between revisions

From Alpine Linux
(add page draft)
 
(finished first writeup)
Line 1: Line 1:
{{Draft|Finish similar to [[mdev]] page}}
{{Draft|This is almost complete but needs testing that it works when followed as a step by step guide.}}


== eudev ==
== eudev ==
Eudev is a [[:Category:Device_Manager|device manager]] that provides a drop in replacement for systemd udev. It is therefor recommended for full blown desktop environments.


== Installation ==
== Installation ==
Line 14: Line 16:
{{cmd|# apk add {{pkg|alpine-conf}}}}
{{cmd|# apk add {{pkg|alpine-conf}}}}
Setup eudev.
Setup eudev.
{{cmd|# setup-devd eudev}}
{{cmd|# setup-devd udev}}


=== Manually ===
=== Manually ===


== Disable ==
You need to install eudev itself and the udev services.
{{cmd|# apk add eudev udev-init-scripts}}
 
 
If you already have a device manager installed you need to remove it before you start eudev.
 
 
Then enable the services.
{{cmd|<nowiki># rc-update add udev sysinit
# rc-update add udev-trigger sysinit
# rc-update add udev-settle sysinit
# rc-update add udev-postmount default
</nowiki>}}
 
If you are not running in a chroot you will also want to start eudev.
{{cmd|<nowiki># rc-service udev start
# rc-service udev-trigger start
# rc-service udev-settle start
# rc-service udev-postmount start
</nowiki>}}
 
== Remove ==
 
{{warning|Disabling eudev without setting up a different device manager may cause programms to break}}
 
To remove eudev you need to stop it
{{cmd|<nowiki># rc-service udev stop
# rc-service udev-postmount stop
</nowiki>}}
 
Then enable the services.
{{cmd|<nowiki># rc-update delete udev sysinit
# rc-update delete udev-trigger sysinit
# rc-update delete udev-settle sysinit
# rc-update delete udev-postmount default
</nowiki>}}
 
 
You might also want to uninstall the packages since they are not used anymore.
{{cmd|# apk del eudev udev-init-scripts}}


== See Also ==
== See Also ==
* [[mdev]]
* [[:Category:Device_Manager|Device Managers]]
* [https://wiki.gentoo.org/wiki/Eudev Gentoo wiki eudev]
* [https://wiki.gentoo.org/wiki/Eudev Gentoo wiki eudev]
* [https://wiki.archlinux.org/title/Udev Archwiki udev]
* [https://wiki.archlinux.org/title/Udev Archwiki udev]

Revision as of 11:31, 21 September 2023

This material is work-in-progress ...

This is almost complete but needs testing that it works when followed as a step by step guide.
(Last edited by Sertonix on 21 Sep 2023.)

eudev

Eudev is a device manager that provides a drop in replacement for systemd udev. It is therefor recommended for full blown desktop environments.

Installation

The easy way to setup eudev 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 eudev.

# setup-devd udev

Manually

You need to install eudev itself and the udev services.

# apk add eudev udev-init-scripts


If you already have a device manager installed you need to remove it before you start eudev.


Then enable the services.

# rc-update add udev sysinit # rc-update add udev-trigger sysinit # rc-update add udev-settle sysinit # rc-update add udev-postmount default

If you are not running in a chroot you will also want to start eudev.

# rc-service udev start # rc-service udev-trigger start # rc-service udev-settle start # rc-service udev-postmount start

Remove

Warning: Disabling eudev without setting up a different device manager may cause programms to break


To remove eudev you need to stop it

# rc-service udev stop # rc-service udev-postmount stop

Then enable the services.

# rc-update delete udev sysinit # rc-update delete udev-trigger sysinit # rc-update delete udev-settle sysinit # rc-update delete udev-postmount default


You might also want to uninstall the packages since they are not used anymore.

# apk del eudev udev-init-scripts

See Also