btw, this 'unkown mode' -- what is all this you wonder?
what's
p9_errstr2errno: errstr :unknown mode: not found
Not found? Huh? This is the errstr (from plan 9) to errno (for
ancient, primitive OSes that don't have errstr, i.e. 'all of them').
I see in fossil/9p.c this for create:
if(omode == OREAD || omode == ORDWR || omode == OEXEC)
open |= FidORead;
if(omode == OWRITE || omode == ORDWR)
open |= FidOWrite;
if((open & (FidOWrite|FidORead)) == 0){
vtSetError("unknown mode");
goto error;
}
Or this for open:
if((open & (FidOWrite|FidORead)) == 0){
vtSetError("unknown mode");
goto error;
}
So, seems linux client is sending bad omode?
we sure could use that trace.
ron