Re: sfdisk input parsing broken with 2.26.1

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

 



On Thu, Apr 16, 2015 at 01:51:22PM +0200, Ruediger Meier wrote:
> BTW I've noticed that since 2.26 --dump produces incompatible dump 
> files. 

Yes, this is expected behavior.

> Shouldn't we have at least backward compatibility, i.e. old 
> dumps still work with new sfdisk?

yes

> >>> Script header accepted.
> >>> Created a new DOS disklabel with disk identifier 0xdf10c8b1.
> Created a new partition 1 of type 'Linux' and of size 100 GiB.
> Start sector 0 out of range.
> Failed to add partition: Numerical result out of range
> /tmp/image2: Leaving.

This is bug introduces probably later when I learned libfdisk to
accept zero size/offsets. 

Fixed, will be in v2.26.2 (probably next week).

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
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