If I run dmidecode command as root user to decode SMBIOS tables from raw data I dump before, it failed.
./dmidecode --from-dump ~/dmidecode.bin
# dmidecode 3.5
Reading SMBIOS/DMI data from file /root/dmidecode.bin.
Can't read memory from /root/dmidecode.bin
It seemed root user could use /dev/mem only, while non-root user could decode SMBIOS tables from local file.
This restriction seems not necessary, especially for some systems we only have root user.
If I run dmidecode command as root user to decode SMBIOS tables from raw data I dump before, it failed.
It seemed root user could use /dev/mem only, while non-root user could decode SMBIOS tables from local file. This restriction seems not necessary, especially for some systems we only have root user.