Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1066)

Issue 151052: 9pserve: translate msgs to .u (Tauth/attach/create)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 4 months ago by knieriem
Modified:
8 years, 7 months ago
Reviewers:
Visibility:
Public.

Description

Related to issue http://bitbucket.org/rsc/plan9port/issue/38/ This patch tries to make 9pserve work again with 9P2000 clients, in case the server handled by 9pserve expects 9P2000.u. (Since changeset http://bitbucket.org/rsc/plan9port/changeset/d9843471f0bc/ servers using srv() stop communicating after they received a 9P2000 msg that has a different .u definition.) Tattach, Tauth and Tcreate 9P2000 messages will be translated now, if neccessary, to 9P2000.u by growing them to the new size, and providing the missing (default) values. The code of the first two message types has been tested with drawterm on linux (dialing factotum), and mounts from within 9vx to plan9port's factotum and dossrv. The code for Tcreate couldn't be tested due to lack of file servers both speaking 9P2000.u and allowing file creation.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -0 lines) Patch
M src/cmd/9pserve.c View 4 chunks +53 lines, -0 lines 0 comments Download

Messages

Total messages: 7
knieriem
14 years, 4 months ago (2009-11-07 15:50:55 UTC) #1
rsc
*** Submitted as e294e83817ff *** Related to issue http://bitbucket.org/rsc/plan9port/issue/38/ This patch tries to make 9pserve ...
14 years, 4 months ago (2009-11-30 20:39:57 UTC) #2
rsc
14 years, 4 months ago (2009-12-02 10:04:50 UTC) #3
rsc
I reverted this change, because it broke ssh-agent talking to factotum. The ssh-agent (using lib9pclient) ...
14 years, 3 months ago (2009-12-10 09:55:47 UTC) #4
mteichgraeber
> I reverted this change, because it broke ssh-agent talking to factotum. > The ssh-agent ...
14 years, 3 months ago (2009-12-10 17:09:02 UTC) #5
knieriem
After temporarily changing my account name to "rsc" to make sure not to miss something ...
14 years, 3 months ago (2009-12-11 11:26:57 UTC) #6
rsc
13 years, 3 months ago (2010-12-07 18:17:59 UTC) #7
no longer necessary; deleting .u
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b