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

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Wed Oct 24 05:12:46 PDT 2012


On Wed, Oct 24, 2012 at 06:42:02PM +0800, Lee, Chun-Yi wrote:
> Add units/sys-firmware-efi-efivars.mount rule for support automount EFI variable filesystem
> ---
Hi,

in systemd parlance, automount means autofs mount, but to have that, a
second .automount unit is needed.  Please have a look at
http://cgit.freedesktop.org/systemd/systemd/tree/units/proc-sys-fs-binfmt_misc.automount
vs
http://cgit.freedesktop.org/systemd/systemd/tree/units/proc-sys-fs-binfmt_misc.mount .
Now the question is whether the loading of the fs is slow enough to
matter, ie. if it is actually beneficial to use automount instead of
mounting directly.  Since the fs can be compiled as a module, than it
probably is.

Also, would be nice to add a Documentation= line like in
proc-sys-fs-binfmt_misc.automount.

>  units/sys-firmware-efi-efivars.mount |   17 +++++++++++++++++
>  1 files changed, 17 insertions(+), 0 deletions(-)
>  create mode 100644 units/sys-firmware-efi-efivars.mount

Zbyszek


More information about the systemd-devel mailing list