diff options
Diffstat (limited to 'units')
-rw-r--r-- | units/dev-hugepages.automount | 15 | ||||
-rw-r--r-- | units/dev-hugepages.mount | 2 |
2 files changed, 2 insertions, 15 deletions
diff --git a/units/dev-hugepages.automount b/units/dev-hugepages.automount deleted file mode 100644 index 6e03df3560..0000000000 --- a/units/dev-hugepages.automount +++ /dev/null @@ -1,15 +0,0 @@ -# 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=Huge Pages File System Automount Point -DefaultDependencies=no -Before=sysinit.target -ConditionPathExists=/sys/kernel/mm/hugepages - -[Automount] -Where=/dev/hugepages 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 |