chiark / gitweb /
man: add Documentation= tags to all kinds of missing units
[elogind.git] / units / dev-hugepages.mount
index e6014e54a050d838b52d6585a56190c0189d4864..9381167c8392636ef5e3144036c9a9a32897d7fa 100644 (file)
@@ -1,13 +1,16 @@
 #  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
 DefaultDependencies=no
+Before=sysinit.target
+ConditionPathExists=/sys/kernel/mm/hugepages
 
 [Mount]
 What=hugetlbfs