From: Kay Sievers Date: Sun, 4 Nov 2012 15:55:23 +0000 (+0100) Subject: kmod-setup: mounting efivarfs, *after* we tried to mount it, is pointless X-Git-Tag: v196~136 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=3dfb265083347cb5700dc38f7cc0f479f378e6e9 kmod-setup: mounting efivarfs, *after* we tried to mount it, is pointless The mount() system call, which we issue before loading modules, will trigger a modprobe by the kernel and block until it returns. Trying to load it again later, will have exactly the same result as the first time. --- diff --git a/src/core/kmod-setup.c b/src/core/kmod-setup.c index 383a6b22b..20ab23237 100644 --- a/src/core/kmod-setup.c +++ b/src/core/kmod-setup.c @@ -39,7 +39,6 @@ typedef struct Kmodule { static const KModule kmod_table[] = { { "autofs4", "/sys/class/misc/autofs", NULL } , { "ipv6", "/sys/module/ipv6", NULL }, - { "efivarfs", "/sys/firmware/efi/efivars", NULL }, { "unix", "/proc/net/unix", NULL } , };