summaryrefslogtreecommitdiffstats
path: root/balkan/testit
blob: f53f9776b444b82476624c1274eda3405f84f252 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/python

import _balkan

p = _balkan.readTable('/dev/sdc')

for i in range(0, len(p) - 1):
    (type, start, size) = p[i]
    if (type != -1):
        print "i:", i, p[i]