With the LVM DBus API being almost a reality comes the need for libblockdev to start supporting multiple plugins providing the same functionality. In this particular example, the current lvm plugin using the lvm
utility(ies) should be forked as a new lvm-dbus plugin that would use the LVM DBus API, but both should be supported and maintained in the near future because the LVM DBus API may contain serious bugs or it can be unavailable on some systems, etc.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/blivet/devicefactory.py b/blivet/devicefactory.py | |
index 54f5d9d..b06e651 100644 | |
--- a/blivet/devicefactory.py | |
+++ b/blivet/devicefactory.py | |
@@ -34,6 +34,7 @@ from .partitioning import SameSizeSet | |
from .partitioning import TotalSizeSet | |
from .partitioning import do_partitioning | |
from .size import Size | |
+from .util import default_namedtuple | |
NewerOlder