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