I need a way to get full information about the hard drive on OS X, that is, all the names of the hard drive models, SATA / ATA controllers, volumes, drive IDs, etc. I checked diskutil, but does not contain SATA information about the controller, it system_profilercontains all the information I need, but its XML output is not necessarily organized as I would like. Is there any low-level Carbon / C API that would allow me to do this?
source
share