There are 20+ drives in the system. One of the drives is having issues according to the disk controller. The disk controller reports to me by the drives serial number. That drive serial I can map to a "Device / Media Name" (f.e. HPT DISK 1_7 Media
).
Device / Media Name → Device Identifier
Next, I do wish to know the "Device Identifier" (like disk8
) or "Device Node" (f.e. /dev/disk8
).
Regression
Having to do a diskutil info /dev/diskZZ
for all of the 20+ drives is quite inefficient.
What is the efficient way to do a command-line lookup for the disk its "Device Identifier" having the "Device / Media Name" using Lion (Mac OS X 10.7)?