resize: Get the partition table type of the source disk earlier.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 25 Oct 2011 13:18:29 +0000 (14:18 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 26 Oct 2011 09:07:26 +0000 (10:07 +0100)
commitf4b3351692c5740242414b6b84588a22094b75bb
tree52c6cf73507c39845b2ee6bbe03c37b94506e607
parentf223dfa29aafeb7b9a07bbedf03d15acddd62e92
resize: Get the partition table type of the source disk earlier.

Also we only permit MBR (DOS) and GPT partition tables.  In theory
previously we allowed other partition table types, but it is unlikely
that it would have worked in reality.
resize/resize.ml