]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/systemd-hwdb.xml
tree-wide: beautify remaining copyright statements
[thirdparty/systemd.git] / man / systemd-hwdb.xml
CommitLineData
65eb4378 1<?xml version='1.0'?> <!--*- Mode: nxml; nxml-child-indent: 2; indent-tabs-mode: nil -*-->
65eb4378 2<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
12b42c76 3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
65eb4378 4
f48f7543
ZJS
5<!--
6 SPDX-License-Identifier: LGPL-2.1+
7
96b2fb93 8 Copyright © 2014 Tom Gundersen
f48f7543
ZJS
9-->
10
e7ff7128
YW
11<refentry id="systemd-hwdb" conditional="ENABLE_HWDB"
12 xmlns:xi="http://www.w3.org/2001/XInclude">
13
65eb4378
TG
14 <refentryinfo>
15 <title>systemd-hwdb</title>
16 <productname>systemd</productname>
17 <authorgroup>
18 <author>
19 <contrib>Developer</contrib>
20 <firstname>Kay</firstname>
21 <surname>Sievers</surname>
22 <email>kay@vrfy.org</email>
23 </author>
24 <author>
25 <contrib>Developer</contrib>
26 <firstname>Tom</firstname>
27 <surname>Gundersen</surname>
28 <email>teg@jklm.no</email>
29 </author>
30 </authorgroup>
31 </refentryinfo>
32
33 <refmeta>
34 <refentrytitle>systemd-hwdb</refentrytitle>
35 <manvolnum>8</manvolnum>
36 </refmeta>
37
38 <refnamediv>
39 <refname>systemd-hwdb</refname><refpurpose>hardware database management tool</refpurpose>
40 </refnamediv>
41
42 <refsynopsisdiv>
43 <cmdsynopsis>
44 <command>systemd-hwdb <optional>options</optional> update</command>
45 </cmdsynopsis>
46 <cmdsynopsis>
47 <command>systemd-hwdb <optional>options</optional> query <replaceable>modalias</replaceable></command>
48 </cmdsynopsis>
49 </refsynopsisdiv>
50
51 <refsect1><title>Description</title>
52 <para><command>systemd-hwdb</command> expects a command and command
53 specific arguments. It manages the binary hardware database.</para>
54 </refsect1>
55
56 <refsect1><title>Options</title>
57 <variablelist>
65eb4378
TG
58 <varlistentry>
59 <term><option>--usr</option></term>
60 <listitem>
12b42c76 61 <para>Generate in /usr/lib/udev instead of /etc/udev.</para>
65eb4378
TG
62 </listitem>
63 </varlistentry>
64 <varlistentry>
65 <term><option>-r</option></term>
66 <term><option>--root=<replaceable>PATH</replaceable></option></term>
67 <listitem>
a8eaaee7 68 <para>Alternate root path in the filesystem.</para>
65eb4378
TG
69 </listitem>
70 </varlistentry>
aacbcab6
NB
71 <varlistentry>
72 <term><option>-s</option></term>
73 <term><option>--strict</option></term>
74 <listitem>
75 <para>When updating, return non-zero exit value on any parsing error.</para>
76 </listitem>
77 </varlistentry>
e7ff7128
YW
78
79 <xi:include href="standard-options.xml" xpointer="help" />
65eb4378
TG
80 </variablelist>
81
82 <refsect2><title>systemd-hwdb
83 <arg choice="opt"><replaceable>options</replaceable></arg>
84 update</title>
85 <para>Update the binary database.</para>
86 </refsect2>
87
88 <refsect2><title>systemd-hwdb
89 <arg choice="opt"><replaceable>options</replaceable></arg>
90 query
91 <arg><replaceable>MODALIAS</replaceable></arg>
92 </title>
93 <para>Query database and print result.</para>
94 </refsect2>
95 </refsect1>
96
97 <refsect1>
98 <title>See Also</title>
99 <para><citerefentry>
100 <refentrytitle>hwdb</refentrytitle><manvolnum>7</manvolnum>
101 </citerefentry></para>
102 </refsect1>
103</refentry>