Coda File System

Re: Error while creating rootvolume

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Tue, 14 Dec 1999 13:06:02 -0500
On Tue, Dec 14, 1999 at 11:22:06AM -0500, David Graff wrote:
> Jan is there someway that you could change this so that instead of just
> putting it into an endless sleep could you gracefully exit the program with
> a message on how to set it into the endless sleep (i.e. start with
> commandline flag or zero length file)?

Hi David,

Well, yes, but it would be rather useless for my purposes ;) A coredump
would either be too large as needs to dump the mmapped RVM, or would be
useless whenever it doesn't dump RVM data. And `silently exiting servers'
are almost as bad as sleeping ones, although a quick `ps' would reveal
that the server isn't running anymore

The coda_assert function is really quite flexible,

    int coda_assert_action = CODA_ASSERT_SLEEP;
    #define CODA_ASSERT_SLEEP       1
    #define CODA_ASSERT_EXIT        2
    #define CODA_ASSERT_ABORT       3
    #define CODA_ASSERT_CORE        3

Ok, done, set the default for codasrv to ASSERT_EXIT, and added a
-zombify flag. I've also placed a test in the startserver script for the
/vice/srv/ZOMBIFY file. Any suggestions for a better word to describe
this?

I really liked the couple of good tracebacks I got over the past year.
Oh well, such is life. Our `sleeping beauty' servers are one of the most
unexpected things for new users and maybe this will ease the
transitioning pains a bit.

Jan
Received on 1999-12-14 13:07:39