Home | History | Annotate | Download | only in blkid

Lines Matching full:uuid

34 #include "uuid/uuid.h"
117 /* The MD UUID is not contiguous in the superblock, make it so */
126 static void set_uuid(blkid_dev dev, uuid_t uuid, const char *tag)
130 if (!uuid_is_null(uuid)) {
131 uuid_unparse(uuid, str);
132 blkid_set_tag(dev, tag ? tag : "UUID", str, sizeof(str));
554 blkid_set_tag(probe->dev, "UUID", serno, sizeof(serno)-1);
694 blkid_set_tag(probe->dev, "UUID", uuid_str, 0);
734 /* LABEL/UUID are only valid for later versions of Reiserfs v3.6. */
781 char uuid[40];
782 /* 168 is the offset to the 40 character uuid:
784 strncpy(uuid, (char *) buf+168, 40);
785 blkid_set_tag(probe->dev, "UUID", uuid, sizeof(uuid));
823 blkid_set_tag(probe->dev, "UUID", 0, 0);
979 blkid_set_tag(probe->dev, "UUID", 0, 0);
1001 blkid_set_tag(probe->dev, "UUID", 0, 0);
1051 char *p, *q, uuid[40];
1080 for (i=0, b=1, p=uuid, q= (char *) label->pv_uuid; i <= 32;
1087 blkid_set_tag(probe->dev, "UUID", uuid, LVM2_ID_LEN+6);
1256 uuid_t uuid;
1258 if (check_mdraid(probe.fd, uuid) == 0) {
1259 set_uuid(dev, uuid, 0);
1365 printf("UUID='%s'\n", dev->bid_uuid);