UUIDGEN(1) UUIDGEN(1) 名前 uuidgen - UUID 値を生成するコマンドラインユーティリティ 書式 uuidgen [ -r | -t ] 説明 uuidgen プ ログラムは libuuid(3) ライブラリを用いて、 UUID (universal unique identifier: 汎システム的に他とは重ならない識別子) を生成する。新 し い UUID は、ローカルシステムで以前に生成された UUID はもちろん、他の システムで過去・未来に作成された/作成される UUID のいずれとも重ならない と考えて良い。 uuidgen は二つのタイプの UUID を生成することができる。時刻ベースの UUID と乱数ベースの UUID である。デフォルトでは、質の良い乱数生成機構があ れ ば uuidgen は乱数ベースの UUID を生成しようとする。そうでなければ時刻ベ ースの UUID を生成する。 -r または -t オプションを指定すれば、二つの タ イプのいずれかを生成するかを強制できる。 オプション -r 乱数ベースの UUID を生成する。この方法は、ほとんどがランダムなビ ットからなる UUID を生成する。これを用いるには、オペレーティング シ ステムが /dev/random のような質の良い乱数生成機構を備えていな ければならない。 -t 時刻ベースの UUID を生成する。この手法では、システムクロックとシ ステムのイーサネットハードウェアアドレスが取得できればそれとに基 づいて UUID を生成する。 返り値 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb のような形式 (printf(3) フォーマッ ト で書けば "%08x-%04x-%04x-%04x-%012x") の UUID が標準出力に書き出され る。 準拠 OSF DCE 1.1 著者 uuidgen は Andreas Dilger によって libuuid のために作成された。 入手方法 uuidgen は e2fsprogs パッケージ付 属 の libuuid の 一 部 で あ り 、 http://e2fsprogs.sourceforge.net から入手できる。 関連項目 libuuid(3) E2fsprogs version 1.39 May 2006 UUIDGEN(1)
UUIDGEN(1) UUIDGEN(1) NAME uuidgen - command-line utility to create a new UUID value SYNOPSIS uuidgen [-r|-t] DESCRIPTION The uuidgen program creates (and prints) a new universally unique iden- tifier (UUID) using the libuuid(3) library. The new UUID can reason- ably be considered unique among all UUIDs created on the local system, and among UUIDs created on other systems in the past and in the future. There are two types of UUID’s which uuidgen can generate: time-based UUID’s and random-based UUID’s. By default uuidgen will generate a random-based UUID if a high-quality random number generator is present. Otherwise, it will chose a time-based UUID. It is possible to force the generation of one of these two UUID types by using the -r or -t options. OPTIONS -r Generate a random-based UUID. This method creates a UUID con- sisting mostly of random bits. It requires that the operating system have a high quality random number generator, such as /dev/random. -t Generate a time-based UUID. This method creates a UUID based on the system clock plus the system’s ethernet hardware address, if present. CONFORMING TO OSF DCE 1.1 AUTHOR uuidgen was written by Andreas Dilger for libuuid. AVAILABILITY The uuidgen command is part of the util-linux-ng package and is avail- able from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/. SEE ALSO libuuid(3) Linux May 2009 UUIDGEN(1)
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa