From owner-freebsd-questions Wed May 24 13:17:38 2000 Delivered-To: freebsd-questions@freebsd.org Received: from lexis-nexis.com (mx02.lexis-nexis.com [207.25.178.45]) by hub.freebsd.org (Postfix) with ESMTP id 3228A37B603 for ; Wed, 24 May 2000 13:17:34 -0700 (PDT) (envelope-from matthew.temple@lexis-nexis.com) Received: from lexis-nexis.com (mailgate [138.12.44.45]) by lexis-nexis.com (8.9.3/8.9.3) with ESMTP id QAA21147; Wed, 24 May 2000 16:17:33 -0400 (EDT) Received: from lnxdayexch05.lexis-nexis.com by lexis-nexis.com (8.9.3/8.9.3) with ESMTP id QAA05485; Wed, 24 May 2000 16:17:17 -0400 (EDT) Received: by lnxdayexch05.lexis-nexis.com with Internet Mail Service (5.5.2650.21) id ; Wed, 24 May 2000 16:16:27 -0400 Message-ID: <27E4B476932BD211945B00805FE67AF5089DE1E3@lnxdayexch05.lexis-nexis.com> From: "TEMPLE, MATTHEW (LNG)" To: "'Dan Nelson'" Cc: "'freebsd-questions@freebsd.org'" , "MITZKA, JOHN (LNG)" Subject: RE: uuidgen or other GUID-generating utility Date: Wed, 24 May 2000 16:16:24 -0400 X-Mailer: Internet Mail Service (5.5.2650.21) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Clearly, someone wanting to generate a true universally unique identifier (someone like myself, for instance) would be using the time-based option of a Linux uuidgen. It is this type of securely-generated UUID that I am interested in. Does anyone on this list know if FreeBSD has such a utility/libraries, or am I simply doomed to be subjected to more of Mr. Nelson's tangental smarty-pants replies about jot random number generation? > -----Original Message----- > From: Dan Nelson [SMTP:dnelson@emsphone.com] > Sent: Wednesday, May 24, 2000 3:44 PM > To: TEMPLE, MATTHEW (LNG) > Cc: 'freebsd-questions@freebsd.org'; MITZKA, JOHN (LNG) > Subject: Re: uuidgen or other GUID-generating utility > > In the last episode (May 24), TEMPLE, MATTHEW (LNG) said: > > Ok...SunOS 5.5.1 does have a uuidgen and Linux's uuidgen does not > > simply spit out a random string. Included below is an excerpt from > > the Linux man page for uuidgen. I need to generate a GUID of > > comparable quality on a FreeBSD web server. Does anyone on this list > > know if FreeBSD has equivalent functionality or, if not, where I > > might find source code for a uuidgen utility? > > I quote your excerpt: > > > time-based UUID's and random-based UUID's. By default > > uuidgen will generate a random-based UUID if a high-qual! > > ity random number generator is present. Otherwise, it > > On Linux, /dev/random is the random number generator and is always > present. So my 'jot' line is the equivalent. > > -- > Dan Nelson > dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message