Okay, it seems my original idea isn't as widely usable as I had hoped.
So I have:
* Added a new parameter, tempInStore. Defaults to false.
config.longDesc ("tempInStore", "If true, temp space counts as part of
the datastore for space accounting purposes. This means that freenet
will never use significantly more disk space than the configured
storeSize (ignoring space used for log files and routing table files),
but it also means that if you have a small store you may not be able to
download large files.");

* If tempInStore is on, and tempDir is unset, then fred will use
  store/temp
* If tempInStore is off, and tempDir is unset, then fred will use
  routingDir/client-temp (routingDir is where the rt_* files go, it
  defaults to the parent dir of storeFile). There will still be a temp
  dir in the datastore, which is still accounted as part of the
  datastore, but this is only for files in transit through the node,
  that have not been committed yet.

Does this seem reasonable to everyone?
-- 
Matthew Toseland
toad at amphibian.dyndns.org/amphibian at users.sourceforge.net
Full time freenet hacker.
http://freenetproject.org/
Freenet Distribution Node (temporary) at 
http://80-192-4-23.cable.ubr09.na.blueyonder.co.uk:8889/HqU2eoSe534/
ICTHUS.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20030304/835cef86/attachment.pgp>

Reply via email to