#2188 PR merged: Let 420_autoresize_last_partitions.sh leave 33 blocks at end of GPT disks (issue #2182)

Labels: bug, cleanup, fixed / solved / done

jsmeix opened issue at 2019-07-17 12:20:

  • Type: Bug Fix

  • Impact: Normal

  • Reference to related issue (URL):
    https://github.com/rear/rear/issues/2182

  • How was this pull request tested?
    Not yet tested by me - will do that later today or tomorrow.

  • Brief description of the changes in this pull request:

When 420_autoresize_last_partitions.sh resizes the last partition
on a GPT disk it leaves 33 LBA blocks at the end of the disk
so that 420_autoresize_last_partitions.sh produces a fully correct
disklayout.conf file where no further automated adjustments by
a subsequent script like 100_include_partition_code.sh are done.

jsmeix commented at 2019-07-17 13:44:

In a quick first test things look good to me:
I do no longer get a size reduced to fit on disk message in the log.

jsmeix commented at 2019-07-18 09:17:

I checked the calculations of the new GPT related code
in 420_autoresize_last_partitions.sh and all looks good to me
so that will merge it soon if there are no objections right now.


[Export of Github issue for rear/rear.]