> sorry about the error, I have put a fix (untested, no time this morning)
> on /n/sources/9grid/Plan9.c
Thanks, but you forgot to put "int kidfds[3]" in, it seems.
===
void runit(void *ac) {
Client *c = ac;
:
int kidfds[3];
===
With this addition in Plan9.c, I was able to run xcpusrv on Plan 9
while /n/xcpu/0/arch always returns "linux". :)
By the way, tokenize() in runit() will abort if c->argv is nil.
You can do this by issuing "echo exec > ctl" without
"echo something > argv" done beforehand.
Oh, one more thing in xcpu.pdf.
There seems to be a typo in the example for setting up argv on p.12.
Next, argv:
for i in $NODES
do
echo date > /mnt/xcpu/0/xcpu/$i/exec&
done
wait
The file date is echoed should be argv, not exec.
--
"on travel, off the network ... and a fossil in my pocket"