On Oct 25, 2007, at 6:13 PM, Joe Armstrong wrote:
> Does anybody have some Erlang code to generate a GUID?
> (or to read the MAC address of the local machine interfaces?)
Probably machine/os specific, on freebsd you can do
1> os:cmd("sysctl kern.hostuuid").
"kern.hostuuid: B5D5342C-9142-3AA0-81C8-7391B34506DA\n"
best regards,
taavi