| 1 |
<?xml version='1.0'?> |
| 2 |
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
| 3 |
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> |
| 4 |
<!-- SPDX-License-Identifier: LGPL-2.1-or-later --> |
| 5 |
|
| 6 |
<refentry id="systemd-hwdb" conditional="ENABLE_HWDB" |
| 7 |
xmlns:xi="http://www.w3.org/2001/XInclude"> |
| 8 |
|
| 9 |
<refentryinfo> |
| 10 |
<title>systemd-hwdb</title> |
| 11 |
<productname>systemd</productname> |
| 12 |
</refentryinfo> |
| 13 |
|
| 14 |
<refmeta> |
| 15 |
<refentrytitle>systemd-hwdb</refentrytitle> |
| 16 |
<manvolnum>8</manvolnum> |
| 17 |
</refmeta> |
| 18 |
|
| 19 |
<refnamediv> |
| 20 |
<refname>systemd-hwdb</refname><refpurpose>hardware database management tool</refpurpose> |
| 21 |
</refnamediv> |
| 22 |
|
| 23 |
<refsynopsisdiv> |
| 24 |
<cmdsynopsis> |
| 25 |
<command>systemd-hwdb <optional>options</optional> update</command> |
| 26 |
</cmdsynopsis> |
| 27 |
<cmdsynopsis> |
| 28 |
<command>systemd-hwdb <optional>options</optional> query <replaceable>modalias</replaceable></command> |
| 29 |
</cmdsynopsis> |
| 30 |
</refsynopsisdiv> |
| 31 |
|
| 32 |
<refsect1><title>Description</title> |
| 33 |
<para><command>systemd-hwdb</command> expects a command and command |
| 34 |
specific arguments. It manages the binary hardware database.</para> |
| 35 |
</refsect1> |
| 36 |
|
| 37 |
<refsect1><title>Options</title> |
| 38 |
<variablelist> |
| 39 |
<varlistentry> |
| 40 |
<term><option>--usr</option></term> |
| 41 |
<listitem> |
| 42 |
<para>Generate in /usr/lib/udev instead of /etc/udev.</para> |
| 43 |
|
| 44 |
<xi:include href="version-info.xml" xpointer="v219"/> |
| 45 |
</listitem> |
| 46 |
</varlistentry> |
| 47 |
<varlistentry> |
| 48 |
<term><option>-r</option></term> |
| 49 |
<term><option>--root=<replaceable>PATH</replaceable></option></term> |
| 50 |
<listitem> |
| 51 |
<para>Alternate root path in the filesystem.</para> |
| 52 |
|
| 53 |
<xi:include href="version-info.xml" xpointer="v219"/> |
| 54 |
</listitem> |
| 55 |
</varlistentry> |
| 56 |
<varlistentry> |
| 57 |
<term><option>-s</option></term> |
| 58 |
<term><option>--strict</option></term> |
| 59 |
<listitem> |
| 60 |
<para>When updating, return non-zero exit value on any parsing error.</para> |
| 61 |
|
| 62 |
<xi:include href="version-info.xml" xpointer="v239"/> |
| 63 |
</listitem> |
| 64 |
</varlistentry> |
| 65 |
|
| 66 |
<xi:include href="standard-options.xml" xpointer="help" /> |
| 67 |
</variablelist> |
| 68 |
|
| 69 |
<refsect2><title>systemd-hwdb |
| 70 |
<optional><replaceable>options</replaceable></optional> |
| 71 |
update</title> |
| 72 |
<para>Update the binary database.</para> |
| 73 |
</refsect2> |
| 74 |
|
| 75 |
<refsect2><title>systemd-hwdb |
| 76 |
<optional><replaceable>options</replaceable></optional> |
| 77 |
query |
| 78 |
<replaceable>MODALIAS</replaceable> |
| 79 |
</title> |
| 80 |
<para>Query database and print result.</para> |
| 81 |
</refsect2> |
| 82 |
</refsect1> |
| 83 |
|
| 84 |
<refsect1> |
| 85 |
<title>See Also</title> |
| 86 |
<para> |
| 87 |
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry> |
| 88 |
<citerefentry><refentrytitle>hwdb</refentrytitle><manvolnum>7</manvolnum></citerefentry> |
| 89 |
</para> |
| 90 |
</refsect1> |
| 91 |
</refentry> |