commit - 5ab506856b61d39080358b4f16380bee598ef06b
commit + 3756a3dfdf91085fe9a25ae02c36d5d1e57f0d47
blob - c4465ba46b47865e661775d0e5f0d04bb5edec80
blob + 8b748a3f3400c27780c514ffc9d755a3afe5a6e6
--- 9p.7
+++ 9p.7
the message.
.Pp
The message types are as follows:
+.Pq the header was removed for brevity
.Bl -tag -width versionxx
.It Ic version
Negotiate the version and maximum message size.
.Bd -literal
-len[4] Tversion tag[2] msize[4] version[s]
-len[4] Rversion tag[2] msize[4] version[s]
+msize[4] version[s]
+msize[4] version[s]
.Ed
.Pp
The
.It Ic attach
Populate the namespace
.Bd -literal
-len[4] Tattach tag[2] fid[4] afid[4] uname[s] aname[s]
-len[4] Rattach tag[2] qid[13]
+fid[4] afid[4] uname[s] aname[s]
+qid[13]
.Ed
.It Ic clunk
Close fids.
.Bd -literal
-len[4] Tclunk tag[2] fid[4]
-len[4] Rclunk tag[2]
+fid[4]
+.Aq empty response
.Ed
.It Ic error
Return an error string
.Bd -literal
-len[4] Rerror tag[2] ename[s]
+ename[s]
.Ed
.Pp
The Rerror message is used to return an error string describing the
failure of a request.
+The
.Cm tag
indicates the failed request.
-Note that there isn't a Terror, and it's not possible for a server to
-reply to a
+Note that there isn't a
+.Ic Terror
+request and it's not possible for a
+server to reply to a
.Ic Tversion
-using Rerror.
+using
+.Ic Rerror .
.It Ic flush
Abort an ongoing operation.
.Bd -literal
-len[4] Tflush tag[2] oldtag[2]
-len[4] Rflush tag[2]
+oldtag[2]
+.Aq empty response
.Ed
.It Ic walk
Traverse a file tree.
.Bd -literal
-len[4] Twalk tag[2] fid[4] newfid[4] nwname[2] nwname*(wname[s])
-len[4] Rwalk tag[2] nwqid[2] nwqid*(qid[13])
+fid[4] newfid[4] nwname[2] nwname*(wname[s])
+nwqid[2] nwqid*(qid[13])
.Ed
.El
.Sh SEE ALSO