Unix Programming - GUID equivalent on UNIX ?

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > April 2005 > GUID equivalent on UNIX ?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author GUID equivalent on UNIX ?
codefixer@gmail.com

2005-03-31, 6:21 pm

Hi,

I was wondering how can one generate a Global Unique Identifier. I
think it's combination of MAC Address and Time ? Anybody know the
details on getting the same ? Please let me know if their is any other
system call in UNIX to do so ?

Thanks.

Chuck Dillon

2005-03-31, 6:21 pm

codefixer@gmail.com wrote:
> Hi,
>
> I was wondering how can one generate a Global Unique Identifier. I
> think it's combination of MAC Address and Time ? Anybody know the
> details on getting the same ? Please let me know if their is any other
> system call in UNIX to do so ?
>
> Thanks.
>


Look for UUID which is the standard name used in DCE-RPC from OSF. Try
looking for uuid_generate on Linux for example. On other systems you
might need to install a 3rd party DCE-RPC package.

The RPC flavor traditionally used in the UNIX world (ONC-RPC) doesn't
use a UUID.

-- ced

--
Chuck Dillon
Senior Software Engineer
NimbleGen Systems Inc.
Markus Elfring

2005-04-24, 7:47 am

> I was wondering how can one generate a Global Unique Identifier. I
> think it's combination of MAC Address and Time ? Anybody know the
> details on getting the same ? Please let me know if their is any other
> system call in UNIX to do so ?


I suggest to read the following information sources.
- http://www.ossp.org/pkg/lib/uuid/
- http://en.wikipedia.org/wiki/Univer...ique_Identifier
- http://en.wikipedia.org/wiki/Globally_Unique_Identifier

Regards,
Markus


David Liebtag

2005-04-24, 8:49 pm

You could use the Java class java.rmi.server.

David Liebtag

"Markus Elfring" <Markus.Elfring@web.de> wrote in message
news:3d1dpbF65o4riU1@individual.net...
>
> I suggest to read the following information sources.
> - http://www.ossp.org/pkg/lib/uuid/
> - http://en.wikipedia.org/wiki/Univer...ique_Identifier
> - http://en.wikipedia.org/wiki/Globally_Unique_Identifier
>
> Regards,
> Markus
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com