Mailinglist Archive: opensuse (3202 mails)

< Previous Next >
Re: [opensuse] tmp folder cleanup
  • From: Aaron Kulkis <akulkis00@xxxxxxxxxx>
  • Date: Tue, 13 Nov 2007 22:15:36 -0500
  • Message-id: <473A6858.6000500@xxxxxxxxxx>
Jeffrey L. Taylor wrote:
Quoting Jaco Carlson <jaco@xxxxxxxxxxx>:
Can you safely delete all files in /tmp?


Many will be in use. It is not a good idea to delete them. It is safe to
delete those from before the last reboot. Reboot, not resume from
suspend/hibernate.


A files which is in use will not be re-allocated until after
the process which is using it does a close() on the file handle.

Unless a program is written very stupidly (close a tmp file,
and then attempts to re-open it), removing files in /tmp
should be entirely safe.



--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >