blob: 985e80d783f6f28c66397eab85ed16a42267a5f0 [file] [log] [blame]
Theodore Ts'o5d45d801999-03-16 19:35:19 +00001.\" Copyright 1999 Andreas Dilger (adilger@enel.ucalgary.ca)
2.\"
3.\" This man page was created for libuuid.so.1.1 from e2fsprogs-1.14.
4.\"
5.\" This file may be copied under the terms of the GNU Public License.
6.\"
7.\" Created Wed Mar 10 17:42:12 1999, Andreas Dilger
Theodore Ts'ob19d1a91999-06-18 00:32:03 +00008.TH UUIDGEN 1 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
Theodore Ts'o5d45d801999-03-16 19:35:19 +00009.SH NAME
Theodore Ts'ob19d1a91999-06-18 00:32:03 +000010uuidgen \- command\-line utility to create a new UUID value
Theodore Ts'o5d45d801999-03-16 19:35:19 +000011.SH SYNOPSIS
Theodore Ts'o5dbb0721999-07-03 06:16:06 +000012.B uuidgen
13[
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000014.B \-r
15|
16.B \-t
Theodore Ts'o5dbb0721999-07-03 06:16:06 +000017]
Theodore Ts'o5d45d801999-03-16 19:35:19 +000018.SH DESCRIPTION
19The
20.B uuidgen
Theodore Ts'o3b302c22007-08-20 21:46:19 -040021program creates (and prints)
22a new universally unique identifier (UUID) using the
Theodore Ts'o5dbb0721999-07-03 06:16:06 +000023.BR libuuid (3)
24library. The new UUID can reasonably be considered unique among
25all UUIDs created on the local system,
26and among UUIDs created on other systems in the past
Theodore Ts'o5d45d801999-03-16 19:35:19 +000027and in the future.
Theodore Ts'o5dbb0721999-07-03 06:16:06 +000028.PP
29There are two types of UUID's which
30.B uuidgen
31can generate: time-based UUID's and random-based UUID's. By
32default
33.B uuidgen
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000034will generate a random-based UUID if a high-quality random number
Theodore Ts'o5dbb0721999-07-03 06:16:06 +000035generator is present. Otherwise, it will chose a time-based UUID. It
36is possible to force the generation of one of these two
37UUID types by using the
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000038.B \-r
39or
40.B \-t
41options.
42.SH OPTIONS
Theodore Ts'o5dbb0721999-07-03 06:16:06 +000043.TP
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000044.B \-r
Theodore Ts'o5dbb0721999-07-03 06:16:06 +000045Generate a random-based UUID. This method creates a UUID consisting mostly
46of random bits. It requires that the operating system have a high
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000047quality random number generator, such as
48.IR /dev/random .
Theodore Ts'o5dbb0721999-07-03 06:16:06 +000049.TP
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000050.B \-t
Theodore Ts'o5dbb0721999-07-03 06:16:06 +000051Generate a time-based UUID. This method creates a UUID based on the system
52clock plus the system's ethernet hardware address, if present.
Theodore Ts'o5d45d801999-03-16 19:35:19 +000053.SH "CONFORMING TO"
54OSF DCE 1.1
55.SH AUTHOR
56.B uuidgen
57was written by Andreas Dilger for libuuid.
58.SH AVAILABILITY
59.B uuidgen
Theodore Ts'o6d56d512001-05-12 15:46:21 +000060is part of libuuid from the e2fsprogs package and is available from
61http://e2fsprogs.sourceforge.net.
Theodore Ts'o5d45d801999-03-16 19:35:19 +000062.SH "SEE ALSO"
63.BR libuuid (3)