You probably could use some characteristics of the drive (latency, speed, size), though this won't be accurate for all drives https://www.tellpopeyes.website