]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/systemd-hwdb.xml
doc: document the `architecture` setting
[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+
f48f7543
ZJS
7-->
8
e7ff7128
YW
9<refentry id="systemd-hwdb" conditional="ENABLE_HWDB"
10 xmlns:xi="http://www.w3.org/2001/XInclude">
11
65eb4378
TG
12 <refentryinfo>
13 <title>systemd-hwdb</title>
14 <productname>systemd</productname>
65eb4378
TG
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>
65eb4378
TG
42 <varlistentry>
43 <term><option>--usr</option></term>
44 <listitem>
12b42c76 45 <para>Generate in /usr/lib/udev instead of /etc/udev.</para>
65eb4378
TG
46 </listitem>
47 </varlistentry>
48 <varlistentry>
49 <term><option>-r</option></term>
50 <term><option>--root=<replaceable>PATH</replaceable></option></term>
51 <listitem>
a8eaaee7 52 <para>Alternate root path in the filesystem.</para>
65eb4378
TG
53 </listitem>
54 </varlistentry>
aacbcab6
NB
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>
e7ff7128
YW
62
63 <xi:include href="standard-options.xml" xpointer="help" />
65eb4378
TG
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>