linux

Increase the size of tmpfs and leave files intact

very cool trick

Increase the size of a ramdisk:

mount -t tmpfs tmpfs /tmp -o size=2000M,mode=1777,remount

This increases the ramdisk’s size to 2000M. No file is destroyed.

Read more: http://wiki.linuxquestions.org/wiki/Tmpfs#ixzz13amAsYk1