5 ms·
Fedora did this long before debian. I remember doing wget of an .iso file on /tmp and my entire wayland session being killed by the OOM killer. I still think i
by guappa 1y ago
Fedora did this long before debian. I remember doing wget of an .iso file on /tmp and my entire wayland session being killed by the OOM killer.
I still think it's a terrible idea.
- nolist_policy 1y agoUse `/var/tmp` of you want a disk backed tmp.
- 1718627440 1y agoI thought /var/tmp is for applications while /tmp is for the user.
- Hendrikto 1y ago> /tmp/ > The place for small temporary files. This directory is usually mounted as a tmpfs instance, and should hence not be used for larger files. (Use /var/tmp/ for larger files.) This directory is usually flushed at boot-up. Also, files that are not accessed within a certain time may be automatically deleted. Source: https://uapi-group.org/specifications/specs/linux_file_system_hierarchy/ https://uapi-group.org/specifications/specs/linux_file_syste...
- guappa 1y agoBut that was written after the change was made :D
- styanax 1y agoTrivia: CIS Guidelines (security tasks applied to a server to pass an enhanced security audit to be compliant with a standard, in a soundbite) has an item requiring /var/tmp to be a bind mount to /tmp (as well as setting specific security options on /tmp). A server attempting to pass CIS audits (very common in my work-related experience w/Enterprises) may well not have a unique /var/tmp.
- throw0101c 1y ago> I thought /var/tmp is for applications while /tmp is for the user. /tmp is for stuff that is 'absolutely' temporary, in that on many/most systems it is nuked between reboots. /var/tmp is 'relatively' temporary in that applications can put stuff there that they're working on, but if there is a crash, the contents are not deleted and can be recovered across reboots.