efi-boot-generator: set automount expire for /boot
authorKay Sievers <kay@vrfy.org>
Tue, 21 Apr 2015 22:39:36 +0000 (00:39 +0200)
committerKay Sievers <kay@vrfy.org>
Tue, 21 Apr 2015 22:57:52 +0000 (00:57 +0200)
commit163ab2961268232e1cb49e990a8ccefe24b7649f
tree31a676d858bd9bdbd400a2d616cadf207c97f1b5
parent8d04b9af96f6cef317d52111b1eac9e42438d976
efi-boot-generator: set automount expire for /boot

This should make the Linux vfat handling less fragile, by unmounting
the idle mount and causing to sync the entire file system to disk.

On my machines, The FAT file system at /boot regularly gets corrupted
with unclean shutdowns, rendering the machines unbootable. Either the
VFS write-back behaviour or the vfat driver itself is just not reliable
enough to be/stay mounted at every bootup.

Because of that, the automount expiry was on top of my personal
wish list. Thanks a lot Michael!
src/efi-boot-generator/efi-boot-generator.c