ramdisk

From KlavoWiki
Jump to navigationJump to search

To create a RAM Disk.

Create folder for directory linking.

sudo mkdir /mnt/ramdisk
sudo chmod 777 /mnt/ramdisk


Manaully mount disk.

 mount -t tmpfs -o size=32m ramdisk /mnt/ramdisk 

Automatically mount disk at boot.

 vi /etc/fstab 
 ramdisk  /mnt/ramdisk  tmpfs  defaults,size=32M,x-gvfs-show  0  0