]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/dev-hugepages.mount
travis: turn on nonnull-attribute on Fuzzit
[thirdparty/systemd.git] / units / dev-hugepages.mount
CommitLineData
a7df2d1e
ZJS
1# SPDX-License-Identifier: LGPL-2.1+
2#
670802d4
LP
3# This file is part of systemd.
4#
670802d4 5# systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
6# under the terms of the GNU Lesser General Public License as published by
7# the Free Software Foundation; either version 2.1 of the License, or
670802d4 8# (at your option) any later version.
670802d4
LP
9
10[Unit]
710bd143 11Description=Huge Pages File System
49dbfa7b 12Documentation=https://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt
16a5d412 13Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
2edd4434 14DefaultDependencies=no
ac0a983a
LP
15Before=sysinit.target
16ConditionPathExists=/sys/kernel/mm/hugepages
fe0b9cd3 17ConditionCapability=CAP_SYS_ADMIN
4bb30aea 18ConditionVirtualization=!private-users
670802d4
LP
19
20[Mount]
21What=hugetlbfs
22Where=/dev/hugepages
23Type=hugetlbfs