2018-07-03 00:15:39 +03:00
<?xml version='1.0'?>
2019-03-14 16:40:58 +03:00
< !DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
2015-06-18 20:47:44 +03:00
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
2019-03-14 16:29:37 +03:00
<!-- SPDX - License - Identifier: LGPL - 2.1+ -->
2017-11-18 19:52:56 +03:00
2017-12-04 08:20:56 +03:00
<refentry id= "systemd-hwdb" conditional= "ENABLE_HWDB"
xmlns:xi="http://www.w3.org/2001/XInclude">
2014-12-16 02:48:24 +03:00
<refentryinfo >
<title > systemd-hwdb</title>
<productname > systemd</productname>
</refentryinfo>
<refmeta >
<refentrytitle > systemd-hwdb</refentrytitle>
<manvolnum > 8</manvolnum>
</refmeta>
<refnamediv >
<refname > systemd-hwdb</refname> <refpurpose > hardware database management tool</refpurpose>
</refnamediv>
<refsynopsisdiv >
<cmdsynopsis >
<command > systemd-hwdb <optional > options</optional> update</command>
</cmdsynopsis>
<cmdsynopsis >
<command > systemd-hwdb <optional > options</optional> query <replaceable > modalias</replaceable> </command>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1 > <title > Description</title>
<para > <command > systemd-hwdb</command> expects a command and command
specific arguments. It manages the binary hardware database.</para>
</refsect1>
<refsect1 > <title > Options</title>
<variablelist >
<varlistentry >
<term > <option > --usr</option> </term>
<listitem >
2015-06-18 20:47:44 +03:00
<para > Generate in /usr/lib/udev instead of /etc/udev.</para>
2014-12-16 02:48:24 +03:00
</listitem>
</varlistentry>
<varlistentry >
<term > <option > -r</option> </term>
<term > <option > --root=<replaceable > PATH</replaceable> </option> </term>
<listitem >
2014-08-03 09:11:37 +04:00
<para > Alternate root path in the filesystem.</para>
2014-12-16 02:48:24 +03:00
</listitem>
</varlistentry>
2018-03-27 06:24:01 +03:00
<varlistentry >
<term > <option > -s</option> </term>
<term > <option > --strict</option> </term>
<listitem >
<para > When updating, return non-zero exit value on any parsing error.</para>
</listitem>
</varlistentry>
2017-12-04 08:20:56 +03:00
<xi:include href= "standard-options.xml" xpointer= "help" />
2014-12-16 02:48:24 +03:00
</variablelist>
<refsect2 > <title > systemd-hwdb
<arg choice= "opt" > <replaceable > options</replaceable> </arg>
update</title>
<para > Update the binary database.</para>
</refsect2>
<refsect2 > <title > systemd-hwdb
<arg choice= "opt" > <replaceable > options</replaceable> </arg>
query
<arg > <replaceable > MODALIAS</replaceable> </arg>
</title>
<para > Query database and print result.</para>
</refsect2>
</refsect1>
<refsect1 >
<title > See Also</title>
<para > <citerefentry >
<refentrytitle > hwdb</refentrytitle> <manvolnum > 7</manvolnum>
</citerefentry> </para>
</refsect1>
</refentry>