dev-hugepages.mount 670 B

1234567891011121314151617181920
  1. # This file is part of systemd.
  2. #
  3. # systemd is free software; you can redistribute it and/or modify it
  4. # under the terms of the GNU Lesser General Public License as published by
  5. # the Free Software Foundation; either version 2.1 of the License, or
  6. # (at your option) any later version.
  7. [Unit]
  8. Description=Huge Pages File System
  9. Documentation=https://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt
  10. Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
  11. DefaultDependencies=no
  12. Before=sysinit.target
  13. ConditionPathExists=/sys/kernel/mm/hugepages
  14. ConditionCapability=CAP_SYS_ADMIN
  15. [Mount]
  16. What=hugetlbfs
  17. Where=/dev/hugepages
  18. Type=hugetlbfs