chiark / gitweb /
include <poll.h> instead of <sys/poll.h>
[elogind.git] / man / systemd-hwdb.xml
1 <?xml version='1.0'?> <!--*- Mode: nxml; nxml-child-indent: 2; indent-tabs-mode: nil -*-->
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 <refentry id="systemd-hwdb" conditional="ENABLE_HWDB">
6   <refentryinfo>
7     <title>systemd-hwdb</title>
8     <productname>systemd</productname>
9     <authorgroup>
10       <author>
11         <contrib>Developer</contrib>
12         <firstname>Kay</firstname>
13         <surname>Sievers</surname>
14         <email>kay@vrfy.org</email>
15       </author>
16       <author>
17         <contrib>Developer</contrib>
18         <firstname>Tom</firstname>
19         <surname>Gundersen</surname>
20         <email>teg@jklm.no</email>
21       </author>
22     </authorgroup>
23   </refentryinfo>
24
25   <refmeta>
26     <refentrytitle>systemd-hwdb</refentrytitle>
27     <manvolnum>8</manvolnum>
28   </refmeta>
29
30   <refnamediv>
31     <refname>systemd-hwdb</refname><refpurpose>hardware database management tool</refpurpose>
32   </refnamediv>
33
34   <refsynopsisdiv>
35     <cmdsynopsis>
36       <command>systemd-hwdb <optional>options</optional> update</command>
37     </cmdsynopsis>
38     <cmdsynopsis>
39       <command>systemd-hwdb <optional>options</optional> query <replaceable>modalias</replaceable></command>
40     </cmdsynopsis>
41   </refsynopsisdiv>
42
43   <refsect1><title>Description</title>
44     <para><command>systemd-hwdb</command> expects a command and command
45     specific arguments.  It manages the binary hardware database.</para>
46   </refsect1>
47
48   <refsect1><title>Options</title>
49     <variablelist>
50       <varlistentry>
51         <term><option>-h</option></term>
52         <term><option>--help</option></term>
53         <listitem>
54           <para>Print help text.</para>
55         </listitem>
56       </varlistentry>
57       <varlistentry>
58         <term><option>--usr</option></term>
59         <listitem>
60           <para>Generate in /usr/lib/udev instead of /etc/udev.</para>
61         </listitem>
62       </varlistentry>
63       <varlistentry>
64         <term><option>-r</option></term>
65         <term><option>--root=<replaceable>PATH</replaceable></option></term>
66         <listitem>
67           <para>Alternative root path in the filesystem.</para>
68         </listitem>
69       </varlistentry>
70     </variablelist>
71
72     <refsect2><title>systemd-hwdb
73       <arg choice="opt"><replaceable>options</replaceable></arg>
74       update</title>
75       <para>Update the binary database.</para>
76     </refsect2>
77
78     <refsect2><title>systemd-hwdb
79       <arg choice="opt"><replaceable>options</replaceable></arg>
80       query
81       <arg><replaceable>MODALIAS</replaceable></arg>
82     </title>
83       <para>Query database and print result.</para>
84     </refsect2>
85   </refsect1>
86
87   <refsect1>
88     <title>See Also</title>
89     <para><citerefentry>
90         <refentrytitle>hwdb</refentrytitle><manvolnum>7</manvolnum>
91     </citerefentry></para>
92   </refsect1>
93 </refentry>