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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20030521/5a800f80/attachment.pgp>