tmpfs how does it work?
Tmpfs is a file system which keeps all files in virtual memory. ... If you unmount a tmpfs instance, everything stored therein is lost. 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.