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.