On Tue, Mar 04, 2003 at 04:32:59PM -0800, Tracy R Reed wrote:
> On Tue, Mar 04, 2003 at 02:59:59PM +0000, Matthew Toseland spake thusly:
> > Okay, it seems my original idea isn't as widely usable as I had hoped.
> > So I have:
> 
> Regarding disk space management, is there any way for fred to know how
> full the current partition is? Not just how much space it is using for
> itself. I suspect not due to java and cross-platform issues. But in my
Nope. There is absolutely no way for java code to determine how much
disk space is available, apart from calling some sort of native code
helper. This is VERY annoying.

> view, disk space is like RAM. If it is empty it is wasted.  Cache
> something in it! Can fred be made to take, say, 75% (just to provide a
> large safe buffer, perhaps this should be configurable) of all the free
> disk space and monitor the disk space (a check once a minute would
> probably suffice) and shrink the store if it sees the system getting low
> or grow if it sees there is plenty of disk?  I currently have 30G free but
> it won't always be that way. Every so often I use LVM to resize the
> partition depending on my current disk space needs.
Only if somebody writes a helper app for the specific OS you want it to
run on.
> 
> -- 
> Tracy Reed      http://www.ultraviolet.org



-- 
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/r8qSQrzZG8I/
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/20030305/6330fa2b/attachment.pgp>

Reply via email to