request for sfdisk --no-blkrrpart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I maintain 'growpart' in cloud-utils, which handles growing partitions to
fill up extra space.  Its common that disk images in vms will have
additional space added to the end, and growpart just resizes the partition
to take advantage of that if it is present.

Ubuntu just updated to 2.28.1 and cloud-utils and that caused bug
http://pad.lv/1619285.  I see that we are now now running with this in
place:
  commit e0d30ef4c sfdisk: exit with error if rereading partition table fails

Then i see in trunk that that is reverted:

  commit 78e7f7889 Revert "sfdisk: exit with error if rereading partition table fails"

In the past I had put some hacky error message output string matching
handle failure due only to BLKRRPART having failed, since the partition
i'm resizing usually is mounted as /.

Long story short, could you add a '--no-blkrrpart' flag that growpart
could add in its usage.  Then it wouldn't have to deal with ignoring an
expected failure.  Growpart handles calling
   partx --update --nr <PART> <DEVICE>
when it can.

Scott
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux