Blame
| 2810d3 | Anonymous | 2026-01-31 03:44:47 | 1 | # Tmpfs |
| 2 | ||||
| 3 | =====TMPFS===== |
|||
| 4 | ||||
| 5 | The tmpfs facility allows the creation of filesystems whose |
|||
| 6 | contents reside in virtual memory. Since the files on such |
|||
| 7 | filesystems typically reside in RAM, file access is extremely |
|||
| 8 | fast. |
|||
| 9 | ||||
| 10 | to run a directory or file in tmpfs you need to edit /etc/fstab |
|||
| 11 | ||||
| 12 | ||||
| 13 | <code>tmpfs /tmp tmpfs nodev,nosuid,noexec,nodiratime,size=5G 0 0</code> |
|||
| 14 | ||||
| 15 | <code>tmpfs /home/user/.cache tmpfs nodev,nosuid,noexec,nodiratime,size=5G 0 0</code> |
