~larsks/cloud-utils/cloud-utils

growpart: fix bug that stopped GPT disks from being grown past 2TB.

MBR max size was being applied to GPT partitioned disks.
The change here is to only apply the mbr max (and only WARN about the limit)
if the format is MBR.

Also, adjust test/test-growpart to support reading disk orig size
and new size from environment to make testing more easy.

  sudo PATH=./bin:$PATH PT_TYPE=gpt \
     DISK_SIZE_NEW=5T DISK_SIZE_ORIG=1T ./test/test-growpart
Filename Latest Rev Last Changed Committer Comment Size
..
bin 112 12 years ago Scott Moser split bins into bin/ and man pages into man/ Diff
debian 1 14 years ago Bazaar Package Importer Initial release. Diff
man 112 12 years ago Scott Moser split bins into bin/ and man pages into man/ Diff
test 217.1.3 11 years ago Scott Moser add test script for growpart Diff
tools 114 12 years ago Scott Moser add tool for making dist tarball Diff
ChangeLog 322 6 years ago Scott Moser update changelog 5.2 KB Diff Download File
LICENSE 292 7 years ago Scott Moser Add license file (GPL-3) 34.3 KB Diff Download File
Makefile 243 10 years ago Scott Moser remove some obsolete things (cloud-run-instances, 575 bytes Diff Download File