[clug] Debian /tmp cleaning on boot

Rob Weir rweir at ertius.org
Fri May 23 22:13:20 EST 2003


Hi, y'all

A couple of people last night were commenting on how Debian cleans out
/tmp on boot, so I thought I'd have a look to see how hard it is to
disable.

Turns out it's quite easy: either edit /etc/init.d/bootmisc.sh to remove
the cleaning completely (look for $TMPTIME), or bump up TMPTIME in
/etc/default/rcS so that it only deletes stuff older than $TMPTIME days
(the default is 0 aka delete everything).

-- 
Rob Weir <rweir at ertius.org>  |   mlspam at ertius.org   |   http://www.ertius.org/
GPG keys: 1024D/1E73B7CD, 4096R/3ABDE5EC     |      Do I look like I want a CC?
Words of the day:   Rand Corporation security War Crimes CISU ammunition secure
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux/attachments/20030523/880bfe32/attachment.bin


More information about the linux mailing list