]> git.ipfire.org Git - thirdparty/systemd.git/blob - units/dev-hugepages.mount
travis: turn on nonnull-attribute on Fuzzit
[thirdparty/systemd.git] / units / dev-hugepages.mount
1 # SPDX-License-Identifier: LGPL-2.1+
2 #
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
12 Documentation=https://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt
13 Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
14 DefaultDependencies=no
15 Before=sysinit.target
16 ConditionPathExists=/sys/kernel/mm/hugepages
17 ConditionCapability=CAP_SYS_ADMIN
18 ConditionVirtualization=!private-users
19
20 [Mount]
21 What=hugetlbfs
22 Where=/dev/hugepages
23 Type=hugetlbfs