How to prevent Linux from deleting temporary files on shutdown

Posted by Rajorshi on Server Fault See other posts from Server Fault or by Rajorshi
Published on 2010-06-02T16:24:32Z Indexed on 2010/06/02 16:44 UTC
Read the original article Hit count: 302

Hi, 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?

© Server Fault or respective owner

How to prevent Linux from deleting temporary files on shutdown

Posted by Rajorshi on Stack Overflow See other posts from Stack Overflow or by Rajorshi
Published on 2010-06-02T16:24:32Z Indexed on 2010/06/02 16:34 UTC
Read the original article Hit count: 302

Hi, 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?

© Stack Overflow or respective owner

Related posts about linux

Related posts about temporary-files