On Thu, May 11, 2023 at 10:10 AM Lennart Poettering <mzerqung@xxxxxxxxxxx> wrote:
(Moreover, read-only access doesn't cut it. If you want boot counting
you want write access.)
Just interjecting a quick thought -- would it be possible to use FAT's reserved sectors for the boot counting? (You can find a description of them under the -R option in the mkfs.vfat man page.) I still think it would be nice to be able to mirror the ESP with mdraid. But if the FAT filesystem is writable by the bootloader, then that won't work. The reserved sectors are specifically reserved for bootloader code by design and if write access by the bootloader/firmware is limited to those sectors then there should be no danger of filesystem corruption if software mirroring is used.
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue