Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Fedora 19 上运行,我意识到我的/tmp目录空间不足。
/tmp
试图找到解决方案我感到困惑。
大多数答案表明,以前版本的 Fedora 使用 tmwatch 作为 cron 作业,而我的 Fedora 19 并非如此。
实现此目的的其他方法可能是:
rm -rf /tmp*
甚至
find /tmp ...
这些命令在过滤当前可能有用的文件时被认为“不准确”以保存它们。
我的问题是:
是否有保持/tmp /var/tmp和/或其他*tmp目录健全的脚本?
/var/tmp
*tmp
在 /etc/fstab 中:
tmpfs /tmp tmpfs rw,seclabel 0 0
这一行将把 /tmp 放在 tmpfs 上。