1843577 Members
2690 Online
110219 Solutions
New Discussion

libuuid on HP

 
SOLVED
Go to solution
cactuar
Occasional Contributor

libuuid on HP

Is there libuuid.so/sl for HP PA-RISC and Itanium? If so, where can I get it? Thank you.
1 REPLY 1
Matti_Kurkela
Honored Contributor
Solution

Re: libuuid on HP

Do you mean like the Linux version?
Note that the Linux libuuid was developed as a component of Linux ext2/ext3 filesystem tools, so nobody might have had a reason to port it.

The source for Linux ext2/ext3 filesystem tools is available here:
http://e2fsprogs.sourceforge.net/

The specification of UUIDs is available in RFC4122:
http://www.ietf.org/rfc/rfc4122.txt
It even includes a sample implementation in C, tested on Linux.
For an easy overview, see this:
http://www.famkruithof.net/guid-uuid-info.html

I think libuuid should be very easy to port, because it appears to require only two things:
- a way to read the system clock with enough resolution (milliseconds is probably good, but if you can get better than that it helps: UUID creation can use timestamps with the resolution of 100 nanoseconds)
- a way to get random numbers

MK
MK