I used the
uuid command from the
uuid-1.6.2-8.fc17.x86_64 package to generate version 1 UUIDs. The man page said that the default is to use the real MAC address of the host, but when I decoded the generated UUID, it is using the local multicast address.
uuid v 1 shows:
uuid -d 5fc2d464-e1f8-11e1-9c3d-ff8beec65651 shows:
encode: STR: c7ee12de-e1f7-11e1-99f1-53d638ec6296 SIV: 265752520555487307909286258714002350742 decode: variant: DCE 1.1, ISO/IEC 11578:1996 version: 1 (time and node based) content: time: 2012-08-09 07:56:52.526563.0 UTC clock: 6641 (usually random) node: 53:d6:38:ec:62:96 (local multicast)
How can I make it use my actual MAC address, and my time zone (
Asia/Tehran, not UTC)?