You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I took a look at how darwin is getting the disk info, and see that it uses df -P, which I believe outputs in counts of 512 bytes.
Comparing this with what Windows is doing with wmic, I think Windows outputs in plain bytes. This should be properly documented if this is really the case.
For context, I've experienced false positives on darwin in a platform-agnostic app.
The text was updated successfully, but these errors were encountered:
I feel basing in bytes like Windows feels more natural.
As long as the unit is properly documented and honored on all platforms then either option is fine.
I took a look at how darwin is getting the disk info, and see that it uses
df -P
, which I believe outputs in counts of 512 bytes.Comparing this with what Windows is doing with
wmic
, I think Windows outputs in plain bytes. This should be properly documented if this is really the case.For context, I've experienced false positives on darwin in a platform-agnostic app.
The text was updated successfully, but these errors were encountered: