On Monday 05 January 2009 11:58:44 Kaushal Shriyan wrote: > Hi > > when i rebooted Gentoo Linux Server, the /tmp folders got cleaned up. > Is there a way i can prevent it from cleaning it up.
WHY? The correct usage of /tmp per the standard is: "Files in this directory must not be expected to persist past successive invocations of a command" never mind persisting over reboots... > Also I know that the /tmp directory should not be used for storing > important files. grep is your friend: a...@nazgul ~ $ grep -r tmp /etc/conf.d/* /etc/conf.d/bootmisc:# List of /tmp directories we should clean up /etc/conf.d/bootmisc:wipe_tmp_dirs="/tmp" /etc/conf.d/bootmisc:# Should we wipe the tmp paths completely or just selectively remove known /etc/conf.d/bootmisc:wipe_tmp="YES" /etc/conf.d/dmcrypt:##/tmp with regular keyfile /etc/conf.d/dmcrypt:#target=crypt-tmp /etc/conf.d/dmcrypt:#key='/full/path/to/tmpkey' so it's /etc/conf.d/bootmisc -- alan dot mckinnon at gmail dot com

