Linux Ramdisk mini-HOWTO

(via www.vanemery.com)

What is a RAM disk? A RAM disk is a portion of RAM which is being used as if it were a disk drive. RAM disks have fixed sizes, and act like regular disk partitions. Access time is much faster for a RAM disk than for a real, physical disk. However, any data stored on a RAM disk is lost when the system is shut down or powered off. RAM disks can be a great place to store temporary data...

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mount tmpfs to /tmp

# mount -t tmpfs none /tmp -o size=200M,mode=1777,noexec,nosuid,nodev

or add the below to fstab file:

none  /tmp    tmpfs   size=200M,mode=1777,noexec,nosuid,nodev    0 0  

Comment