[prev in list] [next in list] [prev in thread] [next in thread] 

List:       util-linux-ng
Subject:    Re: sfdisk input parsing broken with 2.26.1
From:       Karel Zak <kzak () redhat ! com>
Date:       2015-04-16 16:05:32
Message-ID: 20150416160532.GE6757 () ws ! net ! home
[Download RAW message or body]

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@redhat.com>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic