Commit Diff


commit - 5547a835c9c5e7d710c97ac88660b461cc162a0a
commit + 10447aa751952b1c9a6d9bdc76b3781d24088458
blob - 7fc0e54679bf1a06fe4ab8322ab496b95199bfa6
blob + 38b7b58bde02104ee973c62ffad06b624ced330a
--- 9p.7
+++ 9p.7
@@ -264,6 +264,26 @@ determines the type of I/O:
 The returned
 .Ar iounit
 is the optimal blocksize for I/O.
+.It Ic create
+Create a file
+.Bd -literal
+fid[4] name[s] perm[4] mode[1]
+qid[13] iounit[4]
+.Ed
+.Pp
+The call attempts to create a file named
+.Ar name
+in the directory identified by
+.Ar fid
+according to
+.Ar perm
+and then to open it with
+.Ar mode
+into the given
+.Ar fid .
+.Pp
+It is illegal to use an already opened
+.Ar fid .
 .It Ic read
 Read data at offset from file
 .Bd -literal
@@ -330,6 +350,12 @@ group name
 .It muid[s]
 name of the user who last modified the file.
 .El
+.It Ic remove
+Remove a file
+.Bd -literal
+fid[4]
+.Aq empty response
+.Ed
 .El
 .Sh 9P2000.L EXTENSIONS
 .Xr kamid 8