From BStegmaier

Jump to: navigation, search

Fast temporary file system in virtual memory

Requirements

  • Linux kernel >= 2.4
kernel config
CONFIG_TMPFS=TRUE


Usage

  • Allocate 2G of ram/swap with 10240 inodes in maximum, which is accessible by all users
mount -t tmpfs -o size=2G,nr_inodes=10k,mode=777 tmpfs mountpoint
  • Enlarge the virtual volume
mount -o remount,size=4G mointpoint