chiark / gitweb /
units/initrd-*: require initrd-fs.target rather than local-fs.target
[elogind.git] / units / dev-hugepages.mount
index 2aa1c23629978da4e15fd44df00174d22771b0d9..d711faed5568b16f503edcdbec3649f7b0082c43 100644 (file)
@@ -1,12 +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
+#  under the terms of the GNU Lesser General Public License as published by
+#  the Free Software Foundation; either version 2.1 of the License, or
 #  (at your option) any later version.
 
 [Unit]
 Description=Huge Pages File System
+Documentation=https://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt
+Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
+DefaultDependencies=no
+Before=sysinit.target
+ConditionPathExists=/sys/kernel/mm/hugepages
 
 [Mount]
 What=hugetlbfs