A RAM Disk is nothing more than storage set up in Ram that presents itself and acts exactly like a drive would. You can save and write files into a Ram disk exactly as if its was a physical drive like a hard drive or an SSD. The advantages of a Ram Disk is speed and it prevents wear and tear on physical drive incurred when data is written to them. Or read in the case of a hard drive.
Create a place for your RAM Drive
Make a backup of the file you edit.
and add this code to the bottom of the file. In this example I will create a 2gig RAM Drive: See the size=2G
. You can change this to what your system will allow.
Code: Select all
tmpfs /mnt/RAM_disk tmpfs rw,size=2G,x-gvfs-show 0 0
Your RAM Disk will be available on reboot. Or you could mount is with
How to Create a RAM Disk
Give the Present User Permission to use this Directory