From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <201102031245.33842.dexen.devries@gmail.com> References: <201102031245.33842.dexen.devries@gmail.com> Date: Thu, 3 Feb 2011 13:36:40 +0000 Message-ID: From: roger peppe To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] files vs. directories Topicbox-Message-UUID: aa7a0ca4-ead6-11e9-9d60-3106f5b1d025 On 3 February 2011 11:45, dexen deVries wrote: > read(open("/foo")) returns byte stream under entry `foo' in the root object. > > readdir("/foo") returns `bar' (and possibly others) -- entries in hierarchical > section of object `/foo'. there's no distinction between readdir and read in plan 9.