Am 2006-02-20 14:17:32, schrieb Mike McCarty:
AFAICT, there isn't one. How can one know that some weird file
wasn't put there by some application or other, and intends to
open it in a day or two when it gets started again?
I have this case, where it makes no sense to put such files in
Hello all again.
So what do we do? What is the cron/multi-user safe way to clean up regularly
/tmp ?
I checked the way bootclean.sh is implemented:
if cd /tmp [ `find . -maxdepth 0 -perm -002` = . ]
then
# First remove all old files.
find .
Josep Serrano wrote:
Hello all again.
So what do we do? What is the cron/multi-user safe way to clean up regularly
/tmp ?
AFAICT, there isn't one. How can one know that some weird file
wasn't put there by some application or other, and intends to
open it in a day or two when it gets started
Tmpreaper probably does 'the right thing'
However, if you mount /tmp with noatime, I don't see how tmpreaper would
know what's safe to delete and what isn't. 'apt-cache show tmpreaper' says
that it goes by access time.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of
Do you guys clean regularly your /tmp ?
There's a nice script in /etc/init.d/bootclean.sh that does the job.
It is called from mountall.sh at boot time. And it is so nice that is reads the
configuration in /etc/default/rcS where you can set TMPTIME to the number of
days
you want hold old files
Do you guys clean regularly your /tmp ?
There's a nice script in /etc/init.d/bootclean.sh that does the job.
It is called from mountall.sh at boot time. And it is so nice that is reads the
configuration in /etc/default/rcS where you can set TMPTIME to the number of
days
you want hold old files
On Friday 17 February 2006 07:29, Josep Serrano wrote:
Do you guys clean regularly your /tmp ?
Yup. The tmpreaper package is great for that.
--
Paul Johnson
Email and IM (XMPP Google Talk): [EMAIL PROTECTED]
Jabber: Because it's time to move forward http://ursine.ca/Ursine:Jabber
--
To
On Friday 17 February 2006 07:29, Josep Serrano wrote:
Do you guys clean regularly your /tmp ?
Yup. The tmpreaper package is great for that.
Yes, tmpreaper does the job. But here I was preteding to simply reuse the
bootclean.sh by simply making a symlink. Why installing an addittional
Josep Serrano wrote:
On Friday 17 February 2006 07:29, Josep Serrano wrote:
Do you guys clean regularly your /tmp ?
Yup. The tmpreaper package is great for that.
Yes, tmpreaper does the job. But here I was preteding to simply reuse the
bootclean.sh by simply making a symlink. Why
Josep Serrano wrote:
Yes, tmpreaper does the job. But here I was preteding to simply reuse the
bootclean.sh by simply making a symlink. Why installing an addittional
package if
you already have the stuff to the the job?
Maybe I am wrong and it is a bad idea using bootclean.sh in crond ?
In article [EMAIL PROTECTED],
Mike McCarty [EMAIL PROTECTED] wrote:
Josep Serrano wrote:
On Friday 17 February 2006 07:29, Josep Serrano wrote:
Do you guys clean regularly your /tmp ?
Yup. The tmpreaper package is great for that.
Yes, tmpreaper does the job. But here I was preteding to
On Friday 17 February 2006 08:01, Josep Serrano wrote:
On Friday 17 February 2006 07:29, Josep Serrano wrote:
Do you guys clean regularly your /tmp ?
Yup. The tmpreaper package is great for that.
Yes, tmpreaper does the job. But here I was preteding to simply reuse the
bootclean.sh by
On Friday 17 February 2006 09:22, Joey Hess wrote:
Josep Serrano wrote:
Yes, tmpreaper does the job. But here I was preteding to simply reuse the
bootclean.sh by simply making a symlink. Why installing an addittional
package if you already have the stuff to the the job?
Maybe I am wrong
13 matches
Mail list logo