From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 4 Oct 2009 09:30:01 -0700 Message-ID: <13426df10910040930i48221de1mc9c5cced7d87fcc5@mail.gmail.com> From: ron minnich To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] replica under 9vx Topicbox-Message-UUID: 7d4c3834-ead5-11e9-9d60-3106f5b1d025 On Sun, Oct 4, 2009 at 8:22 AM, erik quanstrom wrot= e: >> 13293 mkdir("/mnt/sdb1/tc/plan9/9vx-0.12/sys/lib/texmf/bibtex/bst", 0) >> =3D -1 EACCES (Permission denied) >> > > perhaps replica is expecting specific error messages > and they're not getting translated > > ; cd /n/sources/plan9/`{pwd} > ; g strstr > applylog.c:161: =A0 =A0 =A0 =A0 if(strstr(buf, "entry not found") || strs= tr(buf, "not exist")) > applylog.c:1036: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0if(strstr(err, "permissio= n") =3D=3D nil) > updatedb.c:107: =A0 =A0 =A0 =A0 p =3D strstr(msg, ": "); > updatedb.c:123: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 if(cistrstr(p, "hungup") = || cistrstr(p, "Hangup") > updatedb.c:124: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 || cistrstr(p, "rpc error= ") > updatedb.c:125: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 || cistrstr(p, "shut down= ") > updatedb.c:126: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 || cistrstr(p, "i/o") > updatedb.c:127: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 || cistrstr(p, "connectio= n")) Even if this is not it, you raise a possible issue: for things like devfs-posix.c we may need to map error strings as in the previous patch for oserror(). I just looked for strcmp in the kernel ... OK, good point, I'll look at this later. I don't see this explaining a mkdir with mode of 0 however. ron