Tmpfs
Table of Contents
Tmpfs
Tmpfs[1] is a file system which keeps all of its files in virtual memory.
Tmpfs builds on top of ramfs.
While ramfs can grow without bounds and consume all available memory, tmpfs introduces size limits and memory management.
Even with these safeguards, when /tmp is backed by tmpfs, its usable size is generally far more limited than disk-backed storage, making it risky for handling large temporary files.
/tmp is now tmpfs

As noted in the Amazon Linux 2023 release notes[2], /tmp is now implemented as tmpfs instead of a disk-backed directory.
Leave a comment