summaryrefslogtreecommitdiffstats
path: root/python/examples/create_disk.py
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-10-20 14:46:11 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-10-20 16:48:30 +0100
commit5d8e4102b46158f323fb1f6d76a342edcb997b73 (patch)
tree0af683c1054d5a0d068e75b81ce7a32f4172c52b /python/examples/create_disk.py
parent9f198956047583e506713a4472117922f8b27b2e (diff)
downloadlibguestfs-5d8e4102b46158f323fb1f6d76a342edcb997b73.tar.gz
libguestfs-5d8e4102b46158f323fb1f6d76a342edcb997b73.tar.xz
libguestfs-5d8e4102b46158f323fb1f6d76a342edcb997b73.zip
resize: Refactor the code for creating target partitions.
The old code mixed the business of planning the layout of the target partitions with the creation of the target partitions. The replacement code separates these into two tasks: firstly we create a new 'partitions' list with the target layout, secondly this directly drives the creation of the partitions. As part of this change I have *removed* the old code that was supposed to handle extended/logical MBR partitions. It simply didn't work, and didn't have any hope of working, and there is a separate bug open to fix it.
Diffstat (limited to 'python/examples/create_disk.py')
0 files changed, 0 insertions, 0 deletions