PFZheng / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

disk_partitions() on Windows is slow due to floppy disk #262

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This happens when we attempt an os.stat() call against the floppy:
http://code.google.com/p/psutil/source/browse/tags/release-0.4.1/psutil/_psmswin
dows.py#82
The code should be smarter and preemptively avoid the os.stat() call when 
all=False by figuring out whether we're dealing with a floppy disk.

Original issue reported on code.google.com by g.rodola on 4 May 2012 at 12:01

GoogleCodeExporter commented 8 years ago
Fixed in r1304.

Original comment by g.rodola on 4 May 2012 at 5:59

GoogleCodeExporter commented 8 years ago
0.5.0 is finally out. Closing out as fixed.

Original comment by g.rodola on 27 Jun 2012 at 6:54

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Updated csets after the SVN -> Mercurial migration:
r1304 == revision 12bdb456c302

Original comment by g.rodola on 2 Mar 2013 at 12:07