On Wednesday 14 November 2007 16:27:17 nordi wrote:
Aaron Kulkis wrote:
Jaco Carlson wrote:
Can you safely delete all files in /tmp?
Yes.
No!
Any files which are still in use will be in an OPEN status. The process which has the file open will have a handle to the file, and accesses the file through the handle (not the pathname).
Wrong. You are forgetting about Shell scripts.
Not to mention pipes and other things that aren't necessarily kept open all the time. After deleting /tmp/kde-<username> and /tmp/.ICE-unix the desktop wouldn't work quite so well. VirtualBox also uses sockets in /tmp to communicate, and it's fairly irrelevant if the server holds it open if the client can't see it anymore So no, it's not a very good idea to clear out /tmp while logged in. Safest (not strictly necessary, but better safe than sorry) is to go to runlevel 1, clean it out, then back to 5 Anders -- Madness takes its toll -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org