]>
Commit | Line | Data |
---|---|---|
a032b68d | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
52ad194e | 2 | # |
663996b3 MS |
3 | # This file is part of systemd. |
4 | # | |
5 | # systemd is free software; you can redistribute it and/or modify it | |
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 | |
8 | # (at your option) any later version. | |
9 | ||
10 | [Unit] | |
11 | Description=Huge Pages File System | |
086111aa | 12 | Documentation=https://docs.kernel.org/admin-guide/mm/hugetlbpage.html |
81c58355 | 13 | Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems |
663996b3 MS |
14 | DefaultDependencies=no |
15 | Before=sysinit.target | |
16 | ConditionPathExists=/sys/kernel/mm/hugepages | |
f47781d8 | 17 | ConditionCapability=CAP_SYS_ADMIN |
8a584da2 | 18 | ConditionVirtualization=!private-users |
663996b3 MS |
19 | |
20 | [Mount] | |
21 | What=hugetlbfs | |
22 | Where=/dev/hugepages | |
23 | Type=hugetlbfs |