]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/systemd-hwdb.xml
test-hostname-util: add assert_se's to make coverity happy
[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
8 This file is part of systemd.
9
10 Copyright 2014 Tom Gundersen
11
12 systemd is free software; you can redistribute it and/or modify it
13 under the terms of the GNU Lesser General Public License as published by
14 the Free Software Foundation; either version 2.1 of the License, or
15 (at your option) any later version.
16
17 systemd is distributed in the hope that it will be useful, but
18 WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 Lesser General Public License for more details.
21
22 You should have received a copy of the GNU Lesser General Public License
23 along with systemd; If not, see <http://www.gnu.org/licenses/>.
24-->
25
3715a071 26<refentry id="systemd-hwdb" conditional="ENABLE_HWDB">
65eb4378
TG
27 <refentryinfo>
28 <title>systemd-hwdb</title>
29 <productname>systemd</productname>
30 <authorgroup>
31 <author>
32 <contrib>Developer</contrib>
33 <firstname>Kay</firstname>
34 <surname>Sievers</surname>
35 <email>kay@vrfy.org</email>
36 </author>
37 <author>
38 <contrib>Developer</contrib>
39 <firstname>Tom</firstname>
40 <surname>Gundersen</surname>
41 <email>teg@jklm.no</email>
42 </author>
43 </authorgroup>
44 </refentryinfo>
45
46 <refmeta>
47 <refentrytitle>systemd-hwdb</refentrytitle>
48 <manvolnum>8</manvolnum>
49 </refmeta>
50
51 <refnamediv>
52 <refname>systemd-hwdb</refname><refpurpose>hardware database management tool</refpurpose>
53 </refnamediv>
54
55 <refsynopsisdiv>
56 <cmdsynopsis>
57 <command>systemd-hwdb <optional>options</optional> update</command>
58 </cmdsynopsis>
59 <cmdsynopsis>
60 <command>systemd-hwdb <optional>options</optional> query <replaceable>modalias</replaceable></command>
61 </cmdsynopsis>
62 </refsynopsisdiv>
63
64 <refsect1><title>Description</title>
65 <para><command>systemd-hwdb</command> expects a command and command
66 specific arguments. It manages the binary hardware database.</para>
67 </refsect1>
68
69 <refsect1><title>Options</title>
70 <variablelist>
71 <varlistentry>
72 <term><option>-h</option></term>
73 <term><option>--help</option></term>
74 <listitem>
75 <para>Print help text.</para>
76 </listitem>
77 </varlistentry>
78 <varlistentry>
79 <term><option>--usr</option></term>
80 <listitem>
12b42c76 81 <para>Generate in /usr/lib/udev instead of /etc/udev.</para>
65eb4378
TG
82 </listitem>
83 </varlistentry>
84 <varlistentry>
85 <term><option>-r</option></term>
86 <term><option>--root=<replaceable>PATH</replaceable></option></term>
87 <listitem>
a8eaaee7 88 <para>Alternate root path in the filesystem.</para>
65eb4378
TG
89 </listitem>
90 </varlistentry>
91 </variablelist>
92
93 <refsect2><title>systemd-hwdb
94 <arg choice="opt"><replaceable>options</replaceable></arg>
95 update</title>
96 <para>Update the binary database.</para>
97 </refsect2>
98
99 <refsect2><title>systemd-hwdb
100 <arg choice="opt"><replaceable>options</replaceable></arg>
101 query
102 <arg><replaceable>MODALIAS</replaceable></arg>
103 </title>
104 <para>Query database and print result.</para>
105 </refsect2>
106 </refsect1>
107
108 <refsect1>
109 <title>See Also</title>
110 <para><citerefentry>
111 <refentrytitle>hwdb</refentrytitle><manvolnum>7</manvolnum>
112 </citerefentry></para>
113 </refsect1>
114</refentry>