* [9fans] discrepency between plan9 and ixpc
@ 2012-01-21 21:41 Eli Cohen
2012-01-21 22:48 ` Anthony Martin
0 siblings, 1 reply; 3+ messages in thread
From: Eli Cohen @ 2012-01-21 21:41 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 660 bytes --]
hello everyone, i have been working on a 9P arduino library. it works now
with ixpc from libixp, modified slightly to communicate over the serial
port:
> ixpc ls /
arductl
ardudata
however, i am getting this on plan9:
% echo b115200 > /dev/eiaU0/eiaUctl
% mount -ncC /dev/eiaU0/eiaU /n/anything
% ls /n/anything
anything
the output of ls is just whatever directory i mount it in, though accessing
arductl and ardudata works fine despite their absence from the directory
listing.
anyone have any ideas what i might be doing wrong?
the source code is at https://github.com/echoline/NinePea
ps.
and sorry for calling you a grinch
[-- Attachment #2: Type: text/html, Size: 778 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] discrepency between plan9 and ixpc
2012-01-21 21:41 [9fans] discrepency between plan9 and ixpc Eli Cohen
@ 2012-01-21 22:48 ` Anthony Martin
2012-01-22 2:13 ` Eli Cohen
0 siblings, 1 reply; 3+ messages in thread
From: Anthony Martin @ 2012-01-21 22:48 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Eli Cohen <echoline@gmail.com> once said:
> % echo b115200 > /dev/eiaU0/eiaUctl
> % mount -ncC /dev/eiaU0/eiaU /n/anything
> % ls /n/anything
> anything
>
> the output of ls is just whatever directory i mount it in, though accessing
> arductl and ardudata works fine despite their absence from the directory
> listing.
>
> anyone have any ideas what i might be doing wrong?
>
> the source code is at https://github.com/echoline/NinePea
Without looking at the code it sounds like
you're not getting the Rstat correct. Does
the root qid return "/" for the stat name?
You can use iostats(4) to help investigate.
Cheers,
Anthony
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] discrepency between plan9 and ixpc
2012-01-21 22:48 ` Anthony Martin
@ 2012-01-22 2:13 ` Eli Cohen
0 siblings, 0 replies; 3+ messages in thread
From: Eli Cohen @ 2012-01-22 2:13 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 812 bytes --]
On Jan 21, 2012 2:50 PM, "Anthony Martin" <ality@pbrane.org> wrote:
>
> Eli Cohen <echoline@gmail.com> once said:
> > % echo b115200 > /dev/eiaU0/eiaUctl
> > % mount -ncC /dev/eiaU0/eiaU /n/anything
> > % ls /n/anything
> > anything
> >
> > the output of ls is just whatever directory i mount it in, though
accessing
> > arductl and ardudata works fine despite their absence from the directory
> > listing.
> >
> > anyone have any ideas what i might be doing wrong?
> >
> > the source code is at https://github.com/echoline/NinePea
>
> Without looking at the code it sounds like
> you're not getting the Rstat correct. Does
> the root qid return "/" for the stat name?
>
> You can use iostats(4) to help investigate.
>
> Cheers,
> Anthony
>
thanks! that let me resolve the issue.
[-- Attachment #2: Type: text/html, Size: 1200 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-01-22 2:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-21 21:41 [9fans] discrepency between plan9 and ixpc Eli Cohen
2012-01-21 22:48 ` Anthony Martin
2012-01-22 2:13 ` Eli Cohen
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).