You are not logged in.
How to make RAMDISK in the Q4OS Trinity system?
I need to build a RAMDISK that will boot with the system. Size max. 2 GB.
All for cache Forefox.
I couldn't have had a computer if linux didn't exist ... & sorry for my English
Offline
...All for cache Forefox.
You don't need a ramdisk for this.
Sorry, link in Russian https://imhology.blogspot.com/2017/11/f … emoon.html
Offline
If you want to cache Firefox in RAM that's done via fstab.
Copy /etc/fstab to somewhere safe as a backup.
1. Edit /etc/fstab and add this to the existing entries - if the first line already exists then do not need to repeat it.
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
tmpfs /home/your username/.cache/mozilla tmpfs defaults,noatime 0 0
MAKE SURE YOU PRESS RETURN AFTER THE LAST LINE!
Use this entirely at your own risk - if you do not know how to undo it if it goes wrong then you should not do it in the first place.
Knowing how this works is useful as it allows you to the same with other stuff - especially bits of /var and /var/log that you may never want.
Offline
Version by Manjaro Linux (& Arch):
fstab:
myramdisk /tmp/ramdisk tmpfs defaults,size=4096m,x-gvfs-show 0 0
1. automount
2. autoremount
3. auto clear when pc is restarting
I couldn't have had a computer if linux didn't exist ... & sorry for my English
Offline