filesystem, formerly known as , is a filesystem keeping all
files in virtual memory. Everything in tmpfs is temporary in the
sense that no files will be created on any device. 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. It has maximum size
limits which can be adjusted on the fly via 'mount -o remount
...' If you compare it to (which was the template to create you
gain swapping and limit checking. Another similar thing is the
RAM ), which simulates a fixed size hard disk in physical RAM,
where you have to create an ordinary filesystem on top. Ramdisks
cannot swap and you do not have the possibility to resize them.
tmpfs has a couple of mount options: size: The limit of
allocated bytes for this tmpfs instance. The default is half of
your physical RAM without swap. If you oversize your tmpfs
instances the machine will deadlo