diff options
author | pjd <pjd@FreeBSD.org> | 2007-04-11 00:05:25 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2007-04-11 00:05:25 +0000 |
commit | 1e6e7c9b8c8234c23911142b6ecdf6cecacc8534 (patch) | |
tree | a20bd0456d862a8590ed32d932e7b51140c2bfb1 /lib/libpmc | |
parent | c22a6a4408dcbbfb42eaaee954606c913c141660 (diff) | |
download | FreeBSD-src-1e6e7c9b8c8234c23911142b6ecdf6cecacc8534.zip FreeBSD-src-1e6e7c9b8c8234c23911142b6ecdf6cecacc8534.tar.gz |
If available, take UUID from smbios.system.uuid, if not fall back to
software-generated UUID. Store the result in /etc/hostid and use it in
the future. Perform simple UUID format check, as there is a lot of
hardware with broken UUIDs. The check should be improved to also eliminate
fake UUIDs like 00000000-0000-0000-0000-000000000000.
Requested by: many
Diffstat (limited to 'lib/libpmc')
0 files changed, 0 insertions, 0 deletions