ramdisk

From KlavoWiki
Revision as of 10:11, 31 January 2022 by David (Sọ̀rọ̀ | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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