[Parted-maintainers] Bug#863980: parted: improperly claims bad alignment

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Jun 2 23:11:25 UTC 2017


On Fri 2017-06-02 14:05:26 -0400, Phil Susi wrote:
> On 6/2/2017 9:44 AM, Daniel Kahn Gillmor wrote:
>> Start? 4MiB                                                               
>> End? -1                                                                   
>> Warning: The resulting partition is not properly aligned for best performance.
>> Ignore/Cancel? ignore                                                     
>
> I believe it is complaining that the end of the partition is not
> aligned.  It probably should not be checking the end.

I agree that it's silly to check the alignment of the end. The only
rationale i can see for checking the alignment of the end of the
partition is that it might have some influence over the beginning of the
subsequent partition placed.  But in that case, the check on the
beginning during the placement of the subsequent partition is
sufficient.

alternately, for dealing with this specific case, it seems likely that
-1 is intended to mean "100%".  Perhaps parted could just DWIM in that
case ;)

        --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/parted-maintainers/attachments/20170602/43ad93d7/attachment.sig>


More information about the Parted-maintainers mailing list