* [9fans] Another 9P2000 question
@ 2007-04-11 2:38 Adriano Verardo
2007-04-11 2:51 ` Kris Maglione
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Adriano Verardo @ 2007-04-11 2:38 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 296 bytes --]
From a Plan9 box:
srv tcp!adri!12000 adri
mount /srv/adri /n/adri
cd /n/adri
lc
cd
unmount /n/adri
rm /srv/adri
In the attached log of the "adri" host I noted
Twalk messages with "lc" "ls" and "mc" wname[s]
values.
Are they normal or there is a bug in my server ?
Adriano
[-- Attachment #2: test9P_Plan9_cd.txt --]
[-- Type: text/plain, Size: 2739 bytes --]
-----------------------------------------
srv tcp!adri!12000 adri
-----------------------------------------
>>>> ENTER SERVER LOOP
-----------------------------------------
mount /srv/adri /n/adri
-----------------------------------------
>[ 19] Tversion: tag=65535, msize=8216, version='9P2000'
<[ 19] Rversion: tag=65535, msize=8216, version='9P2000'
>[ 22] Tauth: tag=2, afid=202, uname='adriano', aname=''
<[ 25] Rerror: tag=2, ename='no auth required'
>[ 26] Tattach: tag=2, fid=202, afid=-1, uname='adriano', aname=''
<[ 20] Rattach: tag=2, qid=[0000000000000111 0 (d)]
-----------------------------------------
cd /n/adri
-----------------------------------------
-----------------------------------------
lc
-----------------------------------------
>[ 21] Twalk: tag=2, fid=202, newfid=212, nwname=1 0:lc
<[ 34] Rerror: tag=2, ename='no such file or directory'
>[ 21] Twalk: tag=2, fid=202, newfid=214, nwname=1 0:ls
<[ 34] Rerror: tag=2, ename='no such file or directory'
>[ 21] Twalk: tag=1, fid=202, newfid=217, nwname=1 0:mc
<[ 34] Rerror: tag=1, ename='no such file or directory'
>[ 17] Twalk: tag=2, fid=202, newfid=200, nwname=0
<[ 9] Rwalk: tag=2, nwqid=0 FidTab=2/10000
>[ 11] Tstat: tag=2, fid=200 FidTab=2/10000
<[ 74] Rstat: tag=2, sz=65/63, type=0, dev=0, qid=[0000000000000111 0 (d)]
mode=0x800001B7=QT(DIR)667, at=0, mt=0
file='/', length=0
uid='adriano', gid='adriano', muid=''
>[ 11] Tclunk: tag=2, fid=200 FidTab=2/10000
<[ 7] Rclunk: tag=2, FidTab=1/10000
>[ 17] Twalk: tag=2, fid=202, newfid=200, nwname=0
<[ 9] Rwalk: tag=2, nwqid=0 FidTab=2/10000
>[ 12] Topen: tag=2, fid=200, mode=0x0=RD
<[ 24] Ropen: tag=2, qid=[0000000000000111 0 (d)], iounit=0
>[ 23] Tread: tag=2, fid=200, offset=0, count=8192
<[292] Rread: tag=2, count=281
E\0\0\0\0\0\0\0\0\0\0\0\0\32\1\0\0\0\0\0\0\37777777666\1\0\0\0
\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\7\0file_0a\7\0adriano\7\0adr
>[ 23] Tread: tag=2, fid=200, offset=281, count=8192
<[ 11] Rread: tag=2, count=0
>[ 11] Tclunk: tag=2, fid=200 FidTab=2/10000
<[ 7] Rclunk: tag=2, FidTab=1/10000
-----------------------------------------
cd
-----------------------------------------
-----------------------------------------
unmount /n/adri
-----------------------------------------
>[ 11] Tclunk: tag=1, fid=202 FidTab=1/10000
<[ 7] Rclunk: tag=1, FidTab=0/10000
-----------------------------------------
rm /srv/adri
-----------------------------------------
>>>> SERVER EXIT
-----------------------------------------
END OF TEST
-----------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] Another 9P2000 question
2007-04-11 2:38 [9fans] Another 9P2000 question Adriano Verardo
@ 2007-04-11 2:51 ` Kris Maglione
2007-04-11 2:57 ` erik quanstrom
2007-04-11 3:00 ` Russ Cox
2 siblings, 0 replies; 5+ messages in thread
From: Kris Maglione @ 2007-04-11 2:51 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 296 bytes --]
On Wed, Apr 11, 2007 at 04:38:36AM +0200, Adriano Verardo wrote:
>In the attached log of the "adri" host I noted
>Twalk messages with "lc" "ls" and "mc" wname[s]
>values.
Bad timing. See my posting to the other thread.
--
Kris Maglione
Old programmers never die - they just abend.
[-- Attachment #2: Type: application/pgp-signature, Size: 194 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] Another 9P2000 question
2007-04-11 2:38 [9fans] Another 9P2000 question Adriano Verardo
2007-04-11 2:51 ` Kris Maglione
@ 2007-04-11 2:57 ` erik quanstrom
2007-04-11 3:00 ` Russ Cox
2 siblings, 0 replies; 5+ messages in thread
From: erik quanstrom @ 2007-04-11 2:57 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 92 bytes --]
it doesn't look crazy. is there anything in particular that looks wrong to you?
- erik
[-- Attachment #2: Type: message/rfc822, Size: 6393 bytes --]
[-- Attachment #2.1.1: Type: text/plain, Size: 296 bytes --]
From a Plan9 box:
srv tcp!adri!12000 adri
mount /srv/adri /n/adri
cd /n/adri
lc
cd
unmount /n/adri
rm /srv/adri
In the attached log of the "adri" host I noted
Twalk messages with "lc" "ls" and "mc" wname[s]
values.
Are they normal or there is a bug in my server ?
Adriano
[-- Attachment #2.1.2: test9P_Plan9_cd.txt --]
[-- Type: text/plain, Size: 2739 bytes --]
-----------------------------------------
srv tcp!adri!12000 adri
-----------------------------------------
>>>> ENTER SERVER LOOP
-----------------------------------------
mount /srv/adri /n/adri
-----------------------------------------
>[ 19] Tversion: tag=65535, msize=8216, version='9P2000'
<[ 19] Rversion: tag=65535, msize=8216, version='9P2000'
>[ 22] Tauth: tag=2, afid=202, uname='adriano', aname=''
<[ 25] Rerror: tag=2, ename='no auth required'
>[ 26] Tattach: tag=2, fid=202, afid=-1, uname='adriano', aname=''
<[ 20] Rattach: tag=2, qid=[0000000000000111 0 (d)]
-----------------------------------------
cd /n/adri
-----------------------------------------
-----------------------------------------
lc
-----------------------------------------
>[ 21] Twalk: tag=2, fid=202, newfid=212, nwname=1 0:lc
<[ 34] Rerror: tag=2, ename='no such file or directory'
>[ 21] Twalk: tag=2, fid=202, newfid=214, nwname=1 0:ls
<[ 34] Rerror: tag=2, ename='no such file or directory'
>[ 21] Twalk: tag=1, fid=202, newfid=217, nwname=1 0:mc
<[ 34] Rerror: tag=1, ename='no such file or directory'
>[ 17] Twalk: tag=2, fid=202, newfid=200, nwname=0
<[ 9] Rwalk: tag=2, nwqid=0 FidTab=2/10000
>[ 11] Tstat: tag=2, fid=200 FidTab=2/10000
<[ 74] Rstat: tag=2, sz=65/63, type=0, dev=0, qid=[0000000000000111 0 (d)]
mode=0x800001B7=QT(DIR)667, at=0, mt=0
file='/', length=0
uid='adriano', gid='adriano', muid=''
>[ 11] Tclunk: tag=2, fid=200 FidTab=2/10000
<[ 7] Rclunk: tag=2, FidTab=1/10000
>[ 17] Twalk: tag=2, fid=202, newfid=200, nwname=0
<[ 9] Rwalk: tag=2, nwqid=0 FidTab=2/10000
>[ 12] Topen: tag=2, fid=200, mode=0x0=RD
<[ 24] Ropen: tag=2, qid=[0000000000000111 0 (d)], iounit=0
>[ 23] Tread: tag=2, fid=200, offset=0, count=8192
<[292] Rread: tag=2, count=281
E\0\0\0\0\0\0\0\0\0\0\0\0\32\1\0\0\0\0\0\0\37777777666\1\0\0\0
\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\7\0file_0a\7\0adriano\7\0adr
>[ 23] Tread: tag=2, fid=200, offset=281, count=8192
<[ 11] Rread: tag=2, count=0
>[ 11] Tclunk: tag=2, fid=200 FidTab=2/10000
<[ 7] Rclunk: tag=2, FidTab=1/10000
-----------------------------------------
cd
-----------------------------------------
-----------------------------------------
unmount /n/adri
-----------------------------------------
>[ 11] Tclunk: tag=1, fid=202 FidTab=1/10000
<[ 7] Rclunk: tag=1, FidTab=0/10000
-----------------------------------------
rm /srv/adri
-----------------------------------------
>>>> SERVER EXIT
-----------------------------------------
END OF TEST
-----------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] Another 9P2000 question
2007-04-11 2:38 [9fans] Another 9P2000 question Adriano Verardo
2007-04-11 2:51 ` Kris Maglione
2007-04-11 2:57 ` erik quanstrom
@ 2007-04-11 3:00 ` Russ Cox
2007-04-11 3:25 ` Adriano Verardo
2 siblings, 1 reply; 5+ messages in thread
From: Russ Cox @ 2007-04-11 3:00 UTC (permalink / raw)
To: 9fans
> In the attached log of the "adri" host I noted
> Twalk messages with "lc" "ls" and "mc" wname[s]
> values.
>
> Are they normal or there is a bug in my server ?
They are normal. The default path in rc is (. /bin)
so if you type lc in /n/adri, first rc looks for lc
in that directory, then /bin/lc.
Russ
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] Another 9P2000 question
2007-04-11 3:00 ` Russ Cox
@ 2007-04-11 3:25 ` Adriano Verardo
0 siblings, 0 replies; 5+ messages in thread
From: Adriano Verardo @ 2007-04-11 3:25 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Ah ... ok. Thank you very much.
Adriano
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-04-11 3:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-11 2:38 [9fans] Another 9P2000 question Adriano Verardo
2007-04-11 2:51 ` Kris Maglione
2007-04-11 2:57 ` erik quanstrom
2007-04-11 3:00 ` Russ Cox
2007-04-11 3:25 ` Adriano Verardo
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).