[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1092892: partman-efi: Rework EFI partition management



Hi,

Am 13. Januar 2025 10:06:55 MEZ schrieb Pascal Hambourg <pascal@plouf.fr.eu.org>:
>On 13/01/2025 at 08:18, Holger Wansing wrote:
>> Am 13. Januar 2025 00:38:50 MEZ schrieb Pascal Hambourg <pascal@plouf.fr.eu.org>:
>>> In order to preserve unused existing EFI partitions (which may be used by other OS):
>>> - Keep the 'esp' flag on existing EFI partitions when the method is set to "do not use".
>>> - Restore the 'esp' flag on former existing EFI partitions when the method is set to "do not use".
>>> - Forget about former EFI partitions when committing changes.
>> 
>> It seems to me that the last two points conflict?
>
>Let me try to clarify. An existing EFI partition is an on-disk ESP. A new EFI partition is an ESP created by the user or by a recipe and not committed to disk yet, or an on-disk partition of a different type set to "use as ESP" by the user. A former EFI partition is an on-disk ESP set to a different type by the user and not committed to disk yet.
>
>The first two points apply before pending changes are committed to disk, while they can still be reverted. The last point applies when the changes are committed to disk: then it does not matter any more if a partition was previously an ESP, now it is definitely not an ESP.

Ok, but then would a change from point 2 (restore a esp flag) be
thrown away in point 3, in my understanding, or not?
Hmm, maybe with "Forget about ..." you don't mean "Do not commit such changings" ....
That's how I understood it.


Holger



-- 
Sent from /e/ OS on Fairphone3


Reply to: