On 6/3/20 1:22 PM, Daniel P. Berrangé wrote:
With the normal format, we can reliably extract each string, but some chars might have been mangled. How about we keep your current code, but if we see a "." in a string, then we run "dmidecode -u --oem-string N" just for that particular string, in order to get the unmangled value. That will mean we only run dmidecode once majority of cases.
Makes sense. Will post v2. Michal