sfdisk has been pretty much completely re-written since v2.14. I can't reproduce this under Xenial -- sfdisk works as described in the man page.
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/337321 Title: sfdisk doesn't accept blank for start value with -uS Status in util-linux package in Ubuntu: New Bug description: Binary package hint: util-linux Release: 8.10 util-linux: 2.14-1ubuntu2 According to the man-page this should work: sfdisk -uS /dev/sdb << EOF 63,546147,82,- ,512000 EOF I got these values by creating the 256MB partition in fdisk, then list the values with sfdisk -l /dev/sdb and then deleting all partitions again in fdisk. The first line creates a 256MB Swap partition as /dev/sdb1. The second line should create a partition 512000 sectors large right behind that. The problem is that ,<Size> isn't being accepted, the problem seems to be omitting the starting point. The first line on it's own works. Only when I enter the correct starting point (546210) at the beginning of the second line it works. The problem seems to be -uS specific, -uM works. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/337321/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

