Wednesday, October 14, 2009

UUID LIBUUID GUID in linux

Generating UUID in linux is much easier than having an user space app to create it.
It is patched to the latest kernel of linux.

Try,

cat /proc/sys/kernel/random/uuid
d9083201-9574-4ea2-a4fc-9b8ebf9a44e4

on your linux machine. You will get randomly generated number.

Hope it helps.

No comments: