You are not logged in.

#1 2021-04-27 09:26

Hukożęszczybręszczyżewicz
Member
From: Poland (Sopot)
Registered: 2021-04-26
Posts: 10
Website

How to make RAMDISK in the Q4OS Trinity system?

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

#2 2021-04-27 13:16

aluma
Member
From: Ukraine
Registered: 2018-03-12
Posts: 136

Re: How to make RAMDISK in the Q4OS Trinity system?

Hukożęszczybręszczyżewicz wrote:

...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

#3 2021-04-27 14:14

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,333

Re: How to make RAMDISK in the Q4OS Trinity system?

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

#4 2021-04-27 15:43

Hukożęszczybręszczyżewicz
Member
From: Poland (Sopot)
Registered: 2021-04-26
Posts: 10
Website

Re: How to make RAMDISK in the Q4OS Trinity system?

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

Board footer

Powered by FluxBB