14-12-2023, 03:26 AM
BTW singlion OS is now using volatile RAM ramfs ram file system
whole disk whole partition can be used and u no need to worry abt size just start with any initial size say 512
step1: Create a folder to use as a mount point for your RAM disk.
mkdir /mnt/ramdisk
step2:mount -t ramfs -o size=512m ramfs /mnt/ramdisk
step3 : make persistence after a reboot
nano /etc/fstab
add this line :
ramfs /mnt/ramdisk ramfs nodev,nosuid,noexec,nodiratime,size=1024M 0 0
whole disk whole partition can be used and u no need to worry abt size just start with any initial size say 512
step1: Create a folder to use as a mount point for your RAM disk.
mkdir /mnt/ramdisk
step2:mount -t ramfs -o size=512m ramfs /mnt/ramdisk
step3 : make persistence after a reboot
nano /etc/fstab
add this line :
ramfs /mnt/ramdisk ramfs nodev,nosuid,noexec,nodiratime,size=1024M 0 0