https://bugs.kde.org/show_bug.cgi?id=453333

--- Comment #8 from Andrius Štikonas <andr...@stikonas.eu> ---
(In reply to daiaji from comment #7)
> (In reply to Andrius Štikonas from comment #6)
> > Might be an issue here:
> > 
> > https://invent.kde.org/system/kpmcore/-/blob/master/src/plugins/sfdisk/
> > sfdiskbackend.cpp#L454
> > 
> > Can you try it with 4096 and 8191? You'll have to rebuild KPMcore. Note that
> > this is just a quick check and will not work with 512 (I guess proper fix
> > would be d.logicalSize() and d.logicalSize() * 2 - 1
> 
> CopySourceDevice source(d, 4096, 1023);
> 
> After modifying and compiling the source code here, this fault is eliminated.

Can you please also test with 

qint64 sectorSize = d.logicalSize();
CopySourceDevice source(d, sectorSize, sectorSize * 2 - 1);

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to