genge1 wrote:
-----Original Message----- From: Mads Martin Jørgensen [mailto:mmj@suse.com] /tmp is supposed to be wiped out with no reason whatsoever. So feel free to clean it up ;)
Too bad not everyone follows the /tmp is temp rule. The MySQL install on 6.5 and I am pretty sure 7.0 put a file in /tmp mysql.sock that if removed kills MySQL.
From the Filesystem Hierarchy Standard:
Although data stored in /tmp may be deleted in a site-specific manner, it is recommended that files and directories located in /tmp be deleted whenever the system is booted.
Programs shall not assume that any files or directories in /tmp are preserved between invocations of the program.
In other words, it's OK for programs to keep a file in /tmp as long as they are running. Postgres does the same thing. -- =============================================================== Glenn Holmer (gholmer@wi.rr.com) --------------------------------------------------------------- "Linux only became possible because 20 years of OS research was carefully studied, analyzed, discussed and thrown away." --------------------------------------------------------------- -Ingo Molnar, on the Linux kernel mailing list ===============================================================