Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2017 16:55:53 -0400
From:      Rick Miller <>
To:        FreeBSD Questions <>
Subject:   Ascertain host serial number under UEFI
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi all,

Tossed this question up on twitter, but it might get additional audience

How does one ascertain a host's serial number with FreeBSD sans
hint.smbios.0.mem (stable/10 or 11, for example) on a system in pure UEFI
mode?  hint.smbios.0.mem [ in -CURRENT ] stores the address of the smbios
table. dmidecode uses this as it's entry point to the smbios table where
the host's serial number can be found.

Variants of `dd if=/dev/mem ... | strings | grep ''` worked, but also
rebooted the hardware on occasion.  Not ideal.

Take care
Rick Miller

Want to link to this message? Use this URL: <>