Commit Graph

11 Commits

Author SHA1 Message Date
d7d85c7d9d future proofing is good, but...
since print() was made a function in py3, i can predict at some point
that return will be made a func as well. sure, good.
but "return()" *currently* returns an empty tuple. We want to
explicitly return None for testing purposes.
2019-12-11 04:33:15 -05:00
brent s
083c966cad lvm fallback done 2019-11-08 05:19:28 -05:00
brent s
b633b22f59 gi lvm done; added better size support and ability to specify PE size 2019-11-07 19:42:43 -05:00
brent s
00e9c546d7 i *think* i'm done the gi version of disk.lvm. LVM is such a mess. 2019-11-06 16:58:58 -05:00
brent s
5f8caf48d6 WHY IS LVM THE WORST THING ON THIS PLANET 2019-11-06 12:48:18 -05:00
brent s
f424938913 mdadm done 2019-11-06 07:33:15 -05:00
brent s
7e6736f6a2 stubbed out rest of storage things 2019-11-06 03:47:08 -05:00
brent s
ca1f12f5bd soooo...
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.
2019-11-01 02:54:51 -04:00
brent s
9e5ff48926 D'OH 2019-10-31 23:20:05 -04:00
brent s
1ea84cbac0 i...should probably be using xs:ID? 2019-10-31 18:32:56 -04:00
brent s
9dada73cf0 whew. finally done block.py.
the msdos table primary/extended/logical thing was a pain but the
logic wasn't too bad.
2019-10-26 02:52:47 -04:00