I am using Ubutu 10.04. I have some apps that create a few temporary files in /tmp/<file> as part of their shutdown process. I want to inspect those files when the apps are closed in the event of a system shutdown. However, when the system comes up again I find that all temporary files have been deleted. How can I ask the system not to clear the files in /tmp/ on shutdown?
|
|
|||
|
|
migrated from stackoverflow.com Jun 2 '10 at 16:33
|
Instead of trying to preserve |
|||
|
|
|
you could change the times that files in /tmp have to be modified in order to delete them. but if you configure your linux distro to keep the files /tmp for ever and/or a long time then you hard disk will be filled with useless (or not) files in /tmp directory .. take a look here |
|||
|
|
You can define when files from The default value of these variable is But you can set |
|||
|
|