2 .\" This file and its contents are supplied under the terms of the
3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
4 .\" You may only use this file in accordance with the terms of version
7 .\" A full copy of the text of the CDDL should have accompanied this
8 .\" source. A copy of the CDDL is also available via the Internet at
9 .\" http://www.illumos.org/license/CDDL.
11 .\" Copyright 2015 Nexenta Systems, Inc.
18 .Nd command-line utility to generate UUID's
20 .Nm uuidgen [-r | -t] [-o filename]
24 command generates and prints a Universally Unique
25 IDentifier (UUID). By default
27 creates a new UUID based on high-quality randomness from
28 arc4random(3C) (DCE version 4). If the \fB-t\fR option is
29 provided then a time-based (DCE version 1) UUID will be
32 .Bl -tag -width indent
35 .Nm uuid_generate_random()
38 This derives the new UUID from random data.
41 .Nm uuid_generate_time()
44 This uses the current time and either the
45 Ethernet address (if available) or system node ID.
54 Successful completion.
58 .Sh INTERFACE STABILITY
61 .Xr uuid_generate 3uuid ,
62 .Xr uuid_generate_random 3uuid ,
63 .Xr uuid_generate_time 3uuid