0 purchases
pylibblkid 0.3
pylibblkid
Python bindings for libblkid library.
import blkid
pr = blkid.Probe()
pr.set_device("/dev/sda1")
pr.enable_superblocks(True)
pr.set_superblocks_flags(blkid.SUBLKS_TYPE | blkid.SUBLKS_USAGE | blkid.SUBLKS_UUID)
pr.do_safeprobe()
# print usage
pr["USAGE"]
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.