[freenet-dev] New Java 1.6 APIs for disk space

toad toad at amphibian.dyndns.org
Wed Dec 13 17:13:22 UTC 2006


There are some interesting new APIs in java 1.6...

Are the java 1.6 disk space APIs (File.getFreeSpace, File.getTotalSpace, 
combined with the pre-existing File.listRoots) of any use in making the
node more user friendly? What could we do with them?
- storeSize=10% [ of available disk space ]
-- maybe as default ?
--- maybe in the installer ?
- accurately diagnose when faults are due to lack of disk space, and warn
  the user
- anything else?

These should be fairly trivial for Classpath to implement, so the fact
that they are new doesn't mean we shouldn't use them. Fred should be able
to work without them however (and not provide the above functionality).

https://bugs.freenetproject.org/view.php?id=1002
https://bugs.freenetproject.org/view.php?id=1001
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://emu.freenetproject.org/pipermail/devl/attachments/20061213/18890e74/attachment.pgp 


More information about the Devl mailing list