* [9fans] puzzling 9P server / 9pcon interaction
@ 2015-03-31 23:23 Skip Tavakkolian
2015-04-01 14:03 ` Charles Forsyth
0 siblings, 1 reply; 3+ messages in thread
From: Skip Tavakkolian @ 2015-03-31 23:23 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 427 bytes --]
i'm trying to test a new 9P fs with 9pcon. after posting the file server's
fd to /srv, it can be mounted (e.g. mount /srv/foo /n/foo) and walked
correctly. trying 9pcon on the same fd (e.g. aux/9pcon /srv/foo) results
in "inappropriate use of fd".
any ideas? fyi, the 9p code is from scartch based on re-re-reading of
0intro(5) docs, so it is entirely possible i missed something subtle that
9pcon doesn't tolerate.
[-- Attachment #2: Type: text/html, Size: 530 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] puzzling 9P server / 9pcon interaction
2015-03-31 23:23 [9fans] puzzling 9P server / 9pcon interaction Skip Tavakkolian
@ 2015-04-01 14:03 ` Charles Forsyth
2015-04-01 18:37 ` Skip Tavakkolian
0 siblings, 1 reply; 3+ messages in thread
From: Charles Forsyth @ 2015-04-01 14:03 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 295 bytes --]
On 1 April 2015 at 00:23, Skip Tavakkolian <skip.tavakkolian@gmail.com>
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).
[-- Attachment #2: Type: text/html, Size: 596 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] puzzling 9P server / 9pcon interaction
2015-04-01 14:03 ` Charles Forsyth
@ 2015-04-01 18:37 ` Skip Tavakkolian
0 siblings, 0 replies; 3+ messages in thread
From: Skip Tavakkolian @ 2015-04-01 18:37 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 503 bytes --]
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 <charles.forsyth@gmail.com>
wrote:
>
> On 1 April 2015 at 00:23, Skip Tavakkolian <skip.tavakkolian@gmail.com>
> 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).
>
[-- Attachment #2: Type: text/html, Size: 1107 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-04-01 18:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-31 23:23 [9fans] puzzling 9P server / 9pcon interaction Skip Tavakkolian
2015-04-01 14:03 ` Charles Forsyth
2015-04-01 18:37 ` Skip Tavakkolian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).