summaryrefslogtreecommitdiffstats
path: root/man/systemd-hwdb.xml
blob: 3c6feb2a4a7c8585691f7041ce65aefe1a7be2a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?xml version='1.0'?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->

<refentry id="systemd-hwdb" conditional="ENABLE_HWDB"
          xmlns:xi="http://www.w3.org/2001/XInclude">

  <refentryinfo>
    <title>systemd-hwdb</title>
    <productname>systemd</productname>
  </refentryinfo>

  <refmeta>
    <refentrytitle>systemd-hwdb</refentrytitle>
    <manvolnum>8</manvolnum>
  </refmeta>

  <refnamediv>
    <refname>systemd-hwdb</refname><refpurpose>hardware database management tool</refpurpose>
  </refnamediv>

  <refsynopsisdiv>
    <cmdsynopsis>
      <command>systemd-hwdb <optional>options</optional> update</command>
    </cmdsynopsis>
    <cmdsynopsis>
      <command>systemd-hwdb <optional>options</optional> query <replaceable>modalias</replaceable></command>
    </cmdsynopsis>
  </refsynopsisdiv>

  <refsect1><title>Description</title>
    <para><command>systemd-hwdb</command> expects a command and command
    specific arguments.  It manages the binary hardware database.</para>
  </refsect1>

  <refsect1><title>Options</title>
    <variablelist>
      <varlistentry>
        <term><option>--usr</option></term>
        <listitem>
          <para>Generate in /usr/lib/udev instead of /etc/udev.</para>

        <xi:include href="version-info.xml" xpointer="v219"/>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term><option>-r</option></term>
        <term><option>--root=<replaceable>PATH</replaceable></option></term>
        <listitem>
          <para>Alternate root path in the filesystem.</para>

        <xi:include href="version-info.xml" xpointer="v219"/>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term><option>-s</option></term>
        <term><option>--strict</option></term>
        <listitem>
          <para>When updating, return non-zero exit value on any parsing error.</para>

        <xi:include href="version-info.xml" xpointer="v239"/>
        </listitem>
      </varlistentry>

      <xi:include href="standard-options.xml" xpointer="help" />
    </variablelist>

    <refsect2><title>systemd-hwdb
      <optional><replaceable>options</replaceable></optional>
      update</title>
      <para>Update the binary database.</para>
    </refsect2>

    <refsect2><title>systemd-hwdb
      <optional><replaceable>options</replaceable></optional>
      query
      <replaceable>MODALIAS</replaceable>
    </title>
      <para>Query database and print result.</para>
    </refsect2>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para><citerefentry>
        <refentrytitle>hwdb</refentrytitle><manvolnum>7</manvolnum>
    </citerefentry></para>
  </refsect1>
</refentry>