From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <3AE164B0-1269-42AA-972F-6D49CD7C1642@quintile.net> References: <3AE164B0-1269-42AA-972F-6D49CD7C1642@quintile.net> Date: Sat, 22 Dec 2012 10:35:36 +0000 Message-ID: From: Charles Forsyth To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] file server design documentation Topicbox-Message-UUID: f937169c-ead7-11e9-9d60-3106f5b1d025 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 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.