> why is it walking there in the first place?  i might
> be able to understand fuse reading the top level
> directory.  but 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

Reply via email to