[Bug 686124] [NEW] Add option to sfdisk to use maximum partition size
Launchpad Bug Tracker
686124 at bugs.launchpad.net
Wed Jan 5 02:07:05 UTC 2011
You have been subscribed to a public bug by Scott Moser (smoser):
Binary package hint: util-linux
The attached patch adds the ability to make a partition the maximum size
possible. This gives the equivalent functionality to omitting the size
parameter in the input, but works with -N too. So this lets you resize a
partition to maximum size by
echo ",+," | sfdisk -N1 /dev/sda
This is non-trivial to do without the patch as -N makes the default size
the existing size. As there is (without this patch) no way of reading
the maximum size, the only option is to delete the partition and
recreate it.
This is needed for cloud-init to resize an image on first boot.
** Affects: util-linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: ec2-images patch uec-images
--
Add option to sfdisk to use maximum partition size
https://bugs.launchpad.net/bugs/686124
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.
More information about the Ubuntu-sponsors
mailing list