Bug #13051
Support uniqueid on FreeBSD; support hostuuid on FreeBSD (but should be generalized)
| Status: | Needs Decision | Start date: | 03/09/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | library | |||
| Target version: | - | |||
| Keywords: | Affected Facter version: | 1.6.6 | ||
| Branch: | ||||
Description
Modern machines come with a burned-in UUID, which some people use for tracking in the same way that the burned-in MAC address is often used. In FreeBSD this is accessible via a sysctl; on other systems you may need to run dmidecode to suck it out of the DMI data. Windows cares about it a lot as well.
In addition, FreeBSD supports hostids, although there is no hostid(1) command (you have to use sysctl kern.hostid).
Support both of these for FreeBSD.
History
#1
Updated by Garrett Wollman over 1 year ago
- File uniqueid.patch
added
New patch, moves hostuuid to a separate source file and adds unit tests for both uniqueid and hostuuid on FreeBSD.
#2
Updated by Ken Barber over 1 year ago
- Category set to library
- Status changed from Unreviewed to Needs Decision
Hi Garrett,
Thanks for the patch. Any chance of getting this as a pull request in git?
ken.
#3
Updated by Garrett Wollman over 1 year ago
I’m not a github user so the activation energy for that is fairly high.