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

Lee, Chun-Yi joeyli.kernel at gmail.com
Wed Oct 24 03:42:02 PDT 2012


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

Cc: Kay Sievers <kay at vrfy.org>
Cc: Lennart Poettering <lennart at poettering.net>
Cc: Matt Fleming <matt.fleming at intel.com>
Cc: Jeremy Kerr <jeremy.kerr at canonical.com>
Cc: Matthew Garrett <mjg at redhat.com>
Signed-off-by: Lee, Chun-Yi <jlee at suse.com>
---
 units/sys-firmware-efi-efivars.mount |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
 create mode 100644 units/sys-firmware-efi-efivars.mount

diff --git a/units/sys-firmware-efi-efivars.mount b/units/sys-firmware-efi-efivars.mount
new file mode 100644
index 0000000..641d771
--- /dev/null
+++ b/units/sys-firmware-efi-efivars.mount
@@ -0,0 +1,17 @@
+#  This file is part of systemd.
+#
+#  systemd is free software; you can redistribute it and/or modify it
+#  under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; either version 2 of the License, or
+#  (at your option) any later version.
+
+[Unit]
+Description=EFI Variables File System
+DefaultDependencies=no
+ConditionPathExists=/sys/firmware/efi/efivars
+Before=sysinit.target
+
+[Mount]
+What=efivarfs
+Where=/sys/firmware/efi/efivars
+Type=efivarfs
-- 
1.6.0.2



More information about the systemd-devel mailing list