Did you ever implement this? I vote you commit it if it's not too awful. On Wed, May 21, 2003 at 02:47:46AM +1000, fish wrote: > So, considering the vmsta/cup load jni flamewar going on in another thread, > i should know better than to mention this now, but now was when i was motivated to > write the code :-p;. > > So, on my local tree I added an FCP command "StoreFreeDisk", with which one > can feed the current free disk space to freed, and with that a storePercent > config option to make the datastore grow to a maximum of n% of free disk space, as > was discussed on the list a while ago. > > of course, if you never feed it this FCP command, fred will just use the > specifed storeSize. the idea being that the windows minder program has this > funcionality, a linux minder could be a shell script which pipes to telnet > (which would work on other unixes that have df and telnet as well), > an other OS's don't lose anything they didn't already have now. > > But, given that this is a native support function, and they seem to be *ahem* > contriversal at beast, i figured it was prudent to discuss said > functionality here rather than actually cleaning up the code that I have no > idea if anyone wants :) > > - fish > > p.s. why not just change storeSize directly from the daemon? because it > doesn't know how big the store is in reality, and you need to take that into account > :) > > -- > I probably hate you.
-- Matthew J Toseland - [EMAIL PROTECTED] Freenet Project Official Codemonkey - http://freenetproject.org/ ICTHUS - Nothing is impossible. Our Boss says so.
pgp00000.pgp
Description: PGP signature
