Lines Matching full:uuid
36 #include "uuid/uuid.h"
119 /* The MD UUID is not contiguous in the superblock, make it so */
128 static void set_uuid(blkid_dev dev, uuid_t uuid, const char *tag)
132 if (!uuid_is_null(uuid)) {
133 uuid_unparse(uuid, str);
134 blkid_set_tag(dev, tag ? tag : "UUID", str, sizeof(str));
630 blkid_set_tag(probe->dev, "UUID", serno, sizeof(serno)-1);
783 blkid_set_tag(probe->dev, "UUID", uuid_str, 0);
823 /* LABEL/UUID are only valid for later versions of Reiserfs v3.6. */
894 char uuid[40];
896 /* 168 is the offset to the 40 character uuid:
898 strncpy(uuid, (char *) buf+168, 40);
899 blkid_set_tag(probe->dev, "UUID", uuid, sizeof(uuid));
937 blkid_set_tag(probe->dev, "UUID", 0, 0);
1098 blkid_set_tag(probe->dev, "UUID", 0, 0);
1120 blkid_set_tag(probe->dev, "UUID", 0, 0);
1167 __u64 uuid;
1173 uuid = blkid_le64(*((unsigned long long *) hfs->finder_info.id));
1174 if (uuid) {
1175 sprintf(uuid_str, "%016llX", uuid);
1176 blkid_set_tag(probe->dev, "UUID", uuid_str, 0);
1208 __u64 leaf_off, uuid;
1237 uuid = blkid_le64(*((unsigned long long *) hfsplus->finder_info.id));
1238 if (uuid) {
1239 sprintf(uuid_str, "%016llX", uuid);
1240 blkid_set_tag(probe->dev, "UUID", uuid_str, 0);
1330 char *p, *q, uuid[40];
1359 for (i=0, b=1, p=uuid, q= (char *) label->pv_uuid; i <= 32;
1366 blkid_set_tag(probe->dev, "UUID", uuid, LVM2_ID_LEN+6);
1566 uuid_t uuid;
1568 if (check_mdraid(probe.fd, uuid) == 0) {
1569 set_uuid(dev, uuid, 0);
1673 printf("UUID='%s'\n", dev->bid_uuid);