From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <4e5118b000fadeed93db312154ee4575@ladd.quanstro.net> References: <80c99e791001240502v3e7c955ek130ded319bb03ef5@mail.gmail.com> <3e1162e61001241209j1593ad03m3183aae443427c92@mail.gmail.com> <26DD1048-064D-43D3-8C62-60450FD411A8@fastmail.fm> <80c99e791001270523i4b63f1easffb015894ec38cd4@mail.gmail.com> <967f8c7c0977f7a2ef9611430135b9b3@brasstown.quans> <4e5118b000fadeed93db312154ee4575@ladd.quanstro.net> Date: Wed, 27 Jan 2010 22:24:57 -0800 Message-ID: Subject: Re: [9fans] mount acme on plan9port From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: c99bb778-ead5-11e9-9d60-3106f5b1d025 > why is it walking there in the first place? =C2=A0i might > be able to understand fuse reading the top level > directory. =C2=A0but new isn't even at the top level. yes it is. /mnt/acme is the root, hence /mnt/acme/new is in the top level. ls -l /mnt/acme does a directory read to obtain just the names of the directory entries (that's all the unix interface allows) and then stats each file in the directory, which turns into a 9p walk+stat+clunk. if you ran ls -l /mnt/acme/* in plan 9 you'd get the same behavior. the difference is that 9p has optimized the star-free case in a way that unix cannot take advantage of. russ