[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Disadvantages of having /tmp as a symlink



On Friday, 21.01.2005 at 08:38 -0500, Jason Rennie wrote:

> On Fri, Jan 21, 2005 at 10:14:28AM +0000, Dave Ewart wrote:
> > Typically, /tmp is flushed at boot up.  Don't know if symlinking it
> > may stop that happening or not - probably depends on your config.
> 
> Speaking of /tmp being flushed at boot, is there an easy (i.e.
> dpkg-reconfigure) way to change the policy so that files are only
> deleted after (e.g.) 30 days?

Check the file /etc/default/rcS ... I believe you just need to change
that, for the behaviour at boot up.

If your system is going to be always-on and you wish to have /tmp kept
pruned, investigate the package tmpreaper.

Dave.
-- 
Dave Ewart - davee@sungate.co.uk - jabber: davee@jabber.org
All email from me is now digitally signed, key from http://www.sungate.co.uk/
Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92

Attachment: signature.asc
Description: Digital signature


Reply to: