mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-25 23:21:33 +03:00
ac0a983ac6
Since hugetlbfs cannot be compiled as kernel module there's little point in doing on-demand mounting via autofs for it.
18 lines
475 B
SYSTEMD
18 lines
475 B
SYSTEMD
# This file is part of systemd.
|
|
#
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
[Unit]
|
|
Description=Huge Pages File System
|
|
DefaultDependencies=no
|
|
Before=sysinit.target
|
|
ConditionPathExists=/sys/kernel/mm/hugepages
|
|
|
|
[Mount]
|
|
What=hugetlbfs
|
|
Where=/dev/hugepages
|
|
Type=hugetlbfs
|