2 <!DOCTYPE refentry PUBLIC
"-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
4 <!-- SPDX-License-Identifier: LGPL-2.1+ -->
6 <refentry id=
"systemd-hwdb" conditional=
"ENABLE_HWDB"
7 xmlns:
xi=
"http://www.w3.org/2001/XInclude">
10 <title>systemd-hwdb
</title>
11 <productname>systemd
</productname>
15 <refentrytitle>systemd-hwdb
</refentrytitle>
16 <manvolnum>8</manvolnum>
20 <refname>systemd-hwdb
</refname><refpurpose>hardware database management tool
</refpurpose>
25 <command>systemd-hwdb
<optional>options
</optional> update
</command>
28 <command>systemd-hwdb
<optional>options
</optional> query
<replaceable>modalias
</replaceable></command>
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>
37 <refsect1><title>Options
</title>
40 <term><option>--usr
</option></term>
42 <para>Generate in /usr/lib/udev instead of /etc/udev.
</para>
46 <term><option>-r
</option></term>
47 <term><option>--root=
<replaceable>PATH
</replaceable></option></term>
49 <para>Alternate root path in the filesystem.
</para>
53 <term><option>-s
</option></term>
54 <term><option>--strict
</option></term>
56 <para>When updating, return non-zero exit value on any parsing error.
</para>
60 <xi:include href=
"standard-options.xml" xpointer=
"help" />
63 <refsect2><title>systemd-hwdb
64 <arg choice=
"opt"><replaceable>options
</replaceable></arg>
66 <para>Update the binary database.
</para>
69 <refsect2><title>systemd-hwdb
70 <arg choice=
"opt"><replaceable>options
</replaceable></arg>
72 <arg><replaceable>MODALIAS
</replaceable></arg>
74 <para>Query database and print result.
</para>
79 <title>See Also
</title>
81 <refentrytitle>hwdb
</refentrytitle><manvolnum>7</manvolnum>
82 </citerefentry></para>