Fix crazy minor/major algo. Enable diskstats collection.

Only works on Linux. Will add stubs for osx, etc. as needed.