File: uuid_generate.3

package info (click to toggle)
manpages-ja 0.5.0.0.20061115-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 19,788 kB
  • ctags: 4
  • sloc: sh: 13,215; perl: 157; makefile: 117
file content (109 lines) | stat: -rw-r--r-- 4,174 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
.\" Copyright 1999 Andreas Dilger (adilger@enel.ucalgary.ca)
.\"
.\" %Begin-Header%
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, and the entire permission notice in its entirety,
.\"    including the disclaimer of warranties.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 3. The name of the author may not be used to endorse or promote
.\"    products derived from this software without specific prior
.\"    written permission.
.\" 
.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
.\" WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF
.\" WHICH ARE HEREBY DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE
.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
.\" OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
.\" BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
.\" LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
.\" USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH
.\" DAMAGE.
.\" %End-Header%
.\" 
.\" Created  Wed Mar 10 17:42:12 1999, Andreas Dilger
.\"
.\" Japanese Version Copyright 1999 by NAKANO Takeo. All Rights Reserved.
.\" Translated Sat 23 Oct 1999 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
.\" Updated Tue 16 Nov 1999 by NAKANO Takeo
.\"
.TH UUID_GENERATE 3 "May 2006" "E2fsprogs version 1.39"
.SH ̾
uuid_generate, uuid_generate_random, uuid_generate_time \- ¾ȽŤʤʤ UUID ͤ򿷤
.SH 
.nf
.B #include <uuid/uuid.h>
.sp
.BI "void uuid_generate(uuid_t " out );
.BI "void uuid_generate_random(uuid_t " out );
.BI "void uuid_generate_time(uuid_t " out );
.fi
.SH 
.B uuid_generate
ؿϿ UUID (universally unique identifier:
Ф¾ȤϽŤʤʤ̻) 롣
UUID ˤϡ
.I /dev/urandom
Τ褦ʼɤȯѤǤϤѤ롣
Ǥʤˤϡ
.B uuid_generate
̤Υ르ꥺѤ롣ξϸ߻
ʥͥåȤ MAC ɥ쥹ǤФ͡
ӵȯ줿Ѥ롣
.sp
.B uuid_generate_random
ؿϡɤȯ (㤨
.IR /dev/urandom )
ѤǤʤǤ⡢˥١ (Ĥޤ
MAC ɥ쥹Ȥʤ) UUID եޥåȤꤿѤ롣
ξϵȯѤ롣
ȯѤȡΤ褦줿 UUID 
뤫⤷ʤȤդ뤳ȡ
.sp
.B uuid_generata_time
ؿϡإ르ꥺȤѤ롣
ϸ߻ () ͥåȤ MAC ɥ쥹Ѥ롣
Υ르ꥺϤĤ UUID ˡΥǥեȤǤä
ͥåȤ MAC ɥ쥹ѤΤǡĤɤ UUID 
줿ξ󤬥꡼ƤޤϥץꥱˤäƤ
ץ饤Х򵯤ȤΤǡ
.B uuid_generate
ؿϼι⤤ȯѤǤʤ˸¤ä
Υ르ꥺѤ褦ˤʤä
.sp
UUID  16 Х (128 ӥå) Ĺǡ褽 3.4x10^38 
ˡͤͿ (Carl Segan 
.I Cosmos
ˤСˤγҤθĿ 10^80 Ǥ)
˺줿 UUID ϡʥƥ䳰Υƥˤä
ޤ̤줿/ UUID ΤȤۤʤ
ͤ뤳ȤǤ롣
.SH ֤
줿 UUID 
.I out
λؤ֤֤롣
.SH 
OSF DCE 1.1
.SH 
Theodore Y. Ts'o
.SH ˡ
.UR http://e2fsprogs.sourceforge.net/
http://e2fsprogs.sourceforge.net/
.UE
.SH Ϣ
.BR uuid (3),
.BR uuidgen (1),
.BR uuid_clear (3),
.BR uuid_compare (3),
.BR uuid_copy (3),
.BR uuid_is_null (3),
.BR uuid_parse (3),
.BR uuid_time (3),
.BR uuid_unparse (3)