1 <?xml version='
1.0'
?> <!--*- Mode: nxml; nxml-child-indent: 2; indent-tabs-mode: nil -*-->
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+
8 This file is part of systemd.
10 Copyright 2014 Tom Gundersen
13 <refentry id=
"systemd-hwdb" conditional=
"ENABLE_HWDB"
14 xmlns:
xi=
"http://www.w3.org/2001/XInclude">
17 <title>systemd-hwdb
</title>
18 <productname>systemd
</productname>
21 <contrib>Developer
</contrib>
22 <firstname>Kay
</firstname>
23 <surname>Sievers
</surname>
24 <email>kay@vrfy.org
</email>
27 <contrib>Developer
</contrib>
28 <firstname>Tom
</firstname>
29 <surname>Gundersen
</surname>
30 <email>teg@jklm.no
</email>
36 <refentrytitle>systemd-hwdb
</refentrytitle>
37 <manvolnum>8</manvolnum>
41 <refname>systemd-hwdb
</refname><refpurpose>hardware database management tool
</refpurpose>
46 <command>systemd-hwdb
<optional>options
</optional> update
</command>
49 <command>systemd-hwdb
<optional>options
</optional> query
<replaceable>modalias
</replaceable></command>
53 <refsect1><title>Description
</title>
54 <para><command>systemd-hwdb
</command> expects a command and command
55 specific arguments. It manages the binary hardware database.
</para>
58 <refsect1><title>Options
</title>
61 <term><option>--usr
</option></term>
63 <para>Generate in /usr/lib/udev instead of /etc/udev.
</para>
67 <term><option>-r
</option></term>
68 <term><option>--root=
<replaceable>PATH
</replaceable></option></term>
70 <para>Alternate root path in the filesystem.
</para>
74 <term><option>-s
</option></term>
75 <term><option>--strict
</option></term>
77 <para>When updating, return non-zero exit value on any parsing error.
</para>
81 <xi:include href=
"standard-options.xml" xpointer=
"help" />
84 <refsect2><title>systemd-hwdb
85 <arg choice=
"opt"><replaceable>options
</replaceable></arg>
87 <para>Update the binary database.
</para>
90 <refsect2><title>systemd-hwdb
91 <arg choice=
"opt"><replaceable>options
</replaceable></arg>
93 <arg><replaceable>MODALIAS
</replaceable></arg>
95 <para>Query database and print result.
</para>
100 <title>See Also
</title>
102 <refentrytitle>hwdb
</refentrytitle><manvolnum>7</manvolnum>
103 </citerefentry></para>