in reply to get disk usage details like free, used, available for windows drives with sizes in TB

Looking at the XS/source for Filesys::DfPortable it should return the correct values, even on 32-bit perl's that do not have 64-bit integer support. It achieves that by returning the numbers as ascii strings.

The likely reason you are getting incorrect results displayed is that you are using printf with a "%d" format?


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: get disk usage details like free, used, available for windows drives with sizes in TB