Re: [9fans] a 9P session between debian client and Plan 9 server side

2012-01-05 Thread Kin Loo
Now I start the server with -D flag and try ''echo hello >>foo" on Linux. The server side on Plan 9 say: <-5- Twalk tag 1 fid 408 newfid 437 nwname 1 0:foo -5-> Rwalk tag 1 nwqid 1 0:( 0 ) <-5- Tstat tag 1 fid 437 -5-> Rstat tag 1 stat 'foo' 'bootes' 'bootes' 'unkn

Re: [9fans] a 9P session between debian client and Plan 9 server side

2012-01-03 Thread andrey mirtchovski
You should add the '-d' flag which sets the chatty9p global variable to something greater than zero. chatty9p is documented in the man page for the 9p library. It will give you a full dump of everything that the linux side is trying to do. What's happening in your case is that you're using overwri

Re: [9fans] a 9P session between debian client and Plan 9 server side

2012-01-03 Thread Yaroslav
2012/1/3 Kin Loo : >   longy# aux/listen1 -tv tcp!*!1114 /bin/exportfs -S /srv/memfs & Try exportfs -d and check /tmp/exportdb for hints.

[9fans] a 9P session between debian client and Plan 9 server side

2012-01-03 Thread Kin Loo
Hi, this time I want to try a 9P session in debian. The following code is running at Plan 9 and file operations (cat, touch, echo>, and rm) for the Plan 9 client function as expected: #include #include #include #include #include #include <9p.h> typedef struct Ramfile Ramfile; struct Ramfile