<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jun 1, 2016 at 4:51 PM, Lennart Poettering <span dir="ltr"><<a href="mailto:mzerqung@0pointer.de" target="_blank">mzerqung@0pointer.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class="">On Wed, 01.06.16 09:15, Mantas Mikulėnas (<a href="mailto:grawity@gmail.com">grawity@gmail.com</a>) wrote:<br>
<br>
> I'd buy into it if vfat weren't so brittle – several times I had to use<br>
> syslinux in /boot because the ESP lost *both* kernels I had in it... "sync;<br>
> sync; unmount; mount; check" was part of my kernel update ritual for a<br>
> while. Maybe it's the Linux driver, maybe it's my UEFI that's bad at FAT, I<br>
> dunno.<br>
<br>
</span>Note that in today's systemd the ESP is automounted on request, and<br>
unmounting when idle. This means that the FAT partition is generally<br>
unmounted, except when you actually invoke bootctl. This should make<br>
access pretty safe. (of course, this only works if the efi mount<br>
generator actually does its job, it's not in effect if you explicit<br>
mount something else into /boot).</blockquote><div><br></div><div>Testing this. Looks like once systemd has idle-unmounted something, it will actually completely ignore further automount requests (they don't even show up in the debug log) and I have to run "systemctl daemon-reexec" to unwedge it... I suppose that's a bug in event handling somewhere.</div><div><br></div><div>Post-reexec, it logs this:</div><div><br></div><div><div>Jun 02 08:01:22 radius systemd[1]: Reexecuting.</div></div><div><div>Jun 02 08:01:22 radius systemd[1]: Failed to expire automount, ignoring: Host is down</div></div><div><div>Jun 02 08:01:22 radius systemd[1]: tmp-autotest.automount: Got automount request for /tmp/autotest, triggered by 24024 (touch)</div></div></div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mantas Mikulėnas <<a href="mailto:grawity@gmail.com" target="_blank">grawity@gmail.com</a>></div></div>
</div></div>