X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fdev-hugepages.mount;h=882adb4545ae5b1bcd7bc7fe5bd3bab286d141f1;hb=30897dd72b2fb6062d4857abc6b9295b17fda0a4;hp=e6014e54a050d838b52d6585a56190c0189d4864;hpb=2edd4434e5bc6e5c7948df742d82f4bcd6c415f3;p=elogind.git diff --git a/units/dev-hugepages.mount b/units/dev-hugepages.mount index e6014e54a..882adb454 100644 --- a/units/dev-hugepages.mount +++ b/units/dev-hugepages.mount @@ -1,13 +1,18 @@ # 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 +ConditionCapability=CAP_SYS_ADMIN [Mount] What=hugetlbfs