I want to make a partition that is made of ram ...
Example
In windows 7 you can make a partition that is made of ram
I have created 1 GB of partition in ram . using Primo RamDisk
Is there any good Alternative in Ubuntu ?
I want to make a partition that is made of ram ...
Example
In windows 7 you can make a partition that is made of ram
I have created 1 GB of partition in ram . using Primo RamDisk
Is there any good Alternative in Ubuntu ?
Source: How To Create A RAMDISK In Linux
The tmpfs filesystem is a RAMDISK. The following will create a 2G RAMDISK that will always be available.
The ramdisk folder is owned by root as it is to be available on reboot. The ramdisk permissions should be writeable by everyone. The tmpfs default permissions (chmod 1777) are correct.
To make the ramdisk permanently available, add it to /etc/fstab.
You will see the line moved from mtab to fstab. It will look something like this.
The RAMDISK won't consume memory until you use it. Double check your memory requirements during maximum system load. If the RAMDISK is too large, your system will consume swap storage to make up the difference.
To adjust the size of the RAMDISK, edit /etc/fstab and verify by remounting the ramdisk (you will lose your current RAMDISK content as you will on reboot). The following will change the size of the ramdisk to 512M
Adding my 2-cent for the case you don't have root-privileges:
Quoting from this answer from unix.stackexchange