From 68660c0ac22c77e98b521b54c95d4e6679d4756d Mon Sep 17 00:00:00 2001 From: Varad Rane <72779597+varadrane7@users.noreply.github.com> Date: Tue, 25 Jul 2023 00:03:57 +0530 Subject: [PATCH] systemd-hwdb: add page (#10510) * systemd-hwdb: add page --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/linux/systemd-hwdb.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/systemd-hwdb.md diff --git a/pages/linux/systemd-hwdb.md b/pages/linux/systemd-hwdb.md new file mode 100644 index 000000000..12f17c451 --- /dev/null +++ b/pages/linux/systemd-hwdb.md @@ -0,0 +1,24 @@ +# systemd-hwdb + +> Hardware database management tool. +> More information: . + +- Update the binary hardware database in `/etc/udev`: + +`systemd-hwdb update` + +- Query the hardware database and print the result for a specific modalias: + +`systemd-hwdb query {{modalias}}` + +- Update the binary hardware database, returning a non-zero exit value on any parsing error: + +`systemd-hwdb --strict update` + +- Update the binary hardware database in `/usr/lib/udev`: + +`systemd-hwdb --usr update` + +- Update the binary hardware database in the specified root path: + +`systemd-hwdb --root={{path/to/root}} update`