this patch courtesy of Latchezar Ionkov: 1. The second argument of the run command on line 235 should be f[0], not venti. 2. If f[1] contains '*' (like in tcp!*!17034), replace the '*' with 127.1 before setting 'venti' to f[1]. Reference: /n/sources/patch/applied/fossilboot Date: Mon Jan 17 16:46:59 CET 2005 --- /sys/src/9/boot/local.c Mon Jan 17 16:46:59 2005 +++ /sys/src/9/boot/local.c Mon Jan 17 16:46:59 2005 @@ -179,7 +179,7 @@ connectlocalfossil(void) { int fd; - char *venti, *f[32]; + char *venti, *f[32], *p; int nf; char partition[128], buf[512]; char *dev; @@ -232,7 +232,15 @@ f[2] = "tcp!127.1!8000"; } configloopback(); - run("/boot/venti", "-c", venti, "-a", f[1], "-h", f[2], 0); + run("/boot/venti", "-c", f[0], "-a", f[1], "-h", f[2], 0); + + p = strchr(f[1], '*'); + if (p != nil) { + *p = 0; + p++; + snprint(buf, sizeof buf, "%s127.1%s", f[1], p); + f[1] = buf; + } setenv("venti", f[1]); }else{ /* set up the network so we can talk to the venti server */