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