Penguin
Note: You are viewing an old revision of this page. View the current version.

A FileSystem that uses memory to simulate a traditional disk partition in order to offer greatly accelerated access times to its contents. In constrast to a RamDisk it does not simulate a block device, so it can grow and shrink as needed to accomodate the files it hosts. Together with the large amounts of RAM modern machines are typically equipped with, its impact on the memory available to other processes is nowadays often negligible. Because it does not occupy a disk Partition, files stored on a Tmpfs vanish when the system shuts down.

Any partition that will have many, frequently accessed, small files which do not require permanent storage is a good candidate for Tmpfs. Of all the directories in the FileSystemHierarchy, /tmp is the canonical candidate.