55045db Iterate over partitions using disk.partitions

Authored and Committed by dcantrell 15 years ago
    Iterate over partitions using disk.partitions
    
    Rather than calling disk.nextPartition() over and over, we can
    get a hash table of all partitions on a disk via disk.partitions.
    Iterate over the values() of this hash (the keys correspond to
    the partition number).
    
        
file modified
+6 -6
file modified
+2 -2
file modified
+1 -1
file modified
+5 -12
file modified
+4 -4
file modified
+3 -8