[systemd-devel] [PATCH] Add syste-firmware-efi-efivars.mount for support automount EFI variable filesystem

Lennart Poettering lennart at poettering.net
Wed Oct 24 07:04:02 PDT 2012


On Wed, 24.10.12 18:42, Lee, Chun-Yi (joeyli.kernel at gmail.com) wrote:

> Add units/sys-firmware-efi-efivars.mount rule for support automount
> EFI variable filesystem

Good in principle, but as Kay mentioned we probably should not expose
this as units, but just mount it from PID1's C code. More specifically
add it to the table in src/core/mount-setup.c, but make sure to set the
"fatal" bool in the table to false for this entry, to clarify that this
is not a reason to fail.

You probably also want to add the kmod to the table in
src/core/kmod-setup.c since the mount point is not available if the kmod
is not loaded.

Thanks!

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list