Exemplo n.º 1
0
long HFSGetUUID(CICell ih, char *uuidStr)
{
    if (HFSInitPartition(ih) == -1) return -1;
    if (gVolID == 0LL)  return -1;

    return CreateUUIDString((uint8_t*)(&gVolID), sizeof(gVolID), uuidStr);
}
Exemplo n.º 2
0
long UFSGetUUID(CICell ih, char *uuidStr)
{
  long long uuid = gUFSLabel.ul_uuid;

  if (UFSInitPartition(ih) == -1) return -1;
  if (uuid == 0LL)  return -1;

  return CreateUUIDString((uint8_t*)(&uuid), sizeof(uuid), uuidStr);
}