e01.org

Tmpfs

tmpfs (short for temporary file system) is a temporary file storage paradigm implemented in many Unix-like operating systems. It is intended to appear as a mounted file system, but data is stored in volatile memory rather than on a persistent storage device. The idea behind tmpfs is similar to that of a RAM disk, in that both provide a file system stored in volatile memory; however, the implementations differ. While tmpfs is implemented at the logical file system layer, a RAM disk is implemented at the physical file system layer. In other words, a RAM disk is a virtual block device with a normal file system running on top of it, while tmpfs is a virtual file system without any underlying block device.

tmpfs (short for temporary file system) is a temporary file storage paradigm implemented in many Unix-like operating systems. It is intended to appear as a mounted file system, but data is stored in volatile memory rather than on a persistent storage device. The idea behind tmpfs is similar to that of a RAM disk, in that both provide a file system stored in volatile memory; however, the implementations differ. While tmpfs is implemented at the logical file system layer, a RAM disk is implemented at the physical file system layer. In other words, a RAM disk is a virtual block device with a normal file system running on top of it, while tmpfs is a virtual file system without any underlying block device. ==References== ==External links==

References

  1. ^ Brockmeier, Joe (2024-06-03). "Debian's /tmpest in a teapot" . LWN.net . Retrieved 2025-08-29 . Wikipedia revision 1378831564, retrieved 2026-11-19 · 1756422000.0
  2. ^ Julio M. Merino Vidal (2006-02-24). "NetBSD-SoC: Efficient memory file-system" . Retrieved 2013-02-15 . Wikipedia revision 1378831564, retrieved 2026-11-19 · 1360882800.0
  3. ^ Xin LI (2013-04-23). "FreeBSD tmpfs(5) manpage" . Retrieved 2008-12-02 . Wikipedia revision 1378831564, retrieved 2026-11-19 · 1228172400.0
  4. ^ "CVS: cvs.openbsd.org: src - enable tmpfs so it gets tested some more" . Wikipedia revision 1378831564, retrieved 2026-11-19 · 1795042800.0
  5. ^ "OpenBSD 5.5" . 2014-05-01 . Retrieved 2014-05-01 . Wikipedia revision 1378831564, retrieved 2026-11-19 · 1398898800.0
  6. ^ "tmpfs mounts" . Docker Docs . Retrieved 2026-10-05 . Wikipedia revision 1378831564, retrieved 2026-11-19 · 1791154800.0
  7. ^ "Control Group v2" . The Linux Kernel documentation . Retrieved 2026-10-05 . Wikipedia revision 1378831564, retrieved 2026-11-19 · 1791154800.0
  8. ^ Peter Snyder. "tmpfs: A Virtual Memory File System" (PDF) . Archived from the original (PDF) on 2025-03-11 . Retrieved 2007-05-07 . Wikipedia revision 1378831564, retrieved 2026-11-19 · 1178492400.0
  9. ^ Hal L. Stern. "SunOS 4.1 Performance Tuning" . Archived from the original ( GZipped PostScript) on 2012-02-07 . Retrieved 2007-05-07 . Wikipedia revision 1378831564, retrieved 2026-11-19 · 1178492400.0
  10. ^ "SPARC: Installing Solaris Software" (PDF) . SunSoft. December 1992. p. 9 . Retrieved April 23, 2019 . Wikipedia revision 1378831564, retrieved 2026-11-19 · 1795042800.0
  11. ^ "Solaris Operating System (Unix)" . operating-system.org . Wikipedia revision 1378831564, retrieved 2026-11-19 · 1795042800.0
  12. ^ Daniel Robbins (2001-09-01). "Common threads: Advanced filesystem implementor's guide, Part 3" . IBM DeveloperWorks. Archived from the original on 2012-02-03 . Retrieved 2013-02-15 . Wikipedia revision 1378831564, retrieved 2026-11-19 · 1360882800.0
  13. ^ Christoph Rohland; Hugh Dickins; KOSAKI Motohiro. "tmpfs.txt" . kernel.org . Retrieved 2010-03-16 . Wikipedia revision 1378831564, retrieved 2026-11-19 · 1268694000.0
  14. ^ "NetBSD mount_mfs(8) man page" . 2007-12-08. Archived from the original on 2016-04-16 . Retrieved 2013-02-15 . Wikipedia revision 1378831564, retrieved 2026-11-19 · 1360882800.0
  15. ^ Daniel Robbins (2001-09-01). "Common threads: Advanced filesystem implementor's guide, Part 3" . IBM DeveloperWorks. Archived from the original on 2012-02-03 . Retrieved 2013-02-15 . Wikipedia revision 1378831564, retrieved 2026-11-19 · 1360882800.0
  16. ^ a b c "Files in an in-memory /tmp count against a container's memory limit" . Whisk . 2026-10-05 . Retrieved 2026-10-05 . Wikipedia revision 1378831564, retrieved 2026-11-19 · 1791154800.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Tmpfs". 1791276163. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1378831564

JSON record · API collection · citation policy