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.
This commit is contained in:
brent s
2019-11-01 02:54:51 -04:00
parent 9e5ff48926
commit ca1f12f5bd
12 changed files with 647 additions and 603 deletions

View File

@@ -1,9 +1,3 @@
import aif.disk.block
import aif.disk.lvm
import aif.disk.mdadm
from . import _common
class LUKS(object):
def __init__(self, partobj):
self.devpath = None
pass
BlockDev = _common.BlockDev