2 .\" Copyright 2007 by Theodore Ts'o. All Rights Reserved.
3 .\" This file may be copied under the terms of the GNU Public License.
5 .TH UUIDD 8 "July 2014" "util-linux" "System Administration"
7 uuidd \- UUID generation daemon
14 daemon is used by the UUID library to generate
15 universally unique identifiers (UUIDs), especially time-based UUIDs,
16 in a secure and guaranteed-unique fashion, even in the face of large
17 numbers of threads running on different CPUs trying to grab UUIDs.
20 .BR \-d , " \-\-debug "
21 Run uuidd in debugging mode. This prevents uuidd from running as a daemon.
23 .BR \-F , " \-\-no-fork "
24 Do not daemonize using a double-fork.
26 .BR \-k , " \-\-kill "
27 If currently a uuidd daemon is running, kill it.
29 .BR \-n , " \-\-uuids " \fInumber\fR
30 When issuing a test request to a running uuidd, request a bulk response
35 .BR \-P , " \-\-no-pid "
36 Do not create a pid file.
38 .BR \-p , " \-\-pid " \fIpath\fR
39 Specify the pathname where the pid file should be written. By default,
40 the pid file is written to @runstatedir@/uuidd/uuidd.pid.
42 .BR \-q , " \-\-quiet "
43 Suppress some failure messages.
45 .BR \-r , " \-\-random "
46 Test uuidd by trying to connect to a running uuidd daemon and
47 request it to return a random-based UUID.
49 .BR \-S , " \-\-socket-activation "
50 Do not create a socket but instead expect it to be provided by the calling
51 process. This implies \fB--no-fork\fR and \fB--no-pid\fR. This option is
52 intended to be used only with \fBsystemd\fR(1). It needs to be enabled with
55 .BR \-s , " \-\-socket " \fIpath\fR
56 Make uuidd use this pathname for the unix-domain socket. By default, the
57 pathname used is @runstatedir@/uuidd/request. This option is primarily
58 for debugging purposes, since the pathname is hard-coded in the libuuid
61 .BR \-T , " \-\-timeout " \fInumber\fR
62 Make uuidd exit after \fInumber\fR seconds of inactivity.
64 .BR \-t , " \-\-time "
65 Test uuidd by trying to connect to a running uuidd daemon and
66 request it to return a time-based UUID.
68 .BR \-V , " \-\-version "
69 Output version information and exit.
71 .BR \-h , " \-\-help "
72 Display help screen and exit.
74 Start up a daemon, print 42 random keys, and then stop the daemon:
78 uuidd -p /tmp/uuidd.pid -s /tmp/uuidd.socket
79 uuidd -d -r -n 42 -s /tmp/uuidd.socket
80 uuidd -d -k -s /tmp/uuidd.socket
86 daemon was written by Theodore Ts'o <tytso@mit.edu>.
91 The uuidd daemon is part of the util-linux package and is available from the
92 .UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/