[Herts] Making a ramdisk for linux

local.linux local.linux at jumpstation.co.uk
Thu May 14 10:55:05 UTC 2009

You can create a disk in the RAM and then use it like any other disk (of 
course it does not survive reboots).

simplest usage takes 50% of your ram.
mkdir /mnt/ramdisk && mount -t tmpfs none /mnt/ramdisk 

more complex example can be tweaked.
mount -t tmpfs -o size=1G,nr_inodes=10k,mode=0700 tmpfs /space
(wikipedia http://en.wikipedia.org/wiki/TMPFS)


More information about the Herts mailing list