How to collect Disk stats using c++ on OS X

  c++, macos

Need to gather information about disk on Mac using C++.

  • Like how many drives are there
  • Their capacity, occupied and free space
  • Hardware info
  • External storage detection etc

Can someone suggest open source libs or some reading material that can help in achieving about informations. Any help will be highly appreciated.

Source: Windows Questions C++

LEAVE A COMMENT