+ bool Hit = false;
+ if(!IsMounted(CDROM))
+ MountedByApt = MountCdrom(CDROM);
+ for (unsigned int Version = 2; Version != 0; Version--)
+ {
+ if (IdentCdrom(CDROM,NewID,Version) == false)
+ return false;
+
+ if (Debug == true)
+ clog << "ID " << Version << " " << NewID << endl;
+
+ // A hit
+ if (Database.Find("CD::" + NewID) == Get.Host)
+ {
+ Hit = true;
+ break;
+ }
+ }