]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blame - misc/uuidgen.1.in
AOSP: build static version of mke2fs and e2fsdroid for host
[thirdparty/e2fsprogs.git] / misc / uuidgen.1.in
CommitLineData
5d45d803
TT
1.\" Copyright 1999 Andreas Dilger (adilger@enel.ucalgary.ca)
2.\"
3.\" This man page was created for libuuid.so.1.1 from e2fsprogs-1.14.
d04ad325 4.\"
5d45d803 5.\" This file may be copied under the terms of the GNU Public License.
d04ad325 6.\"
5d45d803 7.\" Created Wed Mar 10 17:42:12 1999, Andreas Dilger
b19d1a95 8.TH UUIDGEN 1 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
5d45d803 9.SH NAME
b19d1a95 10uuidgen \- command\-line utility to create a new UUID value
5d45d803 11.SH SYNOPSIS
d04ad325 12.B uuidgen
5dbb072e 13[
caf8ce4c
TT
14.B \-r
15|
16.B \-t
5dbb072e 17]
5d45d803
TT
18.SH DESCRIPTION
19The
20.B uuidgen
d04ad325 21program creates (and prints)
3b302c2c 22a new universally unique identifier (UUID) using the
5dbb072e 23.BR libuuid (3)
d04ad325
TT
24library. The new UUID can reasonably be considered unique among
25all UUIDs created on the local system,
5dbb072e 26and among UUIDs created on other systems in the past
5d45d803 27and in the future.
5dbb072e 28.PP
d04ad325 29There are two types of UUID's which
5dbb072e 30.B uuidgen
d04ad325
TT
31can generate: time-based UUID's and random-based UUID's. By
32default
5dbb072e 33.B uuidgen
caf8ce4c 34will generate a random-based UUID if a high-quality random number
d04ad325
TT
35generator is present. Otherwise, it will chose a time-based UUID. It
36is possible to force the generation of one of these two
5dbb072e 37UUID types by using the
caf8ce4c
TT
38.B \-r
39or
40.B \-t
41options.
42.SH OPTIONS
5dbb072e 43.TP
caf8ce4c 44.B \-r
5dbb072e
TT
45Generate a random-based UUID. This method creates a UUID consisting mostly
46of random bits. It requires that the operating system have a high
caf8ce4c
TT
47quality random number generator, such as
48.IR /dev/random .
5dbb072e 49.TP
caf8ce4c 50.B \-t
d04ad325 51Generate a time-based UUID. This method creates a UUID based on the system
5dbb072e 52clock plus the system's ethernet hardware address, if present.
5d45d803
TT
53.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
6d56d51a
TT
60is part of libuuid from the e2fsprogs package and is available from
61http://e2fsprogs.sourceforge.net.
5d45d803
TT
62.SH "SEE ALSO"
63.BR libuuid (3)