
16 Oct
2017
16 Oct
'17
7 p.m.
On 10/16/2017 10:17 AM, Patrick Delaunay wrote:
Add test of first and last LBA in gpt for rename and swap. Only the name is expected to change, so test 3 columns for part command 1: first LBA (start) 2: last LBA (end) 3: partition name
Signed-off-by: Patrick Delaunay patrick.delaunay@st.com
WARNING: the last LBA are invalid after rename
before rename 0x00000800 0x00000a00 "" 0x00001000 0x00001200 ""
after rename, the last LBA change => 7ff for first = invalid (<start) => 17ff for second (size increase)
0x00000800 0x000007ff "first" 0x00001000 0x000017ff "second"
the issue is corrected in next commit of the patchset
That issue should be described in the commit description, and also as a comment in the code.