On Thu, 20 Apr 2000, Bill Trost wrote: > Ian Clarke writes: > > > if you close the node between the time that the objects are > > > removed and it is garabage collected, you will be left with > > > the files. > > So force garbage collection at node closure time, perhaps.
Feel free to tell us the not deprecated method for doing this. > I prefer the idea of doing a cleanup when the DataStore > initialises (ie. all files not referenced in the .freenet > directory are deleted). > > Be careful to add port numbers to the data files, so that one Node > doesn't blow away another's files. My recomendation would be that files are removed during the cleanUpData() method. > > _______________________________________________ > Freenet-dev mailing list > Freenet-dev at lists.sourceforge.net > http://lists.sourceforge.net/mailman/listinfo/freenet-dev -- Oskar Sandberg md98-osa at nada.kth.se #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1 lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/) _______________________________________________ Freenet-dev mailing list Freenet-dev at lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/freenet-dev
