+// // Look in gPartitions for a partition with the specified Guid. If found, return
+// // a pointer to that partition's name string. If not found, return a NULL pointer.
+// // The calling function is responsible for freeing the returned memory.
+// CHAR16 * PartNameFromGuid(EFI_GUID *Guid) {
+// UINTN i;
+// CHAR16 *Found = NULL;
+// GPT_DATA *GptData;
+//
+// if ((Guid == NULL) || (gPartitions == NULL))
+// return NULL;
+//
+// GptData = gPartitions;
+// while ((GptData != NULL) && (!Found)) {
+// i = 0;
+// while ((i < GptData->Header->entry_count) && (!Found)) {
+// if (GuidsAreEqual((EFI_GUID*) &(GptData->Entries[i].partition_guid), Guid))
+// Found = StrDuplicate(GptData->Entries[i].name);
+// else
+// i++;
+// } // while(scanning entries)
+// GptData = GptData->NextEntry;
+// } // while(scanning GPTs)
+// return Found;
+// } // CHAR16 * PartNameFromGuid()
+