Merge pull request #265 from vivien-consider-dropping-github/master

More wording fixes for the manual page for udev
This commit is contained in:
Boian Bonev 2023-10-01 20:53:06 +03:00 committed by GitHub
commit 2e4dd05900
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -737,19 +737,19 @@
<refsect1><title>Hardware Database Files</title>
<para>The hwdb files are read from the files located in the
system hwdb directory <filename>/usr/lib/udev/hwdb.d</filename>,
the volatile runtime directory <filename>/run/udev/hwdb.d</filename>,
the local administration directory <filename>/etc/udev/hwdb.d</filename>,
and any other directory in the <envar>UDEV_HWDB_PATH</envar> search path
variable. All hwdb files are collectively sorted and processed in
lexical order, regardless of the directories in which they live. However,
files with identical filenames replace each other. Files in
<filename>/etc</filename> have the highest priority, then files in
<filename>/run</filename>, <filename>/usr/lib</filename> and the ones in
<filename>/usr/lib</filename>, and the ones in
<envar>UDEV_HWDB_PATH</envar> comes last. Files with higher priority
take precedence over files with the same name and lower priority.
This order can be used to override a system-supplied hwdb file with a
local file if needed; a symlink in <filename>/etc</filename> with the
same name as a hwdb file in <filename>/usr/lib</filename>, pointing to
same name as a hwdb file in <filename>/usr/lib</filename> or
<envar>UDEV_HWDB_PATH</envar>, pointing to
<filename>/dev/null</filename>, disables the hwdb file entirely. hwdb
files must have the extension <filename>.hwdb</filename>; other
extensions are ignored.</para>