65e17b2f2f
Introduce UDEV_HWDB_PATH, containing a colon-separated path with hwdb files in it. The whole path is searched, in addition to the system locations, when searching for hwdb files. Due to how conf_files_list_strv is implemented, as a thin wrapper around the internal function, it is easy to also implement a variant accepting a search path in the same way. Since the internal function expects an allocated array of allocated strings, the path scanning is done in 2 steps, to first get the array length, and then duplicate the items. It is not possible to use strtok(_r) here because it would work for only 1 pass. * src/shared/conf-files.c (conf_files_list_follow_path): New function. (conf_files_list_strv_path): Use it here. * src/shared/conf-files.h: Export the signature for the _path variant. * src/udev/udevadm-hwdb.c (list_conf_file_path): New function replacing conf_file_dirs. (help): Document the search path for hwdb files. (adm_hwdb): Use list_conf_file_path and conf_files_list_strv_path. * man/udevadm.xml: Mention UDEV_HWDB_PATH. * man/udev.xml: Same. * man/udevadm.8: Regenerate. * man/udev.7: Same. |
||
---|---|---|
.github/workflows | ||
hwdb | ||
man | ||
rule_generator | ||
rules | ||
src | ||
test | ||
.gitignore | ||
.travis.yml | ||
autogen.sh | ||
BUILD | ||
configure.ac | ||
CONTRIBUTING | ||
COPYING | ||
LEGACY | ||
Makefile.am | ||
NOTES | ||
README.md |
eudev is a standalone dynamic and persistent device naming support (aka userspace devfs) daemon that runs independently from the init system. eudev strives to remain init system and linux distribution neutral. It is currently used as the devfs manager for more than a dozen different linux distributions.
This git repo is a fork of git://anongit.freedesktop.org/systemd/systemd with the aim of isolating udev from any particular flavor of system initialization. In this case, the isolation is from systemd.
This is a project started by Gentoo developers and testing was initially being done mostly on OpenRC. We welcome contribution from others using a variety of system initializations to ensure eudev remains system initialization and distribution neutral. On 2021-08-20 Gentoo decided to abandon eudev and a new project was established on 2021-09-14 by Alpine, Devuan and Gentoo contributors (alphabetical order).
Homepage: https://github.com/eudev-project/eudev
Tarballs of releases: https://github.com/eudev-project/eudev/releases
Old releases (archive): http://dev.gentoo.org/~blueness/eudev/
The eudev community gathers on Libera.Chat:
ircs://irc.libera.chat:6697/#eudev
https://web.libera.chat/#eudev
Active team members (alphabetical order by last name):
Arsen Asenović (Arsen) <arsen@aarsen.me>
Luca Barbato (lu_zero) <lu_zero@gentoo.org>
Anthony G. Basile (blueness) <blueness@gentoo.org>
Boian Bonev (bb|hcb) <boian@bonev.com>
Ariadne Conill (Ariadne) <ariadne@dereferenced.org>
Emeritus team members (alphabetical order by last name):
Francisco Izquierdo (klondike) <klondike@gentoo.org>
Ian Stakenvicius (axs) <axs@gentoo.org>
Matthew Thode (prometheanfire) <prometheanfire@gentoo.org>
Tony Vroon (chainsaw) <tony@linx.net>
Richard Yao (ryao) <ryao@gentoo.org>