]>
Commit | Line | Data |
---|---|---|
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> | |
65eb4378 TG |
17 | </refentryinfo> |
18 | ||
19 | <refmeta> | |
20 | <refentrytitle>systemd-hwdb</refentrytitle> | |
21 | <manvolnum>8</manvolnum> | |
22 | </refmeta> | |
23 | ||
24 | <refnamediv> | |
25 | <refname>systemd-hwdb</refname><refpurpose>hardware database management tool</refpurpose> | |
26 | </refnamediv> | |
27 | ||
28 | <refsynopsisdiv> | |
29 | <cmdsynopsis> | |
30 | <command>systemd-hwdb <optional>options</optional> update</command> | |
31 | </cmdsynopsis> | |
32 | <cmdsynopsis> | |
33 | <command>systemd-hwdb <optional>options</optional> query <replaceable>modalias</replaceable></command> | |
34 | </cmdsynopsis> | |
35 | </refsynopsisdiv> | |
36 | ||
37 | <refsect1><title>Description</title> | |
38 | <para><command>systemd-hwdb</command> expects a command and command | |
39 | specific arguments. It manages the binary hardware database.</para> | |
40 | </refsect1> | |
41 | ||
42 | <refsect1><title>Options</title> | |
43 | <variablelist> | |
65eb4378 TG |
44 | <varlistentry> |
45 | <term><option>--usr</option></term> | |
46 | <listitem> | |
12b42c76 | 47 | <para>Generate in /usr/lib/udev instead of /etc/udev.</para> |
65eb4378 TG |
48 | </listitem> |
49 | </varlistentry> | |
50 | <varlistentry> | |
51 | <term><option>-r</option></term> | |
52 | <term><option>--root=<replaceable>PATH</replaceable></option></term> | |
53 | <listitem> | |
a8eaaee7 | 54 | <para>Alternate root path in the filesystem.</para> |
65eb4378 TG |
55 | </listitem> |
56 | </varlistentry> | |
aacbcab6 NB |
57 | <varlistentry> |
58 | <term><option>-s</option></term> | |
59 | <term><option>--strict</option></term> | |
60 | <listitem> | |
61 | <para>When updating, return non-zero exit value on any parsing error.</para> | |
62 | </listitem> | |
63 | </varlistentry> | |
e7ff7128 YW |
64 | |
65 | <xi:include href="standard-options.xml" xpointer="help" /> | |
65eb4378 TG |
66 | </variablelist> |
67 | ||
68 | <refsect2><title>systemd-hwdb | |
69 | <arg choice="opt"><replaceable>options</replaceable></arg> | |
70 | update</title> | |
71 | <para>Update the binary database.</para> | |
72 | </refsect2> | |
73 | ||
74 | <refsect2><title>systemd-hwdb | |
75 | <arg choice="opt"><replaceable>options</replaceable></arg> | |
76 | query | |
77 | <arg><replaceable>MODALIAS</replaceable></arg> | |
78 | </title> | |
79 | <para>Query database and print result.</para> | |
80 | </refsect2> | |
81 | </refsect1> | |
82 | ||
83 | <refsect1> | |
84 | <title>See Also</title> | |
85 | <para><citerefentry> | |
86 | <refentrytitle>hwdb</refentrytitle><manvolnum>7</manvolnum> | |
87 | </citerefentry></para> | |
88 | </refsect1> | |
89 | </refentry> |