]>
Commit | Line | Data |
---|---|---|
514094f9 | 1 | <?xml version='1.0'?> |
3a54a157 | 2 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
12b42c76 | 3 | "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> |
db9ecf05 | 4 | <!-- SPDX-License-Identifier: LGPL-2.1-or-later --> |
f48f7543 | 5 | |
e7ff7128 YW |
6 | <refentry id="systemd-hwdb" conditional="ENABLE_HWDB" |
7 | xmlns:xi="http://www.w3.org/2001/XInclude"> | |
8 | ||
65eb4378 TG |
9 | <refentryinfo> |
10 | <title>systemd-hwdb</title> | |
11 | <productname>systemd</productname> | |
65eb4378 TG |
12 | </refentryinfo> |
13 | ||
14 | <refmeta> | |
15 | <refentrytitle>systemd-hwdb</refentrytitle> | |
16 | <manvolnum>8</manvolnum> | |
17 | </refmeta> | |
18 | ||
19 | <refnamediv> | |
20 | <refname>systemd-hwdb</refname><refpurpose>hardware database management tool</refpurpose> | |
21 | </refnamediv> | |
22 | ||
23 | <refsynopsisdiv> | |
24 | <cmdsynopsis> | |
25 | <command>systemd-hwdb <optional>options</optional> update</command> | |
26 | </cmdsynopsis> | |
27 | <cmdsynopsis> | |
28 | <command>systemd-hwdb <optional>options</optional> query <replaceable>modalias</replaceable></command> | |
29 | </cmdsynopsis> | |
30 | </refsynopsisdiv> | |
31 | ||
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> | |
35 | </refsect1> | |
36 | ||
37 | <refsect1><title>Options</title> | |
38 | <variablelist> | |
65eb4378 TG |
39 | <varlistentry> |
40 | <term><option>--usr</option></term> | |
41 | <listitem> | |
12b42c76 | 42 | <para>Generate in /usr/lib/udev instead of /etc/udev.</para> |
65eb4378 TG |
43 | </listitem> |
44 | </varlistentry> | |
45 | <varlistentry> | |
46 | <term><option>-r</option></term> | |
47 | <term><option>--root=<replaceable>PATH</replaceable></option></term> | |
48 | <listitem> | |
a8eaaee7 | 49 | <para>Alternate root path in the filesystem.</para> |
65eb4378 TG |
50 | </listitem> |
51 | </varlistentry> | |
aacbcab6 NB |
52 | <varlistentry> |
53 | <term><option>-s</option></term> | |
54 | <term><option>--strict</option></term> | |
55 | <listitem> | |
56 | <para>When updating, return non-zero exit value on any parsing error.</para> | |
57 | </listitem> | |
58 | </varlistentry> | |
e7ff7128 YW |
59 | |
60 | <xi:include href="standard-options.xml" xpointer="help" /> | |
65eb4378 TG |
61 | </variablelist> |
62 | ||
63 | <refsect2><title>systemd-hwdb | |
64 | <arg choice="opt"><replaceable>options</replaceable></arg> | |
65 | update</title> | |
66 | <para>Update the binary database.</para> | |
67 | </refsect2> | |
68 | ||
69 | <refsect2><title>systemd-hwdb | |
70 | <arg choice="opt"><replaceable>options</replaceable></arg> | |
71 | query | |
72 | <arg><replaceable>MODALIAS</replaceable></arg> | |
73 | </title> | |
74 | <para>Query database and print result.</para> | |
75 | </refsect2> | |
76 | </refsect1> | |
77 | ||
78 | <refsect1> | |
79 | <title>See Also</title> | |
80 | <para><citerefentry> | |
81 | <refentrytitle>hwdb</refentrytitle><manvolnum>7</manvolnum> | |
82 | </citerefentry></para> | |
83 | </refsect1> | |
84 | </refentry> |