From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Thu, 3 Feb 2011 08:40:33 -0500 To: 9fans@9fans.net Message-ID: <512ad6c2bdf084c42f2698e4e5e2db2b@coraid.com> In-Reply-To: References: <201102031245.33842.dexen.devries@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] files vs. directories Topicbox-Message-UUID: aa8deaa8-ead6-11e9-9d60-3106f5b1d025 On Thu Feb 3 08:39:20 EST 2011, rogpeppe@gmail.com wrote: > 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. offset tracking is different. - erik