I've been shortly using this on Linux Debian Jessie to create a RAM disk:mount -o size=1G -t tmpfs none /mnt/tmpfsBut I was told it doesn't reserve memory, which I didn't know. I would like a solution, which does reserve memory.
How to create real RAM disk that reserves memory
tmpfs;ramdisk
Add it to your /etc/fstab:tmpfs   /mnt/tmpfs  tmpfs   defaults,size=1g,mode=1777  0 0You may also need to rebuild your initramfs, e.g.:sudo update-initramfs -u -k $(uname -r)or, to rebuild the initramfs for all kernels:sudo update-initramfs -u -k allBTW, tmpfs doesn't reserve any memory - a tmpfs filesystem only uses as much memory as required by the files it contains (and any file/directory overhead).