Elektrine lite

← Feed

@pid_eins@mastodon.social

Post #3116350

2026-05-26 04:25 UTC

…will iterate through al referenced resources of an entry, and remove them if they are no longer referenced by any other Type #1. The former installs a new entry into the ESP along with its resources, if they haven't been copied there yet. "bootctl link" also has a lot of really nice robustness properties: it carefully makes sure to place all resources into the ESP fully, before actually linking them into place. Thus, behaviour is somewhat atomic: either the entry fits in fully and all is…

Replies (1)

  • @pid_eins@mastodon.social 2026-05-26 04:29

    …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…

    Open ##3116351