On Wed, Feb 25, 2009 at 10:15:18PM +0900, Junichi Uekawa wrote: > Or, a policy of cleaning directories which have existed since before > the last reboot might be a good idea. > > Something along the lines of /etc/init.d/pbuilder-clean ....
If you decide to go that way, please also document a way to do that on a time basis (e.g. via cron assuming a given "expiration" delay for .cow directories). Nowadays machine are shutdown less and less often (laptops which only go to sleep, and virtual machines which as far as the kernel is concerned never reboot), so I won't be happy of having that performed only at boot time. Actually, I was even thinking of using tmpreaper to clean that dirs, but as you observed it can be dangerous. Cheers. -- Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7 z...@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/ Dietro un grande uomo c'è ..| . |. Et ne m'en veux pas si je te tutoie sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime
signature.asc
Description: Digital signature