Ramdisk

From Linuxintro
Revision as of 06:28, 5 August 2010 by imported>ThorstenStaerk

A Ramdisk in Linux can be created on the /tmp folder using the command

mount -t tmpfs tmpfs /tmp -o size=512M

In this case, the Ramdisk will be 512MB big.

Increase size

To increase the Ramdisk's size without loosing a file, use

mount -t tmpfs tmpfs /tmp -o size=1024M,remount