APP: RamDisk

Home Forums Operating Systems Linux APP: RamDisk

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #853
    Voodoo
    Keymaster

    Before starting, make sure you run the following to be updated.

    sudo apt update && sudo apt upgrade

    After you are updated and upgraded, create your directory to link your RamDisk mount to by typing in (remember to change the %USER% to your actual user name):

    mkdisk -p /media/%USER%/RamDisk/

    Then, open up the fstab file by typing the following:

    sudo xed /etc/fstab

    Then add the following line (Again, remember to change the %USER% to your actual user name and whatever size you want. This example is for a 4GB file. AND ensure your spacing…):

    RamDisk  /media/%USER%/RamDisk  tmpfs  defaults,size=4G,x-gvfs-show  0  0

    Last of all, you can do the following to see if it maps properly or if you end up with an error:

    sudo mount -a
    • This topic was modified 3 weeks, 1 day ago by Voodoo.
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar