Commit 2810d3
2026-01-31 03:44:47 Anonymous: tmpfs 1| /dev/null .. tmpfs.md | |
| @@ 0,0 1,15 @@ | |
| + | # Tmpfs |
| + | |
| + | =====TMPFS===== |
| + | |
| + | The tmpfs facility allows the creation of filesystems whose |
| + | contents reside in virtual memory. Since the files on such |
| + | filesystems typically reside in RAM, file access is extremely |
| + | fast. |
| + | |
| + | to run a directory or file in tmpfs you need to edit /etc/fstab |
| + | |
| + | |
| + | <code>tmpfs /tmp tmpfs nodev,nosuid,noexec,nodiratime,size=5G 0 0</code> |
| + | |
| + | <code>tmpfs /home/user/.cache tmpfs nodev,nosuid,noexec,nodiratime,size=5G 0 0</code> |
