Eudev/ru

For configurations not using,  is Gentoo's device file manager for the Linux kernel. It manages device nodes in and handles all user space actions when adding or removing devices. It is a fork of 's with the goal of obtaining better compatibility with existing software such as OpenRC, Upstart, older kernels, various toolchains, and anything else required by (but not well supported through). Configurations utilizing should not use it.

USE-флаги
Некоторые пакеты используют  USE-флаг для включения интеграции с.

Emerge
Необходимо использовать параметр oneshot, чтобы не записывать пакет world set.

RC-сервисы
The RC name is udev, not eudev. It needs to be registered in the sysinit runlevel.

From version 29 onward,   should also be added to the sysinit runlevel.

Миграция с udev на eudev
Migrating from udev 216 to eudev 1.10-r2 (March 2015) is straight forward:

In case the system uses multilib and, for example, has the  USE flag active against the older udev package, then don't forget to change it too:

Оставить классическое именование 'eth0'
Alternatively add  to the kernel command line, change the default policy or create a custom one.

An interesting resource related to the network naming is I don't like this, how do I disable this on the Freedesktop wiki.

Использование нового 'предсказуемого' именования
The new network interface naming convention is not the same so interfaces will need to be re-linked. Use as a link target for whatever interface names need to be added. Be sure to replace   in the commands below with the Ethernet interface names present on the system. It is possible to discover which interfaces exist by running the command:

Создайте символьную ссылку для существующих сетевых интерфейсов в каталогах и :

Add the script(s) to the default runlevel to have the interface(s) start automatically:

Использование udevadm
Запустите и смотрите что происходит:

Get device info using followed by the device path:

Получить путь устройства используя его имя:

Test an event run using followed by the device path for which an event is to be tested:

Чтобы получить список всех команд :

С udev 171-r10 на eudev 1.2-r1
Смотрите этот пост на Gentoo форумах.

Broken system switching from udev to eudev
Смотрите этот пост на Gentoo форумах.

Смотрите также

 * udev - The original udev.
 * Gentoo eudev Project - The official Gentoo project fork of udev.
 * Allow only known usb devices
 * Google Summer of Code/2016/Ideas/Eudev

Внешние ресурсы

 * Миграция с udev (171-r10) на eudev (1.2-r1) на форумах Gentoo.