A bit of a followup on <my question> in <#C08V7KTJ...
# macos
a
A bit of a followup on my question in #general, for Mac, I don’t quite understand where this call to
gethostuuid()
. Is it a MacOS api or something that returns a uuid that the device already generated at some point?
z
In my experience, the hardware UUIDs generated by macOS are quite stable.
a
Ah you’ve predicted my second question, which isn’t so much looking for an answer as saying “hey I’ve run into a situation where two MacOS devices have the same uuid, is this odd?”
z
Yes, I would say that is very odd.
Less odd if they are VMs though.
a
Right, unfortunately I’ll have to dig in more as I don’t think VMs are to blame. Thank you!
b
The only time the hardware UUID will change on Macs is if the motherboard is replaced.
g
I ran into this issue as well on some tests. Really weird. But when checking the real UUID on the device they were different!