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 "June 2011" "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.
21 Run uuidd in debugging mode. This prevents uuidd from running as a daemon.
23 .BR \-h , " \-\-help "
24 Display help screen and exit.
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 , " \-\-pid " \fIpath\fR
36 Specify the pathname where the pid file should be written. By default,
37 the pid file is written to @localstatedir@/uuidd/uuidd.pid.
39 .BR \-P , " \-\-no-pid "
40 Do not create pid file.
42 .BR \-F , " \-\-no-fork "
43 Do not daemonize using double-fork.
45 .BR \-S , " \-\-socket-activation "
46 Do not create the socket and instead expect it to be provided by the calling
47 process. Implies --no-fork and --no-pid. As of this writing, this option is
48 supposed to be used only with systemd. This option must be enabled with a configure
52 Suppress some failure messages.
54 .BR \-r , " \-\-random "
55 Test uuidd by trying to connect to a running uuidd daemon and
56 request it to return a random-based UUID.
58 .BR \-s , " \-\-socket " \fIpath\fR
59 Specify the pathname used for the unix-domain socket used by uuidd. By
60 default, the pathname used is @localstatedir@/uuidd/request. This is primarily
61 for debugging purposes, since the pathname is hard-coded in the libuuid
64 .BR \-T , " \-\-timeout " \fItimeout\fR
65 Specify a timeout for uuidd. If specified, then uuidd will exit after
67 seconds of inactivity.
69 .BR \-t , " \-\-time "
70 Test uuidd by trying to connect to a running uuidd daemon and
71 request it to return a time-based UUID.
73 .BR \-V , " \-\-version "
74 Output version information and exit.
76 Start up a daemon, print 42 random keys, and then stop the daemon.
80 uuidd -p /tmp/uuidd.pid -s /tmp/uuidd.socket
81 uuidd -d -r -n 42 -s /tmp/uuidd.socket
82 uuidd -d -k -s /tmp/uuidd.socket
88 daemon was written by Theodore Ts'o <tytso@mit.edu>.
90 The uuidd daemon is part of the util-linux package and is available from
91 ftp://ftp.kernel.org/pub/linux/utils/util-linux/.