diff options
author | Sriram Melkote <[email protected]> | 2013-01-31 17:01:34 -0800 |
---|---|---|
committer | Sriram Melkote <[email protected]> | 2013-01-31 17:01:34 -0800 |
commit | bdb135a4d9c6aa32204d5c87f6e59c3b1b4c86be (patch) | |
tree | 542f1097e6e3357ab7084f60d1f283c0c2ea76e1 /lib/os_mon/src/os_mon.erl | |
parent | 1cbd897c43f0dab1275392a3736e4629c1f80243 (diff) | |
download | otp-bdb135a4d9c6aa32204d5c87f6e59c3b1b4c86be.tar.gz otp-bdb135a4d9c6aa32204d5c87f6e59c3b1b4c86be.tar.bz2 otp-bdb135a4d9c6aa32204d5c87f6e59c3b1b4c86be.zip |
This patch fixes disksup:get_disk_data for SUSv3, specifically OS X ML
On OS X Mountain Lion, the default output of df command includes iNode
used and iNodes free, which apparent what SUSv3 specifies. This breaks
the current parse logic and reports incorrect results. This patch adds
support for the new format and ensures older versions of OS X produce
this format by adding the -i switch (which is now the default). Adding
support for this new format rather than changing df output as we'll
presumably see this on other platforms eventually.
Diffstat (limited to 'lib/os_mon/src/os_mon.erl')
0 files changed, 0 insertions, 0 deletions