LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

systemd-hwdb

Manage udev hardware database

TLDR

Update hardware database
$ systemd-hwdb update
copy
Query database for modalias
$ systemd-hwdb query [modalias]
copy
Update with strict error checking
$ systemd-hwdb -s update
copy
Update in /usr/lib/udev
$ systemd-hwdb --usr update
copy
Update for alternate root
$ systemd-hwdb -r [/path/to/root] update
copy

SYNOPSIS

systemd-hwdb [OPTIONS] COMMAND

DESCRIPTION

systemd-hwdb manages the udev hardware database, which maps hardware identifiers (modalias) to properties and metadata. The database is compiled from text files in `/usr/lib/udev/hwdb.d/` and `/etc/udev/hwdb.d/` into a binary format for fast lookup.This database is used by udev rules to identify hardware and set appropriate properties.

PARAMETERS

-s, --strict

Return non-zero exit on parsing errors
--usr
Update database in /usr/lib/udev instead of /etc/udev
-r, --root= PATH
Operate on alternate root filesystem

COMMANDS

update

Compile hwdb source files into binary database
query MODALIAS
Query database for a specific modalias

INSTALL

sudo apt install udev
copy
sudo zypper install udev
copy
nix profile install nixpkgs#udev
copy

CAVEATS

Must run `systemd-hwdb update` after modifying hwdb source files. The binary database is architecture-specific. Changes in /etc override /usr/lib entries.

HISTORY

systemd-hwdb replaces the older udev hwdb management, providing hardware identification data used throughout the system for device setup.

SEE ALSO

udevadm(8), hwdb(7)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid