27 karma · joined October 18, 2013
Even compiling from source, one also has to trust the compiler...
(see, e.g. the classic http://cm.bell-labs.com/who/ken/trust.html, pdf version at https://www.ece.cmu.edu/~ganger/712.fall02/papers/p761-thomp...)
http://labs.ericsson.com/apps/bowser,
which has since been retired (although as far as I know, not due to any conflict with Apple):
Select "About this Mac" from the apple menu, and click on "More info..."
Click on "System Report" and select the SATA/SATAExpress page. Model and revision numbers for each installed hard drive appear to be reported here.
(edit: presumably drives connected via USB are similarly described in the appropriate page of the diagnostics/report)