Post #3116351
2026-05-26 04:29 UTC
…good, or something fails (which typically means not enough disk space), and then nothing actually materializes in the ESP, and is removed already before it ever was linked in.
Given that the ESP is VFAT there are limits to how "atomic" we can make that, but I think we should be pretty good in effect, as every call first cleans up what might be left (even if very unlikely) from the previous one.
Moreover it comes with an unlink strategy built into the linking strategy: if disk space is not…
Replies (1)
-
@pid_eins@mastodon.social 2026-05-26 04:34
…available, instead of just giving up, it will automatically delete the oldest entry (using the aforementioned bootctl unlink GC logic), repeatedly until enough space is available. When doing this it will carefully protect the currently booted entry however. Each time it will then attempt a link operation again. In essence: the logic should be really robust and make the best of what's available: keep as many menu entries as possible, but avoid failures as long as possible, protecting the…