]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: Extract RAM properties from DMI information
authorBastien Nocera <hadess@hadess.net>
Wed, 2 Dec 2020 11:40:42 +0000 (12:40 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 16 Dec 2020 17:32:29 +0000 (18:32 +0100)
commit4dd465cb4e0706095ff7a80f58b23b8974fee37d
tree59901b810a3210fc9cdc962c09a2bd9996f323a9
parent84a1ff9457ae085ce620e3873c2295bc09b18e5d
udev: Extract RAM properties from DMI information

Add memory_id program to set properties about the physical memory
devices in the system. This is useful on machines with removable memory
modules to show how the machine can be upgraded, and on all devices to
detect the actual RAM size, without relying on the OS accessible amount.

Closes: #16651
.gitattributes
rules.d/70-memory.rules [new file with mode: 0644]
rules.d/meson.build
src/udev/dmi_memory_id/dmi_memory_id.c [new file with mode: 0644]
src/udev/meson.build
test/dmidecode-dumps/Lenovo-ThinkPad-X280-dmidecode-dump.bin [new file with mode: 0644]
test/dmidecode-dumps/Lenovo-ThinkPad-X280-dmidecode-dump.bin.txt [new file with mode: 0644]
test/dmidecode-dumps/Lenovo-Thinkcentre-m720s-dmidecode-dump.bin [new file with mode: 0644]
test/dmidecode-dumps/Lenovo-Thinkcentre-m720s-dmidecode-dump.bin.txt [new file with mode: 0644]
test/meson.build
test/udev-dmi-memory-id-test.sh [new file with mode: 0755]