€•”»Œsphinx.addnodes”Œdocument”“”)�”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)�”}”(hhh]”(hŒ pending_xref”“”)�”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…”�”}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ%/translations/zh_CN/filesystems/tmpfs”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)�”}”(hhh]”hŒChinese (Traditional)”…”�”}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/zh_TW/filesystems/tmpfs”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/it_IT/filesystems/tmpfs”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/ja_JP/filesystems/tmpfs”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/ko_KR/filesystems/tmpfs”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒPortuguese (Brazilian)”…”�”}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/pt_BR/filesystems/tmpfs”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒSpanish”…”�”}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/sp_SP/filesystems/tmpfs”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)�”}”(hŒ SPDX-License-Identifier: GPL-2.0”h]”hŒ SPDX-License-Identifier: GPL-2.0”…”�”}”hh·sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1hµhhh²hh³Œ?/var/lib/git/docbuild/linux/Documentation/filesystems/tmpfs.rst”h´KubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒTmpfs”h]”hŒTmpfs”…”�”}”(hhÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhhÊh²hh³hÇh´KubhŒ paragraph”“”)�”}”(hŒFTmpfs is a file system which keeps all of its files in virtual memory.”h]”hŒFTmpfs is a file system which keeps all of its files in virtual memory.”…”�”}”(hhßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KhhÊh²hubhÞ)�”}”(hŒ£Everything in tmpfs is temporary in the sense that no files will be created on your hard drive. If you unmount a tmpfs instance, everything stored therein is lost.”h]”hŒ£Everything in tmpfs is temporary in the sense that no files will be created on your hard drive. If you unmount a tmpfs instance, everything stored therein is lost.”…”�”}”(hhíh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K hhÊh²hubhÞ)�”}”(hŒètmpfs puts everything into the kernel internal caches and grows and shrinks to accommodate the files it contains and is able to swap unneeded pages out to swap space, if swap was enabled for the tmpfs mount. tmpfs also supports THP.”h]”hŒètmpfs puts everything into the kernel internal caches and grows and shrinks to accommodate the files it contains and is able to swap unneeded pages out to swap space, if swap was enabled for the tmpfs mount. tmpfs also supports THP.”…”�”}”(hhûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KhhÊh²hubhÞ)�”}”(hX€tmpfs extends ramfs with a few userspace configurable options listed and explained further below, some of which can be reconfigured dynamically on the fly using a remount ('mount -o remount ...') of the filesystem. A tmpfs filesystem can be resized but it cannot be resized to a size below its current usage. tmpfs also supports POSIX ACLs, and extended attributes for the trusted.*, security.* and user.* namespaces. ramfs does not use swap and you cannot modify any parameter for a ramfs filesystem. The size limit of a ramfs filesystem is how much memory you have available, and so care must be taken if used so to not run out of memory.”h]”hX„tmpfs extends ramfs with a few userspace configurable options listed and explained further below, some of which can be reconfigured dynamically on the fly using a remount (‘mount -o remount ...’) of the filesystem. A tmpfs filesystem can be resized but it cannot be resized to a size below its current usage. tmpfs also supports POSIX ACLs, and extended attributes for the trusted.*, security.* and user.* namespaces. ramfs does not use swap and you cannot modify any parameter for a ramfs filesystem. The size limit of a ramfs filesystem is how much memory you have available, and so care must be taken if used so to not run out of memory.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KhhÊh²hubhÞ)�”}”(hXÞAn alternative to tmpfs and ramfs is to use brd to create RAM disks (/dev/ram*), which allows you to simulate a block device disk in physical RAM. To write data you would just then need to create an regular filesystem on top this ramdisk. As with ramfs, brd ramdisks cannot swap. brd ramdisks are also configured in size at initialization and you cannot dynamically resize them. Contrary to brd ramdisks, tmpfs has its own filesystem, it does not rely on the block layer at all.”h]”hXÞAn alternative to tmpfs and ramfs is to use brd to create RAM disks (/dev/ram*), which allows you to simulate a block device disk in physical RAM. To write data you would just then need to create an regular filesystem on top this ramdisk. As with ramfs, brd ramdisks cannot swap. brd ramdisks are also configured in size at initialization and you cannot dynamically resize them. Contrary to brd ramdisks, tmpfs has its own filesystem, it does not rely on the block layer at all.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KhhÊh²hubhÞ)�”}”(hX&Since tmpfs lives completely in the page cache and optionally on swap, all tmpfs pages will be shown as "Shmem" in /proc/meminfo and "Shared" in free(1). Notice that these counters also include shared memory (shmem, see ipcs(1)). The most reliable way to get the count is using df(1) and du(1).”h]”hX.Since tmpfs lives completely in the page cache and optionally on swap, all tmpfs pages will be shown as “Shmemâ€� in /proc/meminfo and “Sharedâ€� in free(1). Notice that these counters also include shared memory (shmem, see ipcs(1)). The most reliable way to get the count is using df(1) and du(1).”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K%hhÊh²hubhÞ)�”}”(hŒtmpfs has the following uses:”h]”hŒtmpfs has the following uses:”…”�”}”(hj3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K+hhÊh²hubhŒenumerated_list”“”)�”}”(hhh]”(hŒ list_item”“”)�”}”(hX0There is always a kernel internal mount which you will not see at all. This is used for shared anonymous mappings and SYSV shared memory. This mount does not depend on CONFIG_TMPFS. If CONFIG_TMPFS is not set, the user visible part of tmpfs is not built. But the internal mechanisms are always present. ”h]”(hÞ)�”}”(hŒ‰There is always a kernel internal mount which you will not see at all. This is used for shared anonymous mappings and SYSV shared memory.”h]”hŒ‰There is always a kernel internal mount which you will not see at all. This is used for shared anonymous mappings and SYSV shared memory.”…”�”}”(hjLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K-hjHubhÞ)�”}”(hŒ¤This mount does not depend on CONFIG_TMPFS. If CONFIG_TMPFS is not set, the user visible part of tmpfs is not built. But the internal mechanisms are always present.”h]”hŒ¤This mount does not depend on CONFIG_TMPFS. If CONFIG_TMPFS is not set, the user visible part of tmpfs is not built. But the internal mechanisms are always present.”…”�”}”(hjZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K1hjHubeh}”(h]”h ]”h"]”h$]”h&]”uh1jFhjCh²hh³hÇh´NubjG)�”}”(hXglibc 2.2 and above expects tmpfs to be mounted at /dev/shm for POSIX shared memory (shm_open, shm_unlink). Adding the following line to /etc/fstab should take care of this:: tmpfs /dev/shm tmpfs defaults 0 0 Remember to create the directory that you intend to mount tmpfs on if necessary. This mount is _not_ needed for SYSV shared memory. The internal mount is used for that. (In the 2.3 kernel versions it was necessary to mount the predecessor of tmpfs (shm fs) to use SYSV shared memory.) ”h]”(hÞ)�”}”(hŒ®glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for POSIX shared memory (shm_open, shm_unlink). Adding the following line to /etc/fstab should take care of this::”h]”hŒ­glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for POSIX shared memory (shm_open, shm_unlink). Adding the following line to /etc/fstab should take care of this:”…”�”}”(hjrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K5hjnubhŒ literal_block”“”)�”}”(hŒ3tmpfs /dev/shm tmpfs defaults 0 0”h]”hŒ3tmpfs /dev/shm tmpfs defaults 0 0”…”�”}”hj‚sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j€h³hÇh´K9hjnubhÞ)�”}”(hŒPRemember to create the directory that you intend to mount tmpfs on if necessary.”h]”hŒPRemember to create the directory that you intend to mount tmpfs on if necessary.”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K;hjnubhÞ)�”}”(hŒËThis mount is _not_ needed for SYSV shared memory. The internal mount is used for that. (In the 2.3 kernel versions it was necessary to mount the predecessor of tmpfs (shm fs) to use SYSV shared memory.)”h]”hŒËThis mount is _not_ needed for SYSV shared memory. The internal mount is used for that. (In the 2.3 kernel versions it was necessary to mount the predecessor of tmpfs (shm fs) to use SYSV shared memory.)”…”�”}”(hjžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K>hjnubeh}”(h]”h ]”h"]”h$]”h&]”uh1jFhjCh²hh³hÇh´NubjG)�”}”(hŒðSome people (including me) find it very convenient to mount it e.g. on /tmp and /var/tmp and have a big swap partition. And now loop mounts of tmpfs files do work, so mkinitrd shipped by most distributions should succeed with a tmpfs /tmp. ”h]”hÞ)�”}”(hŒïSome people (including me) find it very convenient to mount it e.g. on /tmp and /var/tmp and have a big swap partition. And now loop mounts of tmpfs files do work, so mkinitrd shipped by most distributions should succeed with a tmpfs /tmp.”h]”hŒïSome people (including me) find it very convenient to mount it e.g. on /tmp and /var/tmp and have a big swap partition. And now loop mounts of tmpfs files do work, so mkinitrd shipped by most distributions should succeed with a tmpfs /tmp.”…”�”}”(hj¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KChj²ubah}”(h]”h ]”h"]”h$]”h&]”uh1jFhjCh²hh³hÇh´NubjG)�”}”(hŒ1And probably a lot more I do not know about :-) ”h]”hÞ)�”}”(hŒ/And probably a lot more I do not know about :-)”h]”hŒ/And probably a lot more I do not know about :-)”…”�”}”(hjÎh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KHhjÊubah}”(h]”h ]”h"]”h$]”h&]”uh1jFhjCh²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œenumtype”Œarabic”Œprefix”hŒsuffix”Œ)”uh1jAhhÊh²hh³hÇh´K-ubhÞ)�”}”(hŒ)tmpfs has three mount options for sizing:”h]”hŒ)tmpfs has three mount options for sizing:”…”�”}”(hjíh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KKhhÊh²hubhŒtable”“”)�”}”(hhh]”hŒtgroup”“”)�”}”(hhh]”(hŒcolspec”“”)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K uh1jhjubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj"ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjubj!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒ nr_blocks”h]”hŒ nr_blocks”…”�”}”(hjah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KRhj^ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj[ubj&)�”}”(hhh]”hÞ)�”}”(hŒ-The same as size, but in blocks of PAGE_SIZE.”h]”hŒ-The same as size, but in blocks of PAGE_SIZE.”…”�”}”(hjxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KRhjuubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj[ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjubj!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒ nr_inodes”h]”hŒ nr_inodes”…”�”}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KShj•ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj’ubj&)�”}”(hhh]”hÞ)�”}”(hŒÄThe maximum number of inodes for this instance. The default is half of the number of your physical RAM pages, or (on a machine with highmem) the number of lowmem RAM pages, whichever is the lower.”h]”hŒÄThe maximum number of inodes for this instance. The default is half of the number of your physical RAM pages, or (on a machine with highmem) the number of lowmem RAM pages, whichever is the lower.”…”�”}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KShj¬ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj’ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jhjýubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhhÊh²hh³hÇh´NubhÞ)�”}”(hXThese parameters accept a suffix k, m or g for kilo, mega and giga and can be changed on remount. The size parameter also accepts a suffix % to limit this tmpfs instance to that percentage of your physical RAM: the default, when neither size nor nr_blocks is specified, is size=50%”h]”hXThese parameters accept a suffix k, m or g for kilo, mega and giga and can be changed on remount. The size parameter also accepts a suffix % to limit this tmpfs instance to that percentage of your physical RAM: the default, when neither size nor nr_blocks is specified, is size=50%”…”�”}”(hjÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KYhhÊh²hubhÞ)�”}”(hXaIf nr_blocks=0 (or size=0), blocks will not be limited in that instance; if nr_inodes=0, inodes will not be limited. It is generally unwise to mount with such options, since it allows any user with write access to use up all the memory on the machine; but enhances the scalability of that instance in a system with many CPUs making intensive use of it.”h]”hXaIf nr_blocks=0 (or size=0), blocks will not be limited in that instance; if nr_inodes=0, inodes will not be limited. It is generally unwise to mount with such options, since it allows any user with write access to use up all the memory on the machine; but enhances the scalability of that instance in a system with many CPUs making intensive use of it.”…”�”}”(hjêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K^hhÊh²hubhÞ)�”}”(hŒ‘If nr_inodes is not 0, that limited space for inodes is also used up by extended attributes: "df -i"'s IUsed and IUse% increase, IFree decreases.”h]”hŒ—If nr_inodes is not 0, that limited space for inodes is also used up by extended attributes: “df -i“‘s IUsed and IUse% increase, IFree decreases.”…”�”}”(hjøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KdhhÊh²hubhÞ)�”}”(hŒytmpfs blocks may be swapped out, when there is a shortage of memory. tmpfs has a mount option to disable its use of swap:”h]”hŒytmpfs blocks may be swapped out, when there is a shortage of memory. tmpfs has a mount option to disable its use of swap:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KghhÊh²hubjü)�”}”(hhh]”j)�”}”(hhh]”(j)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jhjubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K;uh1jhjubj)�”}”(hhh]”j!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒnoswap”h]”hŒnoswap”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kkhj4ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj1ubj&)�”}”(hhh]”hÞ)�”}”(hŒWDisables swap. Remounts must respect the original settings. By default swap is enabled.”h]”hŒWDisables swap. Remounts must respect the original settings. By default swap is enabled.”…”�”}”(hjNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KkhjKubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj1ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj.ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhhÊh²hh³hÇh´NubhÞ)�”}”(hŒôtmpfs also supports Transparent Huge Pages which requires a kernel configured with CONFIG_TRANSPARENT_HUGEPAGE and with huge supported for your system (has_transparent_hugepage(), which is architecture specific). The mount options for this are:”h]”hŒôtmpfs also supports Transparent Huge Pages which requires a kernel configured with CONFIG_TRANSPARENT_HUGEPAGE and with huge supported for your system (has_transparent_hugepage(), which is architecture specific). The mount options for this are:”…”�”}”(hj{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KohhÊh²hubjü)�”}”(hhh]”j)�”}”(hhh]”(j)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jhjŒubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K>uh1jhjŒubj)�”}”(hhh]”(j!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒ huge=never”h]”hŒ huge=never”…”�”}”(hj¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kuhj©ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj¦ubj&)�”}”(hhh]”hÞ)�”}”(hŒ1Do not allocate huge pages. This is the default.”h]”hŒ1Do not allocate huge pages. This is the default.”…”�”}”(hjÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KuhjÀubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj¦ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj£ubj!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒ huge=always”h]”hŒ huge=always”…”�”}”(hjãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kvhjàubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjÝubj&)�”}”(hhh]”hÞ)�”}”(hŒ>Attempt to allocate huge page every time a new page is needed.”h]”hŒ>Attempt to allocate huge page every time a new page is needed.”…”�”}”(hjúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kvhj÷ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjÝubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj£ubj!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒhuge=within_size”h]”hŒhuge=within_size”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kwhjubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjubj&)�”}”(hhh]”hÞ)�”}”(hŒYOnly allocate huge page if it will be fully within i_size. Also respect madvise(2) hints.”h]”hŒYOnly allocate huge page if it will be fully within i_size. Also respect madvise(2) hints.”…”�”}”(hj1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kwhj.ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj£ubj!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒ huge=advise”h]”hŒ huge=advise”…”�”}”(hjQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KyhjNubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjKubj&)�”}”(hhh]”hÞ)�”}”(hŒ5Only allocate huge page if requested with madvise(2).”h]”hŒ5Only allocate huge page if requested with madvise(2).”…”�”}”(hjhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kyhjeubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjKubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj£ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjŒubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jhj‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhhÊh²hh³hÇh´NubhÞ)�”}”(hXSee also Documentation/admin-guide/mm/transhuge.rst, which describes the sysfs file /sys/kernel/mm/transparent_hugepage/shmem_enabled: which can be used to deny huge pages on all tmpfs mounts in an emergency, or to force huge pages on all tmpfs mounts for testing.”h]”hXSee also Documentation/admin-guide/mm/transhuge.rst, which describes the sysfs file /sys/kernel/mm/transparent_hugepage/shmem_enabled: which can be used to deny huge pages on all tmpfs mounts in an emergency, or to force huge pages on all tmpfs mounts for testing.”…”�”}”(hj•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K|hhÊh²hubhÞ)�”}”(hŒ:tmpfs also supports quota with the following mount options”h]”hŒ:tmpfs also supports quota with the following mount options”…”�”}”(hj£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K�hhÊh²hubjü)�”}”(hhh]”j)�”}”(hhh]”(j)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jhj´ubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K1uh1jhj´ubj)�”}”(hhh]”(j!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒquota”h]”hŒquota”…”�”}”(hjÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K„hjÑubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjÎubj&)�”}”(hhh]”hÞ)�”}”(hŒ�User and group quota accounting and enforcement is enabled on the mount. Tmpfs is using hidden system quota files that are initialized on mount.”h]”hŒ�User and group quota accounting and enforcement is enabled on the mount. Tmpfs is using hidden system quota files that are initialized on mount.”…”�”}”(hjëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K„hjèubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjÎubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjËubj!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒusrquota”h]”hŒusrquota”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K‡hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjubj&)�”}”(hhh]”hÞ)�”}”(hŒ>User quota accounting and enforcement is enabled on the mount.”h]”hŒ>User quota accounting and enforcement is enabled on the mount.”…”�”}”(hj"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K‡hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjËubj!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒgrpquota”h]”hŒgrpquota”…”�”}”(hjBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K‰hj?ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj<ubj&)�”}”(hhh]”hÞ)�”}”(hŒ?Group quota accounting and enforcement is enabled on the mount.”h]”hŒ?Group quota accounting and enforcement is enabled on the mount.”…”�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K‰hjVubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj<ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjËubj!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒusrquota_block_hardlimit”h]”hŒusrquota_block_hardlimit”…”�”}”(hjyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K‹hjvubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjsubj&)�”}”(hhh]”hÞ)�”}”(hŒ'Set global user quota block hard limit.”h]”hŒ'Set global user quota block hard limit.”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K‹hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjsubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjËubj!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒusrquota_inode_hardlimit”h]”hŒusrquota_inode_hardlimit”…”�”}”(hj°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KŒhj­ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjªubj&)�”}”(hhh]”hÞ)�”}”(hŒ'Set global user quota inode hard limit.”h]”hŒ'Set global user quota inode hard limit.”…”�”}”(hjÇh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KŒhjÄubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjªubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjËubj!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒgrpquota_block_hardlimit”h]”hŒgrpquota_block_hardlimit”…”�”}”(hjçh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K�hjäubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjáubj&)�”}”(hhh]”hÞ)�”}”(hŒ(Set global group quota block hard limit.”h]”hŒ(Set global group quota block hard limit.”…”�”}”(hjþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K�hjûubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjáubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjËubj!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒgrpquota_inode_hardlimit”h]”hŒgrpquota_inode_hardlimit”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KŽhjubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjubj&)�”}”(hhh]”hÞ)�”}”(hŒ(Set global group quota inode hard limit.”h]”hŒ(Set global group quota inode hard limit.”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KŽhj2ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjËubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhj´ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jhj±ubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhhÊh²hh³hÇh´NubhÞ)�”}”(hŒINone of the quota related mount options can be set or changed on remount.”h]”hŒINone of the quota related mount options can be set or changed on remount.”…”�”}”(hjbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K‘hhÊh²hubhÞ)�”}”(hX^Quota limit parameters accept a suffix k, m or g for kilo, mega and giga and can't be changed on remount. Default global quota limits are taking effect for any and all user/group/project except root the first time the quota entry for user/group/project id is being accessed - typically the first time an inode with a particular id ownership is being created after the mount. In other words, instead of the limits being initialized to zero, they are initialized with the particular value provided with these mount options. The limits can be changed for any user/group id at any time as they normally can be.”h]”hX`Quota limit parameters accept a suffix k, m or g for kilo, mega and giga and can’t be changed on remount. Default global quota limits are taking effect for any and all user/group/project except root the first time the quota entry for user/group/project id is being accessed - typically the first time an inode with a particular id ownership is being created after the mount. In other words, instead of the limits being initialized to zero, they are initialized with the particular value provided with these mount options. The limits can be changed for any user/group id at any time as they normally can be.”…”�”}”(hjph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K“hhÊh²hubhÞ)�”}”(hŒ…Note that tmpfs quotas do not support user namespaces so no uid/gid translation is done if quotas are enabled inside user namespaces.”h]”hŒ…Note that tmpfs quotas do not support user namespaces so no uid/gid translation is done if quotas are enabled inside user namespaces.”…”�”}”(hj~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K�hhÊh²hubhÞ)�”}”(hŒºtmpfs has a mount option to set the NUMA memory allocation policy for all files in that instance (if CONFIG_NUMA is enabled) - which can be adjusted on the fly via 'mount -o remount ...'”h]”hŒ¾tmpfs has a mount option to set the NUMA memory allocation policy for all files in that instance (if CONFIG_NUMA is enabled) - which can be adjusted on the fly via ‘mount -o remount ...’”…”�”}”(hjŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K hhÊh²hubjü)�”}”(hhh]”j)�”}”(hhh]”(j)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jhj�ubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K.uh1jhj�ubj)�”}”(hhh]”(j!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒ mpol=default”h]”hŒ mpol=default”…”�”}”(hj½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K¥hjºubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj·ubj&)�”}”(hhh]”hÞ)�”}”(hŒ8use the process allocation policy (see set_mempolicy(2))”h]”hŒ8use the process allocation policy (see set_mempolicy(2))”…”�”}”(hjÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K¥hjÑubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj·ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj´ubj!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒmpol=prefer:Node”h]”hŒmpol=prefer:Node”…”�”}”(hjôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K§hjñubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjîubj&)�”}”(hhh]”hÞ)�”}”(hŒ.prefers to allocate memory from the given Node”h]”hŒ.prefers to allocate memory from the given Node”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K§hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjîubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj´ubj!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒmpol=bind:NodeList”h]”hŒmpol=bind:NodeList”…”�”}”(hj+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K¨hj(ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj%ubj&)�”}”(hhh]”hÞ)�”}”(hŒ,allocates memory only from nodes in NodeList”h]”hŒ,allocates memory only from nodes in NodeList”…”�”}”(hjBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K¨hj?ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj%ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj´ubj!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒmpol=interleave”h]”hŒmpol=interleave”…”�”}”(hjbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K©hj_ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj\ubj&)�”}”(hhh]”hÞ)�”}”(hŒ*prefers to allocate from each node in turn”h]”hŒ*prefers to allocate from each node in turn”…”�”}”(hjyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K©hjvubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj\ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj´ubj!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒmpol=interleave:NodeList”h]”hŒmpol=interleave:NodeList”…”�”}”(hj™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kªhj–ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj“ubj&)�”}”(hhh]”hÞ)�”}”(hŒ,allocates from each node of NodeList in turn”h]”hŒ,allocates from each node of NodeList in turn”…”�”}”(hj°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kªhj­ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj“ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj´ubj!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒ mpol=local”h]”hŒ mpol=local”…”�”}”(hjÐh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K«hjÍubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjÊubj&)�”}”(hhh]”hÞ)�”}”(hŒ.prefers to allocate memory from the local node”h]”hŒ.prefers to allocate memory from the local node”…”�”}”(hjçh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K«hjäubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjÊubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj´ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhj�ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jhjšubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhhÊh²hh³hÇh´NubhÞ)�”}”(hŒÕNodeList format is a comma-separated list of decimal numbers and ranges, a range being two hyphen-separated decimal numbers, the smallest and largest node numbers in the range. For example, mpol=bind:0-3,5,7,9-15”h]”hŒÕNodeList format is a comma-separated list of decimal numbers and ranges, a range being two hyphen-separated decimal numbers, the smallest and largest node numbers in the range. For example, mpol=bind:0-3,5,7,9-15”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K®hhÊh²hubhÞ)�”}”(hXáA memory policy with a valid NodeList will be saved, as specified, for use at file creation time. When a task allocates a file in the file system, the mount option memory policy will be applied with a NodeList, if any, modified by the calling task's cpuset constraints [See Documentation/admin-guide/cgroup-v1/cpusets.rst] and any optional flags, listed below. If the resulting NodeLists is the empty set, the effective memory policy for the file will revert to "default" policy.”h]”hXçA memory policy with a valid NodeList will be saved, as specified, for use at file creation time. When a task allocates a file in the file system, the mount option memory policy will be applied with a NodeList, if any, modified by the calling task’s cpuset constraints [See Documentation/admin-guide/cgroup-v1/cpusets.rst] and any optional flags, listed below. If the resulting NodeLists is the empty set, the effective memory policy for the file will revert to “defaultâ€� policy.”…”�”}”(hj"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K²hhÊh²hubhÞ)�”}”(hXpNUMA memory allocation policies have optional flags that can be used in conjunction with their modes. These optional flags can be specified when tmpfs is mounted by appending them to the mode before the NodeList. See Documentation/admin-guide/mm/numa_memory_policy.rst for a list of all available memory allocation policy mode flags and their effect on memory policy.”h]”hXpNUMA memory allocation policies have optional flags that can be used in conjunction with their modes. These optional flags can be specified when tmpfs is mounted by appending them to the mode before the NodeList. See Documentation/admin-guide/mm/numa_memory_policy.rst for a list of all available memory allocation policy mode flags and their effect on memory policy.”…”�”}”(hj0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KºhhÊh²hubj�)�”}”(hŒy=static is equivalent to MPOL_F_STATIC_NODES =relative is equivalent to MPOL_F_RELATIVE_NODES”h]”hŒy=static is equivalent to MPOL_F_STATIC_NODES =relative is equivalent to MPOL_F_RELATIVE_NODES”…”�”}”hj>sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j€h³hÇh´KÃhhÊh²hubhÞ)�”}”(hŒuFor example, mpol=bind=static:NodeList, is the equivalent of an allocation policy of MPOL_BIND | MPOL_F_STATIC_NODES.”h]”hŒuFor example, mpol=bind=static:NodeList, is the equivalent of an allocation policy of MPOL_BIND | MPOL_F_STATIC_NODES.”…”�”}”(hjLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KÆhhÊh²hubhÞ)�”}”(hX/Note that trying to mount a tmpfs with an mpol option will fail if the running kernel does not support NUMA; and will fail if its nodelist specifies a node which is not online. If your system relies on that tmpfs being mounted, but from time to time runs a kernel built without NUMA capability (perhaps a safe recovery kernel), or with fewer nodes online, then it is advisable to omit the mpol option from automatic mount options. It can be added later, when the tmpfs is already mounted on MountPoint, by 'mount -o remount,mpol=Policy:NodeList MountPoint'.”h]”hX3Note that trying to mount a tmpfs with an mpol option will fail if the running kernel does not support NUMA; and will fail if its nodelist specifies a node which is not online. If your system relies on that tmpfs being mounted, but from time to time runs a kernel built without NUMA capability (perhaps a safe recovery kernel), or with fewer nodes online, then it is advisable to omit the mpol option from automatic mount options. It can be added later, when the tmpfs is already mounted on MountPoint, by ‘mount -o remount,mpol=Policy:NodeList MountPoint’.”…”�”}”(hjZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KÉhhÊh²hubhÞ)�”}”(hŒNTo specify the initial root directory you can use the following mount options:”h]”hŒNTo specify the initial root directory you can use the following mount options:”…”�”}”(hjhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KÓhhÊh²hubjü)�”}”(hhh]”j)�”}”(hhh]”(j)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jhjyubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K"uh1jhjyubj)�”}”(hhh]”(j!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒmode”h]”hŒmode”…”�”}”(hj™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K×hj–ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj“ubj&)�”}”(hhh]”hÞ)�”}”(hŒ"The permissions as an octal number”h]”hŒ"The permissions as an octal number”…”�”}”(hj°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K×hj­ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj“ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj�ubj!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒuid”h]”hŒuid”…”�”}”(hjÐh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KØhjÍubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjÊubj&)�”}”(hhh]”hÞ)�”}”(hŒ The user id”h]”hŒ The user id”…”�”}”(hjçh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KØhjäubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjÊubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj�ubj!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒgid”h]”hŒgid”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KÙhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj ubj&)�”}”(hhh]”hÞ)�”}”(hŒ The group id”h]”hŒ The group id”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KÙhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjyubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jhjvubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhhÊh²hh³hÇh´NubhÞ)�”}”(hŒŽThese options do not have any effect on remount. You can change these parameters with chmod(1), chown(1) and chgrp(1) on a mounted filesystem.”h]”hŒŽThese options do not have any effect on remount. You can change these parameters with chmod(1), chown(1) and chgrp(1) on a mounted filesystem.”…”�”}”(hjK h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KÜhhÊh²hubhÞ)�”}”(hŒWtmpfs has a mount option to select whether it will wrap at 32- or 64-bit inode numbers:”h]”hŒWtmpfs has a mount option to select whether it will wrap at 32- or 64-bit inode numbers:”…”�”}”(hjY h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KàhhÊh²hubjü)�”}”(hhh]”j)�”}”(hhh]”(j)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jhjj ubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jhjj ubj)�”}”(hhh]”(j!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒinode64”h]”hŒinode64”…”�”}”(hjŠ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kähj‡ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj„ ubj&)�”}”(hhh]”hÞ)�”}”(hŒUse 64-bit inode numbers”h]”hŒUse 64-bit inode numbers”…”�”}”(hj¡ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kähjž ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj„ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj� ubj!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒinode32”h]”hŒinode32”…”�”}”(hjÁ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kåhj¾ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj» ubj&)�”}”(hhh]”hÞ)�”}”(hŒUse 32-bit inode numbers”h]”hŒUse 32-bit inode numbers”…”�”}”(hjØ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KåhjÕ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hj» ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj� ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjj ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jhjg ubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhhÊh²hh³hÇh´NubhÞ)�”}”(hXµOn a 32-bit kernel, inode32 is implicit, and inode64 is refused at mount time. On a 64-bit kernel, CONFIG_TMPFS_INODE64 sets the default. inode64 avoids the possibility of multiple files with the same inode number on a single device; but risks glibc failing with EOVERFLOW once 33-bit inode numbers are reached - if a long-lived tmpfs is accessed by 32-bit applications so ancient that opening a file larger than 2GiB fails with EINVAL.”h]”hXµOn a 32-bit kernel, inode32 is implicit, and inode64 is refused at mount time. On a 64-bit kernel, CONFIG_TMPFS_INODE64 sets the default. inode64 avoids the possibility of multiple files with the same inode number on a single device; but risks glibc failing with EOVERFLOW once 33-bit inode numbers are reached - if a long-lived tmpfs is accessed by 32-bit applications so ancient that opening a file larger than 2GiB fails with EINVAL.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KèhhÊh²hubhÞ)�”}”(hŒÂSo 'mount -t tmpfs -o size=10G,nr_inodes=10k,mode=700 tmpfs /mytmpfs' will give you tmpfs instance on /mytmpfs which can allocate 10GB RAM/SWAP in 10240 inodes and it is only accessible by root.”h]”hŒÆSo ‘mount -t tmpfs -o size=10G,nr_inodes=10k,mode=700 tmpfs /mytmpfs’ will give you tmpfs instance on /mytmpfs which can allocate 10GB RAM/SWAP in 10240 inodes and it is only accessible by root.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KðhhÊh²hubhÞ)�”}”(hŒMtmpfs has the following mounting options for case-insensitive lookup support:”h]”hŒMtmpfs has the following mounting options for case-insensitive lookup support:”…”�”}”(hj! h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KôhhÊh²hubjü)�”}”(hhh]”j)�”}”(hhh]”(j)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jhj2 ubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K>uh1jhj2 ubj)�”}”(hhh]”(j!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒcasefold”h]”hŒcasefold”…”�”}”(hjR h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K÷hjO ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjL ubj&)�”}”(hhh]”hÞ)�”}”(hŒÖEnable casefold support at this mount point using the given argument as the encoding standard. Currently only UTF-8 encodings are supported. If no argument is used, it will load the latest UTF-8 encoding available.”h]”hŒÖEnable casefold support at this mount point using the given argument as the encoding standard. Currently only UTF-8 encodings are supported. If no argument is used, it will load the latest UTF-8 encoding available.”…”�”}”(hji h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K÷hjf ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjL ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjI ubj!)�”}”(hhh]”(j&)�”}”(hhh]”hÞ)�”}”(hŒstrict_encoding”h]”hŒstrict_encoding”…”�”}”(hj‰ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kûhj† ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjƒ ubj&)�”}”(hhh]”hÞ)�”}”(hŒ³Enable strict encoding at this mount point (disabled by default). In this mode, the filesystem refuses to create file and directory with names containing invalid UTF-8 characters.”h]”hŒ³Enable strict encoding at this mount point (disabled by default). In this mode, the filesystem refuses to create file and directory with names containing invalid UTF-8 characters.”…”�”}”(hj  h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kûhj� ubah}”(h]”h ]”h"]”h$]”h&]”uh1j%hjƒ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjI ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhj2 ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jhj/ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhhÊh²hh³hÇh´NubhÞ)�”}”(hXThis option doesn't render the entire filesystem case-insensitive. One needs to still set the casefold flag per directory, by flipping the +F attribute in an empty directory. Nevertheless, new directories will inherit the attribute. The mountpoint itself cannot be made case-insensitive.”h]”hX!This option doesn’t render the entire filesystem case-insensitive. One needs to still set the casefold flag per directory, by flipping the +F attribute in an empty directory. Nevertheless, new directories will inherit the attribute. The mountpoint itself cannot be made case-insensitive.”…”�”}”(hjÍ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MhhÊh²hubhÞ)�”}”(hŒ Example::”h]”hŒExample:”…”�”}”(hjÛ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MhhÊh²hubj�)�”}”(hŒw$ mount -t tmpfs -o casefold=utf8-12.1.0,strict_encoding fs_name /mytmpfs $ mount -t tmpfs -o casefold fs_name /mytmpfs”h]”hŒw$ mount -t tmpfs -o casefold=utf8-12.1.0,strict_encoding fs_name /mytmpfs $ mount -t tmpfs -o casefold fs_name /mytmpfs”…”�”}”hjé sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j€h³hÇh´MhhÊh²hubhŒ field_list”“”)�”}”(hhh]”(hŒfield”“”)�”}”(hhh]”(hŒ field_name”“”)�”}”(hŒAuthor”h]”hŒAuthor”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjþ h³hÇh´KubhŒ field_body”“”)�”}”(hŒ'Christoph Rohland , 1.12.01”h]”hÞ)�”}”(hj h]”(hŒChristoph Rohland <”…”�”}”(hj h²hh³Nh´NubhŒ reference”“”)�”}”(hŒ cr@sap.com”h]”hŒ cr@sap.com”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:cr@sap.com”uh1j hj ubhŒ >, 1.12.01”…”�”}”(hj h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´M hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjþ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jü h³hÇh´M hjù h²hubjý )�”}”(hhh]”(j )�”}”(hŒUpdated”h]”hŒUpdated”…”�”}”(hjI h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjF h³hÇh´Kubj )�”}”(hŒHugh Dickins, 4 June 2007”h]”hÞ)�”}”(hjY h]”hŒHugh Dickins, 4 June 2007”…”�”}”(hj[ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MhjW ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjF ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jü h³hÇh´M hjù h²hubjý )�”}”(hhh]”(j )�”}”(hŒUpdated”h]”hŒUpdated”…”�”}”(hjw h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjt h³hÇh´Kubj )�”}”(hŒKOSAKI Motohiro, 16 Mar 2010”h]”hÞ)�”}”(hj‡ h]”hŒKOSAKI Motohiro, 16 Mar 2010”…”�”}”(hj‰ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Mhj… ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjt ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jü h³hÇh´Mhjù h²hubjý )�”}”(hhh]”(j )�”}”(hŒUpdated”h]”hŒUpdated”…”�”}”(hj¥ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj¢ h³hÇh´Kubj )�”}”(hŒChris Down, 13 July 2020”h]”hÞ)�”}”(hjµ h]”hŒChris Down, 13 July 2020”…”�”}”(hj· h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Mhj³ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj¢ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jü h³hÇh´Mhjù h²hubjý )�”}”(hhh]”(j )�”}”(hŒUpdated”h]”hŒUpdated”…”�”}”(hjÓ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjÐ h³hÇh´Kubj )�”}”(hŒAndré Almeida, 23 Aug 2024”h]”hÞ)�”}”(hjã h]”hŒAndré Almeida, 23 Aug 2024”…”�”}”(hjå h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Mhjá ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjÐ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jü h³hÇh´Mhjù h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j÷ hhÊh²hh³hÇh´M ubeh}”(h]”Œtmpfs”ah ]”h"]”Œtmpfs”ah$]”h&]”uh1hÈhhh²hh³hÇh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÇuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)�”}”(hÍNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”j%Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”j. Œerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÇŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”j j sŒ nametypes”}”j ‰sh}”j hÊsŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.