Giampaolo Rodola' <g.rod...@gmail.com> added the comment:

Agreed. 
New patch removes the percentage and fixes computations on posix as recommended 
by Charles-François:

free = st.f_bavail * st.f_bsize
total = st.f_blocks * st.f_frsize
used = (total - st.f_bfree * st.f_bsize)

----------
Added file: http://bugs.python.org/file22532/diskusage3.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12442>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to