summaryrefslogtreecommitdiff
path: root/lib9p/9P2000.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lib9p/9P2000.txt')
-rw-r--r--lib9p/9P2000.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib9p/9P2000.txt b/lib9p/9P2000.txt
index ab898ec..5302f2b 100644
--- a/lib9p/9P2000.txt
+++ b/lib9p/9P2000.txt
@@ -90,7 +90,7 @@ bitfield qt 8
qid = "type[qt] vers[4] path[8]"
# stat (TODO)
-stat = "stat_size[2]"
+stat = "stat_size[2,val=end-&kern_type]"
"kern_type[2]"
"kern_dev[4]"
"file_qid[qid]"
@@ -150,6 +150,6 @@ bitfield o 8
122/Tremove = "fid[4]"
123/Rremove = ""
124/Tstat = "fid[4]"
-125/Rstat = "stat[stat]"
-126/Twstat = "fid[4] stat[stat]"
+125/Rstat = "nstat[2,val=end-&stat] stat[stat]" # See the "BUG" note in the RFC for the nstat field
+126/Twstat = "fid[4] nstat[2,val=end-&stat] stat[stat]" # See the "BUG" note in the RFC for the nstat field
127/Rwstat = ""