Differences between tmp folders
I'd like to know more about the differences and purposes of all the tmp directories I can find on my Fedora system. Which program uses which tmp folder?
- /tmp
- /usr/tmp (links to /var/tmp)
- /var/tmp
and there is more...
- /run/tmpfiles.d
- /etc/tmpfiles.d
- /usr/lib/tmpfiles.d
- /var/lib/selinux/tmp
- /var/spool/cups/tmp (ok, that's maybe some printer related temp data. I accept) -...
What are all these?
Do you recommend locating more than just /tmp
into RAM?
(here is my fstab
:
none on /tmp type tmpfs (rw,relatime,seclabel,size=399352k)
)