2020-11-09 04:23:58 +00:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2017-11-18 16:35:03 +00:00
|
|
|
#
|
2010-05-18 01:10:17 +00:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-11 22:20:58 +00:00
|
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
2010-05-18 01:10:17 +00:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
2010-05-18 02:17:05 +00:00
|
|
|
Description=Huge Pages File System
|
2022-07-04 14:26:30 +00:00
|
|
|
Documentation=https://docs.kernel.org/admin-guide/mm/hugetlbpage.html
|
2017-06-29 02:54:12 +00:00
|
|
|
Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
|
2010-07-12 20:55:27 +00:00
|
|
|
DefaultDependencies=no
|
2011-09-21 01:35:19 +00:00
|
|
|
Before=sysinit.target
|
|
|
|
ConditionPathExists=/sys/kernel/mm/hugepages
|
2014-11-12 14:19:42 +00:00
|
|
|
ConditionCapability=CAP_SYS_ADMIN
|
2016-10-22 03:00:38 +00:00
|
|
|
ConditionVirtualization=!private-users
|
2010-05-18 01:10:17 +00:00
|
|
|
|
|
|
|
[Mount]
|
|
|
|
What=hugetlbfs
|
|
|
|
Where=/dev/hugepages
|
|
|
|
Type=hugetlbfs
|
2023-04-26 14:55:42 +00:00
|
|
|
Options=nosuid,nodev
|