Whamcloud - gitweb
LUDOC-296 protocol: Rearrange presentation to be more top-down
[doc/protocol.git] / struct_obd_uuid.txt
1 Object Based Disk UUID
2 ^^^^^^^^^^^^^^^^^^^^^^
3 [[struct-obd-uuid]]
4
5 [source,c]
6 ----
7 #define UUID_MAX        40
8 struct obd_uuid {
9         char uuid[UUID_MAX];
10 };
11 ----
12
13 The 'uuid' contains an ASCII-formatted string that identifies
14 the entity uniquely within the filesystem.  Clients use an RFC-4122
15 hexadecimal UUID of the form ''de305d54-75b4-431b-adb2-eb6b9e546014''
16 that is randomly generated.  Servers may use a string-based identifier
17 of the form ''fsname-TGTindx_UUID''.
18