Commit Graph

35 Commits

Author SHA1 Message Date
brent s. c22b473b49 checking in before i change a regex pattern. this currently will grab commented out defaults, but we don't want that since it complicates things - so we hardcode in shipped defaults. 2019-12-30 12:59:52 -05:00
brent s. 65b316c014 logging to network providers 2019-12-28 02:20:50 -05:00
brent s. 25e86e75ff mdadm logging done, some value errors converted to type errors 2019-12-24 01:56:29 -05:00
brent s. a0442df77d check-in 2019-12-23 15:43:23 -05:00
brent s. c165e60d34 lvm logging done 2019-12-23 14:52:00 -05:00
brent s. 48ab7f953f luks logging done 2019-12-22 11:59:49 -05:00
brent s. a65ef8232a pushing some updates; luks logging not done 2019-12-20 12:50:41 -05:00
brent s. 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. 3b3cdb3f6d whoops, circular imports 2019-12-05 18:04:51 -05:00
brent s f68069a25e i'm pretty sure luks non-gi is now done 2019-11-10 01:37:15 -05:00
brent s 7fc416f17c do i want to... 2019-11-08 16:49:41 -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 d4de31dd67 filesystem and mounting done, other minor tweaks. need to do lvm, mdadm, luks 2019-11-06 02:21:04 -05:00
brent s 33ea96d1e1 notes 2019-11-05 07:07:16 -05:00
brent s 37124f066a whew. sorted out a lot of gi/BD and fallback inconsistencies... 2019-11-05 05:52:46 -05:00
brent s 46351329b8 namespace issue fixed! 2019-11-04 23:38:32 -05:00
brent s 27978786b8 making a LOT of headway on the gi stuff but hitting a namespace issue 2019-11-04 23:18:28 -05:00
brent s 0ad8314d0b ... 2019-11-03 01:40:23 -05:00
brent s d36368c4df some more groundwork 2019-11-01 03:43:14 -04: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 c4386d55d1 cleaned up, etc. 2019-10-30 03:46:33 -04:00
brent s f0d93658d0 size converter done 2019-10-30 03:29:12 -04:00
brent s f96c815d8d checking in before i restructure some stuff 2019-10-29 22:37:36 -04:00
brent s af2cd9dd0e gorram it, had to write my own md superblock parser. 2019-10-29 17:43:18 -04:00
brent s 4cdd61da7b adding partition flags 2019-10-29 15:42:09 -04:00
brent s 3a6e8843fe added support for partition flags in config, need to add in-code 2019-10-29 01:01:31 -04:00
brent s 7f1bbc5022 checking in some XSD work 2019-10-28 01:26:31 -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