this post was submitted on 14 Jul 2024
266 points (94.0% liked)

Linux

48372 readers
951 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Shameless plug: I am the author.

you are viewing a single comment's thread
view the rest of the comments
[–] tabular 1 points 4 months ago* (last edited 4 months ago) (1 children)
[–] [email protected] 1 points 4 months ago (1 children)

It's empty lol, it's a directory on tmpfs that i use to build programs and similar stuff to not be hammering my ssd with unnecessary writes.

I have $XDG_CACHE_HOME in tmp as well and I moved the mesa sharer caches to $XDG_STATE_HOME as that's really the only thing so far I've needed to preserve.

[–] tabular 1 points 4 months ago* (last edited 4 months ago) (1 children)

tmpfs (..) to build programs (..) to not be hammering my ssd with unnecessary writes

Sounds useful. How did you setup the directory?

Running df tells me "tmpfs" is mounted on /run. If I build in that that directory then would it be stored in RAM, or do I need to do something else?

[–] [email protected] 3 points 4 months ago (1 children)

I have /tmp in my fstab with these mount options.

tmpfs /tmp tmpfs rw,noatime,size=20G 0 0

And the rest of the setup is done in my zprofile

[–] tabular 2 points 4 months ago* (last edited 4 months ago)

I think I should be able to get this working following your zprofile file. Thanks!