Closed GoogleCodeExporter closed 9 years ago
Mmmm... since this is already exposed via os.statvfs() what's the point in
duplicating this functionality into psutil?
It made sense to provide a wrapper for total/free/used disk space via
psutil.disk_usage() because the arithmetic to provide those stats wasn't
immediately clear (in fact it also ended up into stdlib's shutil module) but
for these two values (f_favail and f_ffree) it seems easier.
Original comment by g.rodola
on 12 Apr 2014 at 5:24
Well... I believe the wrapper standardized way to retrieve values , and
make it easy to add the feature to many users of psutil.
I think the effort to make is easy, the classes can be reused,.
Thanks.
Original comment by davi.zu...@gmail.com
on 13 Apr 2014 at 10:45
I don't think it's worth it, sorry.
Original comment by g.rodola
on 13 Apr 2014 at 5:32
Original issue reported on code.google.com by
davi.zu...@gmail.com
on 12 Apr 2014 at 11:50