I need to retrieve information about a hard disk and am using the statfs function to do so.
- When your computer displays free space on the HD, does it use "free blocks" or "free blocks available to unpriveleged user"?
- Does statfs work with SSDs?
- How would the "path" to the main hard drive be stored? On windows it's generally C:, but I am new to OSX.
The man pages don't seem to provide a very comprehensive look of how statfs works.
Mac OSX Snowleopard using C/Objective-C. Xcode 3.2.6