summaryrefslogtreecommitdiffstats
path: root/core/modules/systemd/data/usr/lib/systemd/system/dev-hugepages.mount
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/systemd/data/usr/lib/systemd/system/dev-hugepages.mount')
-rw-r--r--core/modules/systemd/data/usr/lib/systemd/system/dev-hugepages.mount4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/modules/systemd/data/usr/lib/systemd/system/dev-hugepages.mount b/core/modules/systemd/data/usr/lib/systemd/system/dev-hugepages.mount
index d711faed..86ad7ac2 100644
--- a/core/modules/systemd/data/usr/lib/systemd/system/dev-hugepages.mount
+++ b/core/modules/systemd/data/usr/lib/systemd/system/dev-hugepages.mount
@@ -8,10 +8,12 @@
[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
+Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
DefaultDependencies=no
Before=sysinit.target
ConditionPathExists=/sys/kernel/mm/hugepages
+ConditionCapability=CAP_SYS_ADMIN
+ConditionVirtualization=!private-users
[Mount]
What=hugetlbfs