mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-11-24 15:31:24 +07: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
|