summaryrefslogtreecommitdiff
path: root/units/dev-hugepages.mount
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-09-21 03:35:19 +0200
committerLennart Poettering <lennart@poettering.net>2011-09-21 03:56:56 +0200
commitac0a983ac6a47cf445ead257aa5a38b06779366e (patch)
tree35991fc5192897d2dff65f8b105d49547ce0d12d /units/dev-hugepages.mount
parent1f2c94a48782daba71dd1960b5058180e37efb2f (diff)
units: drop automount unit for /dev/hugepages
Since hugetlbfs cannot be compiled as kernel module there's little point in doing on-demand mounting via autofs for it.
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