2 <!DOCTYPE refentry PUBLIC
"-//OASIS//DTD DocBook XML V4.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
6 SPDX-License-Identifier: LGPL-2.1+
9 <refentry id=
"systemd-hwdb" conditional=
"ENABLE_HWDB"
10 xmlns:
xi=
"http://www.w3.org/2001/XInclude">
13 <title>systemd-hwdb
</title>
14 <productname>systemd
</productname>
18 <refentrytitle>systemd-hwdb
</refentrytitle>
19 <manvolnum>8</manvolnum>
23 <refname>systemd-hwdb
</refname><refpurpose>hardware database management tool
</refpurpose>
28 <command>systemd-hwdb
<optional>options
</optional> update
</command>
31 <command>systemd-hwdb
<optional>options
</optional> query
<replaceable>modalias
</replaceable></command>
35 <refsect1><title>Description
</title>
36 <para><command>systemd-hwdb
</command> expects a command and command
37 specific arguments. It manages the binary hardware database.
</para>
40 <refsect1><title>Options
</title>
43 <term><option>--usr
</option></term>
45 <para>Generate in /usr/lib/udev instead of /etc/udev.
</para>
49 <term><option>-r
</option></term>
50 <term><option>--root=
<replaceable>PATH
</replaceable></option></term>
52 <para>Alternate root path in the filesystem.
</para>
56 <term><option>-s
</option></term>
57 <term><option>--strict
</option></term>
59 <para>When updating, return non-zero exit value on any parsing error.
</para>
63 <xi:include href=
"standard-options.xml" xpointer=
"help" />
66 <refsect2><title>systemd-hwdb
67 <arg choice=
"opt"><replaceable>options
</replaceable></arg>
69 <para>Update the binary database.
</para>
72 <refsect2><title>systemd-hwdb
73 <arg choice=
"opt"><replaceable>options
</replaceable></arg>
75 <arg><replaceable>MODALIAS
</replaceable></arg>
77 <para>Query database and print result.
</para>
82 <title>See Also
</title>
84 <refentrytitle>hwdb
</refentrytitle><manvolnum>7</manvolnum>
85 </citerefentry></para>