> always fails when using lib9p. i though i need to provide walk1 and
> clone to create
> directories that doesn't exists. Using the chatty option all messages are 
> walks
> when doing mkdirs abd when touching a file.

i don't believe that.  there should be Tcreate messages too.

/sys/src/lib9p/ramfs.c uses file/tree structures
(and allows creation of new files).  9p(2) says

          Create
               The create function must fill in both r->fid->qid and
               r->ofcall.qid on success.  When using file trees,
               create should allocate a new File with createfile; note
               that createfile may return nil (because, say, the file
               already exists).  If the create function is nil, srv
               behaves as though it were a function that always
               responded with the error ``create prohibited''.

russ

Reply via email to