[systemd-devel] why does bootctl default to /boot and not to /boot/efi?

Lennart Poettering mzerqung at 0pointer.de
Wed Jun 1 13:51:37 UTC 2016


On Wed, 01.06.16 09:15, Mantas Mikulėnas (grawity at gmail.com) wrote:

> I'd buy into it if vfat weren't so brittle – several times I had to use
> syslinux in /boot because the ESP lost *both* kernels I had in it... "sync;
> sync; unmount; mount; check" was part of my kernel update ritual for a
> while. Maybe it's the Linux driver, maybe it's my UEFI that's bad at FAT, I
> dunno.

Note that in today's systemd the ESP is automounted on request, and
unmounting when idle. This means that the FAT partition is generally
unmounted, except when you actually invoke bootctl. This should make
access pretty safe. (of course, this only works if the efi mount
generator actually does its job, it's not in effect if you explicit
mount something else into /boot).

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list