[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: new uuid library
- From: Mike Pall <mikelu-0406@...>
- Date: Fri, 25 Jun 2004 02:39:09 +0200
Hi,
> I've written a Lua binding for libuuid, a library for generating Universally
> Unique Identifiers, which is part of e2fsprogs. If you're running Linux,
> libuuid is probably already installed.
Well, if we are already depending on Linux then you might as well
use the following:
print(io.open("/proc/sys/kernel/random/uuid"):read())
:-)
The library binding may be useful for other OS though depending on the
portability of libuuid.
Bye,
Mike