LinuxCommandLibrary

systemd-hwdb

Hardware database management tool.

TLDR

Update the binary hardware database in /etc/udev

$ systemd-hwdb update
copy


Query the hardware database and print the result for a specific modalias
$ systemd-hwdb query [modalias]
copy


Update the binary hardware database, returning a non-zero exit value on any parsing error
$ systemd-hwdb --strict update
copy


Update the binary hardware database in /usr/lib/udev
$ systemd-hwdb --usr update
copy


Update the binary hardware database in the specified root path
$ systemd-hwdb --root=[path/to/root] update
copy

SYNOPSIS

systemd-hwdb [options] update

systemd-hwdb [options] query modalias

DESCRIPTION

systemd-hwdb expects a command and command specific arguments. It manages the binary hardware database.

OPTIONS

--usr

Generate in /usr/lib/udev instead of /etc/udev.

-r, --root=PATH

Alternate root path in the filesystem.

-s, --strict

When updating, return non-zero exit value on any parsing error.

-h, --help

Print a short help text and exit.

systemd-hwdb [options] update

Update the binary database.

systemd-hwdb [options] query [MODALIAS]

Query database and print result.

SEE ALSO

hwdb(7)

Copied to clipboard