Re: Uploaded tmpreaper 1.4.8 (source i386) to master
Joey Hess <email@example.com> writes:
> I can't say I agree. It feels like a hack. What if the ssh-agent is running,
> but suspended, for several days?
> I just had a wacky idea - why not use something similar to lsof to
> figure out what processes have files in /tmp open. If any process
> have a file open, don't delete it. Would that be a more general
> solution? (It might slow tmpreaper down too much, though).
Now that sounds like a better idea if it would work, but just like the
"touching idea", you'd have to make sure that all the relevant
programs actually keep the file open, and don't just open it when they
Rob Browning <firstname.lastname@example.org> PGP=E80E0D04F521A094 532B97F5D64E3930