Where else can tmpfs be mounted besides /tmp?

Dear Cracauer, this let me think, in fact some directories, i could mount read-only.
When i don't install packages /usr/local
When i don't upgrade system /sbin & /bin & /boot

But then maybe /sbin cannot be a mountable read-only partition. Who is gonna mount /sbin , which has /sbin/init ?

Even for /usr zfs mount did not worked, special line needed in fstab.
Code:
SSD/usr              /usr                zfs         rw                              0   0
 
~//.cache can contain data that, yes, is automatically re-created. But it can be very expensive, for example local LLMs can be stored there and you would have to re-download 100 GB per model. You don't want to do that after every reboot.
I tend to feel a 100GB model isn't a cache thing. It should be handled as proper data and stored somewhere less volatile.

I do want /var/cache and ~/.cache to be wiped each reboot to avoid clutter building up. Though admittedly, tmpfs and storing all this noise in RAM seems quite wasteful.
 
Kpederson, did analysis,
/tmp , almost nothing
/var/tmp , almost nothing
/home/myuser/.cache ,well half a gigabyte. Why browser. There is the stuff. On reboot let browser take this back.
 
Back
Top