The Grapevine Project

Anthony Jones ajones@clear.net.nz
Thu, 6 Dec 2001 11:18:59 +0800


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wes,

On Thursday 06 December 2001 10:14, you wrote:
> To put it a different way, what will a Grapevine node do when it gets a
> "disk full" error from the OS?
>
> Wes Felter - wesley@felter.org - http://felter.org/wesley/

There's two ways of looking at this question you've asked.  One is to say (a) 
"That's a really probing question that I don't have the answer to" and the 
other is to say (b) "What a bloody stupid question".

(a) "That's a really probing question that I don't have an answer to"

I don't think it's going to be a problem.  If you have any good suggestions 
then they are welcome.  If you have serious concerns for how much disk space 
Grapevine is going to require then you'll just have to wait and see like I'm 
going to do.

There will be a cache which has an adjustable size.  This could obviously be 
automatically changed should there be a shortage in disk space.

(b) "The answer to your question is - what a bloody stupid question" - John 
Pertwee (Dr. Who, Werzel Gummage) 1992

Perhaps something like:

  if (write(f, buf, len) != len) {
    fprintf(stderr, "Bugger!  We've run out of disk space.\n");
    exit(1);
  }

As I said before all programs require an amount of disk space.  I don't 
expect Grapevine's storage requirements to be excessive.  If you don't have 
enough disk space to install an application then you can't use it and all 
programs have to handle running out of disk space.  I don't see that 
Grapevine is any different. 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8DuOjCRhfPSc00WsRAunzAKCuRVjEo4cEnlDj+ge16YwnxJYb1wCfdYEV
D3lpfec/EQyGSi6N8GVWvEY=
=3i4E
-----END PGP SIGNATURE-----