From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 1 Apr 2015 11:37:07 -0700 Message-ID: From: Skip Tavakkolian To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a1134a6169e65f10512ae0093 Subject: Re: [9fans] puzzling 9P server / 9pcon interaction Topicbox-Message-UUID: 4c84cb0e-ead9-11e9-9d60-3106f5b1d025 --001a1134a6169e65f10512ae0093 Content-Type: text/plain; charset=UTF-8 Thanks Charles. i had looked at /sys/src/9/port/sysfile.c, but couldn't quite connect the dots. On Wed, Apr 1, 2015 at 7:03 AM, Charles Forsyth wrote: > > On 1 April 2015 at 00:23, Skip Tavakkolian > wrote: > >> trying 9pcon on the same fd (e.g. aux/9pcon /srv/foo) results in >> "inappropriate use of fd". > > > You aren't allowed to read or write an fd directly once it has been used > for 9P traffic by mount (devmnt). > --001a1134a6169e65f10512ae0093 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks Charles. =C2=A0i had looked at =C2=A0/sys/src/9/por= t/sysfile.c, but couldn't quite connect the dots.

On Wed, Apr 1, 2015 at 7:03 AM, C= harles Forsyth <charles.forsyth@gmail.com> wrote:

On 1 April 2015 at 00:23, = Skip Tavakkolian <skip.tavakkolian@gmail.com> wrote= :
=C2=A0trying 9pcon on the same fd (e.g.= aux/9pcon /srv/foo) results in "inappropriate use of fd".

You aren't allowed to read or write an fd direct= ly once it has been used for 9P traffic by mount (devmnt).

--001a1134a6169e65f10512ae0093--