summaryrefslogtreecommitdiffstats
path: root/units/dev-hugepages.mount
diff options
context:
space:
mode:
Diffstat (limited to 'units/dev-hugepages.mount')
-rw-r--r--units/dev-hugepages.mount2
1 files changed, 2 insertions, 0 deletions
diff --git a/units/dev-hugepages.mount b/units/dev-hugepages.mount
index e6014e54a0..72a522e69c 100644
--- a/units/dev-hugepages.mount
+++ b/units/dev-hugepages.mount
@@ -8,6 +8,8 @@
[Unit]
Description=Huge Pages File System
DefaultDependencies=no
+Before=sysinit.target
+ConditionPathExists=/sys/kernel/mm/hugepages
[Mount]
What=hugetlbfs