Re: [9fans] file server design documentation

2012-12-22 Thread Charles Forsyth
I don't think either of those is a special rule, or undocumented.
Indeed, I can't think of any behaviour that isn't covered in section 5.

Following an attach, you're at the root, and a walk with no qids will
leave you there, so stat will just work,
although I don't know anything that relies on that.

Walk of .. in the root of a file system leaves you there (see walk(5)).

On 21 December 2012 18:23, steve st...@quintile.net wrote:
 the initial stat of a zero length name should return the Dir
 of the root dir.

 and a walk up to the root directory tells mount driver that
 you want to pass control back to the parent filesystem.



Re: [9fans] file server design documentation

2012-12-22 Thread erik quanstrom
 Following an attach, you're at the root, and a walk with no qids will
 leave you there, so stat will just work, although I don't know
 anything that relies on that.

cclone().

- erik



Re: [9fans] file server design documentation

2012-12-22 Thread Charles Forsyth
Sorry, I was unclear, I meant stat( ...)

On 22 December 2012 15:59, erik quanstrom quans...@quanstro.net wrote:
 , although I don't know
 anything that relies on that.