From f271dd97622b656c1c013d181ea615c671cc2438 Mon Sep 17 00:00:00 2001 From: "Lee, Chun-Yi" Date: Sat, 27 Oct 2012 11:23:22 +0800 Subject: systemd: mount the EFI variable filesystem MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add efivarfs to the mount_table in mount-setup.c, so the EFI variable filesystem will be mounted when systemd executed. The EFI variable filesystem will merge in v3.7 or v3.8 linux kernel. Cc: Kay Sievers Cc: Lennart Poettering Cc: Mantas Mikulėnas Cc: Zbigniew Jędrzejewski-Szmek Cc: Matt Fleming Cc: Jeremy Kerr Cc: Matthew Garrett Signed-off-by: Lee, Chun-Yi --- src/core/mount-setup.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/mount-setup.c') diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c index 0fd112f0d1..9894c7fddf 100644 --- a/src/core/mount-setup.c +++ b/src/core/mount-setup.c @@ -66,6 +66,7 @@ static const MountPoint mount_table[] = { { "sysfs", "/sys", "sysfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, true, true }, { "devtmpfs", "/dev", "devtmpfs", "mode=755", MS_NOSUID|MS_STRICTATIME, true, true }, { "securityfs", "/sys/kernel/security", "securityfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, false, false }, + { "efivarfs", "/sys/firmware/efi/efivars", "efivarfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, false, false }, { "tmpfs", "/dev/shm", "tmpfs", "mode=1777", MS_NOSUID|MS_NODEV|MS_STRICTATIME, true, true }, { "devpts", "/dev/pts", "devpts", "mode=620,gid=" STRINGIFY(TTY_GID), MS_NOSUID|MS_NOEXEC, false, true }, { "tmpfs", "/run", "tmpfs", "mode=755", MS_NOSUID|MS_NODEV|MS_STRICTATIME, true, true }, -- cgit v1.2.3-54-g00ecf