]>
Commit | Line | Data |
---|---|---|
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 | 11 | Description=Huge Pages File System |
49dbfa7b | 12 | Documentation=https://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt |
16a5d412 | 13 | Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems |
2edd4434 | 14 | DefaultDependencies=no |
ac0a983a LP |
15 | Before=sysinit.target |
16 | ConditionPathExists=/sys/kernel/mm/hugepages | |
fe0b9cd3 | 17 | ConditionCapability=CAP_SYS_ADMIN |
4bb30aea | 18 | ConditionVirtualization=!private-users |
670802d4 LP |
19 | |
20 | [Mount] | |
21 | What=hugetlbfs | |
22 | Where=/dev/hugepages | |
23 | Type=hugetlbfs |