Theodore Ts'o | 5d45d80 | 1999-03-16 19:35:19 +0000 | [diff] [blame] | 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. |
| 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'o | b19d1a9 | 1999-06-18 00:32:03 +0000 | [diff] [blame] | 8 | .TH UUIDGEN 1 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@" |
Theodore Ts'o | 5d45d80 | 1999-03-16 19:35:19 +0000 | [diff] [blame] | 9 | .SH NAME |
Theodore Ts'o | b19d1a9 | 1999-06-18 00:32:03 +0000 | [diff] [blame] | 10 | uuidgen \- command\-line utility to create a new UUID value |
Theodore Ts'o | 5d45d80 | 1999-03-16 19:35:19 +0000 | [diff] [blame] | 11 | .SH SYNOPSIS |
Theodore Ts'o | 5dbb072 | 1999-07-03 06:16:06 +0000 | [diff] [blame^] | 12 | .B uuidgen |
| 13 | [ |
| 14 | .B -r |
| 15 | ] [ |
| 16 | .B -t |
| 17 | ] |
Theodore Ts'o | 5d45d80 | 1999-03-16 19:35:19 +0000 | [diff] [blame] | 18 | .SH DESCRIPTION |
| 19 | The |
| 20 | .B uuidgen |
Theodore Ts'o | b19d1a9 | 1999-06-18 00:32:03 +0000 | [diff] [blame] | 21 | program creates a new universally unique identifier (UUID) using the |
Theodore Ts'o | 5dbb072 | 1999-07-03 06:16:06 +0000 | [diff] [blame^] | 22 | .BR libuuid (3) |
| 23 | library. The new UUID can reasonably be considered unique among |
| 24 | all UUIDs created on the local system, |
| 25 | and among UUIDs created on other systems in the past |
Theodore Ts'o | 5d45d80 | 1999-03-16 19:35:19 +0000 | [diff] [blame] | 26 | and in the future. |
Theodore Ts'o | 5dbb072 | 1999-07-03 06:16:06 +0000 | [diff] [blame^] | 27 | .PP |
| 28 | There are two types of UUID's which |
| 29 | .B uuidgen |
| 30 | can generate: time-based UUID's and random-based UUID's. By |
| 31 | default |
| 32 | .B uuidgen |
| 33 | will generatea random-based UUID if a high-quality random number |
| 34 | generator is present. Otherwise, it will chose a time-based UUID. It |
| 35 | is possible to force the generation of one of these two |
| 36 | UUID types by using the |
| 37 | .IR -r " or " -t " options." |
| 38 | .SH "OPTIONS" |
| 39 | .TP |
| 40 | .I -r |
| 41 | Generate a random-based UUID. This method creates a UUID consisting mostly |
| 42 | of random bits. It requires that the operating system have a high |
| 43 | quality random number generator, such as /dev/random. |
| 44 | .TP |
| 45 | .I -t |
| 46 | Generate a time-based UUID. This method creates a UUID based on the system |
| 47 | clock plus the system's ethernet hardware address, if present. |
Theodore Ts'o | 5d45d80 | 1999-03-16 19:35:19 +0000 | [diff] [blame] | 48 | .SH RETURN VALUE |
| 49 | The UUID of the form 1b4e28ba\-2fa1\-11d2\-883f\-b9a761bde3fb (in |
| 50 | .BR printf (3) |
| 51 | format "%08x\-%04x\-%04x\-%04x\-%012x") is output to the standard output. |
| 52 | .SH "CONFORMING TO" |
| 53 | OSF DCE 1.1 |
| 54 | .SH AUTHOR |
| 55 | .B uuidgen |
| 56 | was written by Andreas Dilger for libuuid. |
| 57 | .SH AVAILABILITY |
| 58 | .B uuidgen |
| 59 | is part of libuuid from the e2fsprogs package and is available for anonymous |
| 60 | ftp from tsx\-11.mit.edu (and its mirrors) in /pub/linux/packages/ext2fs. |
| 61 | .SH "SEE ALSO" |
| 62 | .BR libuuid (3) |