ca1f12f5bd
turns out ALL of the disk operations can be performed with gobject-introspection. BUT it's unlikely that that'll be available everywhere, or that the Arch Linux releng team would include it, etc. So we have fallbacks to mimic it. BUT please try to use gobject-introspection with libblockdev, because it's going to be a lot faster and a lot less error-prone.
10 lines
212 B
Python
10 lines
212 B
Python
import aif.disk.block_fallback as block
|
|
import aif.disk.lvm_fallback as lvm
|
|
import aif.disk.mdadm_fallback as mdadm
|
|
|
|
|
|
class LUKS(object):
|
|
def __init__(self, partobj):
|
|
self.devpath = None
|
|
pass
|